Thread

Skip Navigation LinksForums > Rapise Forums > Rapise Best Practices > How do I change the URL o...

How do I change the URL of a website being tested RSS Feed

Wednesday, February 15, 2012
I need to vary the recorded script to be used on a different system than was used for recording the script. What i see in the test objects seems that the URL seems to be set on every object. Does this mean, that we can not use recorded scripts for different web-site/base-urls and have to re-record them every time our test system changes? How can i set the base URL to use programmatically in the script at the start of the test?
2 Replies
Adam SAdam S
re: Adam S on Wednesday, February 15, 2012
Wednesday, February 15, 2012

You can use the

Navigator.Navigate("http://....");

command as a first line in the script. That will allow you to modify the URL being tested.

Adam SAdam S
re: Adam S on Wednesday, February 15, 2012
Friday, August 31, 2012

Also please refer to this KB article:

http://www.inflectra.com/Support/KnowledgeBase/KB11.aspx

Regards

Adam

Tagged
Statistics
  • Started: 2/15/2012
  • Last Reply: 8/31/2012
  • Replies: 2
  • Views: 8091
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2016 | Licensed to Inflectra Corporation.