Based on the input (Missouri, Iowa, California) i have to modify the Base xPath in Ranorex repository.
If Missouri, it should be test.mo.google.com
if Iowa, it should be test.ia.google.com
if California it should be test.ca.google.com
/dom[@domain~'test+$domainURL+.google.com']
I have created a variable called domainURL and thru data binding passed a value for domainURL but it is not working.
Add Variable in Base xPath.
Re: Add Variable in Base xPath.
Hi,
You must enclose the expression in quotes, like this:
You must enclose the expression in quotes, like this:
/dom[@domain~'test' + $domainURL + '.google.com']
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Add Variable in Base xPath.
Thank you so much. Its working fine now
Re: Add Variable in Base xPath.
Hi,
I was mistake with the default value. Could you please explain how to pass values to the repository variables?
Thanks,
Arun V
I was mistake with the default value. Could you please explain how to pass values to the repository variables?
Thanks,
Arun V