HI,
I have data binded an excel spreadsheet with a field called 'URL'. It contains completely different URL's to the Base URL set for the project.
When I run a step 'Navigate to : " - DataDriven: [$(URL)]" it still takes me to the Base URL set for the project.
I don't want to remove the Base URL for the project as all tests rely on this.
How do I resolve this?
Cheers
Hi Adrian,
Can you, please, elaborate on the specific setup for the 'Navigate' step? Do you use both the NavigateUrl and BaseUrl fields in the step? And which is the field you have set to use the data from the Excel file? Have you tried to data bind the other field?
It will be great if you can send me a screenshot of the step and its binding - even if the actual Urls is blurred or not visible, this will be sufficient for me to get the details for the case.
I am looking forward to hearing back from you.
Regards,
Elena
Hi Elena,
The base url set for the project is http:..adl-sim-301-d - compare mode = FullPath.
Properties for step (refer image) - Navigate to :: '' - DataDriven: [$(URL)].
Data Binding is set in Navigate URL which contains values from the spreadsheet (refer image).
Cheers
Adrian
Hi Adrian,
Thank you for your prompt response. I tried the same on my end and it worked as expected, so I wonder what might be different for yours and mine projects. Can you, please, use the zipped test attached with this response and execute it on your end?
It is quite simple test with a navigate step, which is data driven with internal data (that shouldn't bring any difference for the execution). But this should be sufficient to get some details for the run of similar scenario on your end.
In addition to this you can generate the Test Studio application log while running the original test, which seems to not pick the data from external file. Along with it, please, collect the execution log for that same test run.
Thank you for your cooperation once again!
Regards,
Elena
Hi Adrian,
Thanks for your cooperation. I am pleased to know you managed to set everything and the data binding works as expected.