Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change domain in checkpoint to make script run in other environment?

Status
Not open for further replies.

tina123456

Technical User
Apr 17, 2008
1
CA
Hi,

I am new to QTP. I record the script on the development environment and want to run on QA, which has a different domain. The script has checkpoints to check links on the page. The checkpoints always fail because the expected results of the href of the links have different domain than the actual ones. Is there a way to solve the problem? I really appreciate you help.

Thanks,
Tina
 
There are a number of ways to address this, but the easiest would be to run the script in update mode (Listed in the Run dropdown) which should essentially update the checkpoints to show the current data.

Failing that, your next best option is to look up the Help under the listing for: HP QuickTest Professional User's Guide > Enhancing Tests > Configuring Values > Configuring Constant and Parameter Values > Setting Values in the Configure Value Area

This will explain the process of editing checkpoint values to allow you to update them for your script in a different domain.

For future reference, it is a good idea to hold the different checkpoint/configuration settings outside of the script, and check the relevant option when you start the test.

Cheers,
Dave

"Yes, I'll stop finding bugs in the software - as soon as you stop writing bugs into the software." <-- Me

For all your testing needs: Forum1393
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top