Hi,
I was wondering if you could help me to solve the below problem. We need to check the auto incremented value. There we set the value as '1' when recording the test suite. But, it fails when we run the same in second time. Basically the problem is how I set the auto increment value to this?
Thanks,
Eranda
How to validate auto incremented value
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: How to validate auto incremented value
Hi,
I am not sure I got your question.
Regards,
Markus
Ranorex Support Team
I am not sure I got your question.
What do you want to do? Are you using the data driven testing?But, it fails when we run the same in second time.
What do you mean with "auto increment value" or with "to this"?Basically the problem is how I set the auto increment value to this?
Regards,
Markus
Ranorex Support Team
Re: How to validate auto incremented value
Hi,
yes, we are used data driven testing.
Actually we want to checked auto incremented value. Test suite recoded time rootvar value is set to ‘1’. After we run the test suite it rootvar value automatically incremented. Then test suite failed.
Rootvar is some kind of a variable. We answering the question rootvar values are incremented.
Before run the test suite rootvar value set ‘1’, after the run test suite value should be a ‘2’.
Ex: assume rootavar name is ‘A’
1 step – we set the rootvar value as ‘1’ when recording the test suite
2 steps - run the test suite
3 steps – A= A+1;
We want to test for a new value (increased) rather than the old value
Thanks,
Eranda
yes, we are used data driven testing.
Actually we want to checked auto incremented value. Test suite recoded time rootvar value is set to ‘1’. After we run the test suite it rootvar value automatically incremented. Then test suite failed.
Rootvar is some kind of a variable. We answering the question rootvar values are incremented.
Before run the test suite rootvar value set ‘1’, after the run test suite value should be a ‘2’.
Ex: assume rootavar name is ‘A’
1 step – we set the rootvar value as ‘1’ when recording the test suite
2 steps - run the test suite
3 steps – A= A+1;
We want to test for a new value (increased) rather than the old value
Thanks,
Eranda
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: How to validate auto incremented value
Hi,
If you are using the data driven testing you can input different values, for instance for the first row 1, second row to 2 and this column can be set to your/a variable to check if it was incremented.
You can also use variables in your RxPath, for more information please take a look at the following links:
http://www.ranorex.com/support/user-gui ... html#c2970
http://www.ranorex.com/support/user-gui ... dules.html
Regards,
Markus
Ranorex Support Team
If you are using the data driven testing you can input different values, for instance for the first row 1, second row to 2 and this column can be set to your/a variable to check if it was incremented.
You can also use variables in your RxPath, for more information please take a look at the following links:
http://www.ranorex.com/support/user-gui ... html#c2970
http://www.ranorex.com/support/user-gui ... dules.html
Regards,
Markus
Ranorex Support Team
Re: How to validate auto incremented value
hi,
Thanks a lot.
Eranda.
Thanks a lot.
Eranda.