Changing Runtime Value during WhileLoop #180
ypo777
started this conversation in
Questions & Help (How to)
Replies: 1 comment
-
@ypo777 Looks like an bug, can you help me with a screenshot of execution? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a test case which is to search element from table and get rowNumber of that element.
First I stored initial row=1 as runtime value. [ ELEMENT = //tr[$|row|//td[7] ]
WhileLoop has a condition it will check row is visible on the page , then IF Condition will check row has certian test data I want. If it has BREAK LOOP.
ELSE row will increase to 2 using Custom Function.
The Problem - increaseed row value is not used in WHILE LOOP it is still using row = 1
It will become infinite loop.
Beta Was this translation helpful? Give feedback.
All reactions