Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP carshes while running the script.
#1
Not Solved
I have a AIR project which has automated. I recorded a test using QTP. But while running the test it gets hanged once 75% of script has run.
Here is the code:
Code:
Window("VLE").Click 386,178
Window("VLE").AirApplication("iLM").AirForm("LoginForm").AirTextArea("User ID::username").SelectText 0,0
Window("VLE").Type "user"
Window("VLE").Click 375,201
Window("VLE").AirApplication("iLM").AirForm("LoginForm").AirTextArea("User ID::username").Input "user"
Window("VLE").AirApplication("iLM").AirForm("LoginForm").AirTextArea("Password::password").SelectText 0,0
Window("VLE").Type "user"
Window("VLE").Click 376,286
[color=#1E90FF]Window("VLE").AirApplication("iLM").AirForm("LoginForm").AirTextArea("Password::password").Input "user"[/color]
Window("VLE").AirApplication("iLM").AirButton("Login").Click
Window("VLE").Click 967,35
Window("VLE").AirApplication("iLM").AirLabel("Sign Out").Click

I use QTP 9.2. Also, while recording I used the following plug-ins. ActiveX, AIR1.0.0 and Flex 4.0.0.

By the time it has reached the highlighted text, Login button has also pressed in the application. After that it gets hanged. Why it is so? I am very new to QTP. Please somebody explain me.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  UFT Script running twice SacJoshi 0 2,067 11-11-2016, 01:51 PM
Last Post: SacJoshi
  AOM script is running only one or two scripts. jramya 4 3,824 07-24-2014, 06:15 PM
Last Post: jramya
  Text field with red cross when running script jrnicl3 0 1,828 03-06-2014, 09:22 PM
Last Post: jrnicl3
Exclamation Error in QTP Running shubheksh 5 7,775 05-08-2012, 10:23 AM
Last Post: sshukla12
  IE gets Launched While Running any Script bhawin 1 2,131 12-21-2011, 05:15 PM
Last Post: PrabhatN

Forum Jump:


Users browsing this thread: 1 Guest(s)