Micro Focus QTP (UFT) Forums

Full Version: QTP not identifying the TextArea and Buttons properly.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello, i have automated AIR application. The script goes like this...

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.