Hi,
I have a variable called $varYear which is bound to a column "Year" in csv file. How do I access the value in that $varYear in the usercode?
Thanks,
Jenny
How to get the attributevalue of the variable in the Rxpath?
Re: How to get the attributevalue of the variable in the Rxpath?
Hi Jenny,
All you need to do is to type the name of variable in UserCode of the module, in which is the variable binded in. So in your case, varYear (without '$'). If the variable is correctly binded to the recording/code module, once you start typing the text, the variable should be displayed in the code completion list of available methods, properties and variables. Hope this helps?
All you need to do is to type the name of variable in UserCode of the module, in which is the variable binded in. So in your case, varYear (without '$'). If the variable is correctly binded to the recording/code module, once you start typing the text, the variable should be displayed in the code completion list of available methods, properties and variables. Hope this helps?
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