| || |
Script doesnt get execute while retrieving data
Iam using QTP tool from couple of days.Can u please give me some inputs related to my problem.
a) My Script sometimes stuckup while retrieving data from input file.Some times i see a message "Break" on QTP Window.
B) 2 Browsers are identified with the same name.How should we handle this
ex:In "Superpages.comirectory" browser we click on register link.
In "Superpages.com:Registration" browser we enter the details to get registered.
But QTP identifies this browser also as "Superpages.comirectory".
Const INP_FILE = "C:\QTPScripts\MyDirectory\MyDirRegistrationForm\R egistration.xls"
Dim Url,your_name,zip,email,password,confirmpassword,q uestion,answer
Browser("SuperPages.com: My Directory").Navigate Url
Browser("SuperPages.com: My Directory").Page("SuperPages.com: My Directory").Link("Register").Click
Browser("SuperPages.com: My Directory").Page("SuperPages.com: Registration").WebEdit("FULLNAME").Set your_name
Browser("SuperPages.com: My Directory").Page("SuperPages.com: Registration").WebButton("Create Profile").Click
Note:Script always get stuckup in the first line only.
Thanks in Advance
Re: Script doesnt get execute while retrieving data
If you've only been using QTP for a couple of days, it's important to go through the tutorial. That will help you sort out most of your issues right away.
It may help you to be more specific when posting an issue to the forum. What exactly do you mean by "stuckup?" Is there an error message? What does it say, exactly?
I suggest breaking your question up into at least two parts. Your A and your B seem like separate issues.