Reading Variable value during recording fails test
Reading Variable value during recording fails test
I have recorded a couple of tests which runs fine but when I try to replace values(like filename etc.) with variable names test fails. I am making sure that I am assigning the variable to the xpath also. I am kinda puzzle since if I dont use variable name, test stores the location of mouse click which is a hit or miss on a diff computer. I am struggling with this for few days now I am sure the fix is trivial, any help is appreciated, thanks in advance
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Reading Variable value during recording fails test
Hi,
It would be very helpful if you would send us some screenshots (e.g. of the recording with and without variables).
Also a snapshot of the items you have trouble with would be of help.
Maybe you can explain the problem in more detail.
For some general information about data driven testing have a look at Lesson 3: Data-Driven Testing.
Kind Regards,
Larissa
Ranorex Suppor Team
It would be very helpful if you would send us some screenshots (e.g. of the recording with and without variables).
Also a snapshot of the items you have trouble with would be of help.
Is this the requested behavior?I am kinda puzzle since if I don't use variable name, test stores the location of mouse click which is a hit or miss on a diff computer.
Maybe you can explain the problem in more detail.
For some general information about data driven testing have a look at Lesson 3: Data-Driven Testing.
Kind Regards,
Larissa
Ranorex Suppor Team
Re: Reading Variable value during recording fails test
Thanks for the reply. My bad that I was replacing Mouse click location with the variable name.