Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Run QTP scripts Different URLs
#1
Not Solved
Hi,
I am new to QTP
I have recorded QTP scripts on one URL.ex : auto-ustage.com. Now I have to execute the same scripts on different URL ex: a1.ustage.com. Since there are so many scripts and it is difficult to change the Object repository for each and every script. Looks like if I use Descriptive I have to change line by line,. Please suggest me any other way.

Code:
Browser("ABC@http://auto-ustage.com").Page("ABC@http://auto-ustage.com").WebEdit("username").Set  adminlogon
  Browser("ABC@http://auto-ustage.com").Page("ABC@http://auto-ustage.com").WebEdit("password").SetSecure 123123
  Browser("ABC@http://auto-ustage.com").Page("ABC@http://auto-ustage.com").WebButton("Login").Click
Now I have to run on a1.ustage.com browser URL.
Please help. Thanks,
shiran
Reply


Messages In This Thread
Run QTP scripts Different URLs - by shiran - 07-15-2008, 11:14 PM
RE: Run QTP scripts Different URLs - by niranjan - 07-16-2008, 07:34 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)