02-22-2011, 11:32 PM
(This post was last modified: 02-24-2011, 01:16 PM by vibhakhushi.)
hello, i have automated AIR application. The script goes like this...
This is the VB Script generated. Although its identifying the TextArea, its identifying the click for the TextArea seperately. Can somebody please explain me why its happening so? When I re-run the same script, it gets hanged at the line
It inputs UserID and password properly. After that QTP hangs.
Thanks in advance. Waiting for a reply.
Code:
Window("VLE").Activate
[color=#00BFFF]Window("VLE").Click 375,170
Window("ViLE").AirApplication("iLM").AirForm("form").AirTextArea("User ID::username").SelectText 0,0
Window("VLE").Type "user"[/color]
Window("VLE").Click 384,201
Window("VLE").AirApplication("iLM").AirForm("form").AirTextArea("User ID::username").Input "user"
Window("VLE").AirApplication("iLM").AirForm("form").AirTextArea("Password::password").SelectText 0,0
Window("VLE").Type "user"
Window("VLE").Click 382,279
Window("VLE").AirApplication("iLM").AirForm("form").AirTextArea("Password::password").Input "user"
Window("VLE").AirApplication("iLM").AirButton("Login").Click
Window("VLE").Click 956,35
This is the VB Script generated. Although its identifying the TextArea, its identifying the click for the TextArea seperately. Can somebody please explain me why its happening so? When I re-run the same script, it gets hanged at the line
Code:
"Window("VLE").AirApplication("iLM").AirForm("form").AirTextArea("Password::password").Input "user""
It inputs UserID and password properly. After that QTP hangs.
Thanks in advance. Waiting for a reply.