![]() |
| |||||||
Testing Anywhere Post messages and questions related to Testing Anywhere here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
Hi Friends, I an facing a weird problem. i am trying launch an application by executing an .exe file. below is the code. open "S:\Test1\MCS\mobilecontracting.exe" Activate Window: "Open File - Security Warning" Click On Command Button : "Run" in Window : "Open File - Security Warning" During execution, at line1 it opens an exe file. but it hangs at this stage(line1) only. it does not activate the winodw nor click on Run button. For second time execution, Opened the exe file manually, commented line1 and executed from line2, which works fine. Where could be the problem, Please suggest. Thanks in advance Anita |
| |||
|
No Luck. I tried by inserting 5 sec delay. As it is hanging at line1, it may not get affected by delay in line2. And i am facing this issue for both the applications for which i have created Invoke application test. -Anita |
| |||
|
Hello Anita, Instead of using: "Activate Window: "Open File - Security Warning" Click On Command Button : "Run" in Window : "Open File - Security Warning" Try using: Inserting Keystroke for clicking on the "Run" command button in the Window : "Open File - Security Warning" There is no need of activating the window as the window activates automatically when it is opened. Please let us know in case you face any issues. Thanks & Regards |
| |||
|
Hello Anita, Would it be fine if one of our Automation Expert gives you a call and can have an online meeting with you. In that case we can deliver a proper solution for the issue that you are facing. Please let us know. Thanks & Regards. |
| |||
|
Thanks a lot for your support. I had online demo with one of the automation testing support team member. As per them, 'Open Program\File' failing to lauch the application, because my application launch requires to perform 2 actions. Action1: Click on on the .exe file Action2: Click on Run button of the security window So it would have worked if clicking on .exe itself, opens the application. -Anita |
![]() |
| Thread Tools | |
| Display Modes | |
| |