Hi All,
Tool: LR 11.52
Protocol: Ajax TruClient
My flow is as follows:
Step1: After navigating to one of the page select some random account from the drop down box.
Step2: After selecting the random account page gets refreshed with the selected account details then I'm checking for the text "Error Message". If that text is found I need to go directly to the logout step (this is the last step in the flow) of the application.
Step3: If that error message text is not found, I need to check for balance greater than $0, if balance is equal to $0 then also I have to directly go to last step (i.e. Logout) else if balance greater than $0, then I have to perform some actions in that page like filling the form and submit.
I'm able to successfully implement the step 1 and step 3 using the If Condition but unable to implement step2. I tried "If Verify" and "If Exists" for text check but don't know how to go directly to the Logout step if the error text is found. I tried keeping Break, Continue, Exit Flow controls in the If loop but it is not working.
I also tried keeping “If loop” of step3 inside the “If loop” of step2 but nested loop is not working, getting the error message: Error: step failed - unspecified error.
Can someone please help on this?
Thanks & Regards,
Ramesh