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

Test studio step: Navigate to url

3 Answers 111 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Niharika
Top achievements
Rank 1
Niharika asked on 10 Jan 2015, 02:24 AM
Hello,

I was wondering if it is possible to navigate to a url which is stored in an excel document? We want to be able to run the tests in different environments. So just updating it in the excel document would be easy, as there is no test settings file as such. Will this approach work? Also, is there any other way to do this, as we run the tests through MTM?

Thanks,
Niharika

3 Answers, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 14 Jan 2015, 03:33 PM
Hello Niharka,

Do you execute *.tstest files via MTM?

You can simply data bind the navigation step to an Excel file.

Let me know if I am missing something.

Regards,
Boyan Boev
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Niharika
Top achievements
Rank 1
answered on 15 Jan 2015, 10:31 PM
Hi Boyan,

I did try the above approach. But when I update the excel doc with a different url and execute the test, the test still uses the old value and not the new one.

Am I missing something here?

Thanks,
Niharika
0
Boyan Boev
Telerik team
answered on 16 Jan 2015, 08:50 AM
Hi Niharika,

Keep in mind that when Test Studio binds a test to an Excel file, it actually makes a copy of the file in the Project\Data folder.

You should edit the Excel file in that folder which is used as a data source.

Hope this helps.

Regards,
Boyan Boev
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Niharika
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Niharika
Top achievements
Rank 1
Share this question
or