Highlighted
syedMA Absent Member.
Absent Member.
1236 views

Embedded Window

Hello,

we are automating a sequence, where we have an embedded window (dialogBox) in FireFox. this widow is a result of an action like "Save As". where we need to save the utility/exe to local Disk. Silk test is not able to recognize the window/dialogbox.

here is a spinet for the code, which is use to click save File to local disk,

Desktop.Find ("//BrowserApplication//MainWin//PushButton[@caption='Save File']").Click ()

the above code is very much in-consistent to click (), when we tried to create a Mainwin dialog box declaration it fails to recognize.

appreciate, if any pointer can make it work.

thanks

Syed

0 Likes
3 Replies
Ulrich_Kroemer Absent Member.
Absent Member.

RE: Embedded Window

hi,

maybe that window is launched in an external process which is not automatically hooked by silktest. did you try adding an application configuration for the subprocess manually?

kind regards,

ulrich

0 Likes
syedMA Absent Member.
Absent Member.

RE: Embedded Window

Hi Ulrich,

i tried to application configuration, but it not help much,

Desktop.Find ("//BrowserApplication//MainWin//PushButton[@caption='Save File']").Click ()

some time work but it is very much inconsistent. even tied to create a OA based declaration, on IE we do not see the "Save File" button. since FireFox is preferred browser for automation.

regards

Syed

0 Likes
rpflynn Absent Member.
Absent Member.

RE: Embedded Window

My team has seen inconsistencies in script execution based on the Options settings.  In particular with the capturing of screenshots in the Playback settings.  May be worth a try to turn off capturing screenshots in the results.  There are also Timing settings that we've had to adjust.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.