Forum Discussion
GAutomation
8 years agoFrequent Contributor
i=0// intializing i because err may find any row inside the table
while (table= err)
button1.click()
button2.click()
if message box. exist then // some scenario's a meaasge box appears
checkbox.click()
button3.click()
end if
wend
i=i+1
1.if implemented this and the if statement is not getting executed.
2.if i comment the if statement the loop goes on and never ends
somewhere i go wrong
tristaanogre
8 years agoEsteemed Contributor
While I appreciate the use of pseudo-code to get across concepts, it is next to impossible to debug logic problems without knowing the exact code. Variables may be set wrong, methods may be used improperly, etc. Please, if you can, share your exact code... or, if nothing else, something that as closely resembles your exact code as much as possible.