I need add a conditional logic to my bot so that it continues if there is no data returned from a search within a web application.
Specifically, here is what is occurring:
- Search is executed.
- If a record is returned, the record will be presented in a row format with a radio button to be selected, as shown below:
- If there records returned, the screen will look like this with no radio button to select:
If condition #2 occurs, the bot will click the radio button and the processing for that specific row will continue
If condition #3 occurs, the bot needs to terminate that iteration of the loop and go on to the next search parameter in the loop.
I had my if statement set to if the data table if blank (as shown in #3) to continue to the next search parameter in the loop, and my if else has the actions necessary to continue processing with the returned record (as shown in #2). However, when the bot encounters no records returned (as shown in #3) the bot stops processing.
I believe using if/if else condition here is what I need, but I just need some guidance on how to correctly build the if action condition, so that the bot can continue to condition #2 when it encounters condition #3.