It is quite common to come across warning messages in Navigator. Usually, the goal is to simply check these messages and move on. Below is a summary of the task to be created to perform this job, as well as a description of each action.
Note that the Warning table must appear before the following routine can be created. The script below is written to handle all dynamic Warning checkboxes in the Warnings table.
Begin by creating a New Task, by clicking + and picking Task from the list.
Name the Task Warnings
In the Warnings Task, target the header of the Warning table, typically labeled “Warnings”.
Select the If action. Choose If the target and is found. The following steps should go between the If and End If created.
Target the first checkbox/warning and choose the Start Highlight action.
Create a Loop action, choosing Loop forever as the Loop type.
Target the highlighted checkbox and select the Click action.
Target the highlighted checkbox again, and change the target type from Highlighted Target to Table.
Select the If action. Choose the highlight and is in the last row.
Between the If and End If actions created from Step 9, insert an Exit Loop action.
Target the highlighted checkbox once more, and choose the Move Highlight action. In the Rules of this action, make sure the 'Bridge Table' option is set to No. Next to the Vertical option, choose Move Down from the dropdown, and input the value 1 in the field next to it. This action should be positioned after the End If action created from Step 9.
Between the End Loop and End If action, target the Save button, choosing a Click action.
To reference this Task within the script, use the Run Task action, located in the Flow section of the Non-Interactive Actions list.
The final task will click all items in the Warning table, and should look like the following: