Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. Forums > Products Zone > Testing Anywhere
Register FAQ Search Today's Posts Mark Forums Read

Testing Anywhere Post messages and questions related to Testing Anywhere here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-07-2011, 04:30 AM
Anita Anita is offline
Junior Member
 
Join Date: Mar 2011
Posts: 22
Default Test execution hangs on launching the .exe

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
Reply With Quote
  #2 (permalink)  
Old 04-07-2011, 03:46 PM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

Hello Anita,

If you can try inserting delay of about 2-3 seconds between line number 1 and 2.

Thanks & Regards
Reply With Quote
  #3 (permalink)  
Old 04-08-2011, 02:45 AM
Anita Anita is offline
Junior Member
 
Join Date: Mar 2011
Posts: 22
Default

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
Reply With Quote
  #4 (permalink)  
Old 04-08-2011, 02:53 PM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

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
Reply With Quote
  #5 (permalink)  
Old 04-11-2011, 12:53 AM
Anita Anita is offline
Junior Member
 
Join Date: Mar 2011
Posts: 22
Default

Hi,
I tried the keystroke option also. but dint work.
Steps:
1.Open application.
2.Keystrokes:[LEFT ARROW][Enter] ....
as by default Cancel button is enabled

-Anita
Reply With Quote
  #6 (permalink)  
Old 04-11-2011, 04:11 PM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

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.
Reply With Quote
  #7 (permalink)  
Old 04-13-2011, 11:56 PM
Anita Anita is offline
Junior Member
 
Join Date: Mar 2011
Posts: 22
Default

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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -7. The time now is 02:46 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2011 Automation Anywhere, Inc. All rights reserved