Is there any simple way to increment, for example, the value of the field by +1 every time the Selenium test is run through the Selenium IDE?
Command: Type Target: some kind of id Value: number+1
EDIT 1 : Thanks for the answer from krosenvold. I got your idea, and this is a simplified version of what I have received so far:
... store | 10 | x storeEval | storedVars['x'] = ${x}+1 | ...
The value of the x variable does increase, but how can you keep this value between separate test runs? is it even possible?
Should I get the value of $ x every time I run the test and at the end of it assign the value of $ x to some dummy element on the test page, so that I could get this previously increased value on the next time test?
selenium
Alex
source share