This is a migrated thread and some comments may be shown as answers.

pop up windows - batch edit of dynamic URLs and "~"

1 Answer 41 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Anthony
Top achievements
Rank 1
Anthony asked on 07 Jan 2014, 09:04 PM
Hi,

Is there a way to modify all dynamic URLs with the "~" quickly? Often time when we add or modify a step, the full URL (with the dynamic part) comes back and the test fails. It's quite time consuming to look for them and to manually replace the dynamic part with the "~". Right now I use a script that goes through the .tstest files and that replaces the dynamic parts with the "~". It works fine expect that when I go back to Telerik, it looks like I haven't cought all them (although there are none left in the .tstest files!). is there a quicker way to handle this? Here's a typical example of the URLs I deal with:

before:
https://serveur/app/zxcvx1weracvz/forms/stuff/thingy.aspx?blablabla....

After:
~/forms/stuff/thingy.aspx?blablabla....

Thanks for any suggestions you may have.

1 Answer, 1 is accepted

Sort by
0
Velin Koychev
Telerik team
answered on 10 Jan 2014, 01:35 PM
Hi Anthony,

You might want to take a look at the following article for running a test against multiple environments using the BaseUrl feature if that is what you are going after.  

If this doesn't help, could you please share your test files and also provide your test failure logs (there should be at least 3 files in the export). You can export these to file from the failure tab of your test and add them to a .zip.  These files can help us determine better what was the reason for the failure of your test.

Looking forward to hearing from you.


Regards,
Velin Koychev
Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Anthony
Top achievements
Rank 1
Answers by
Velin Koychev
Telerik team
Share this question
or