Complete Interface Mapping, Error Resolution & Workflow Blueprints
TimeoutMS (how long to wait), Selector (the XML code to find elements), and variables assigned to Output results.Ctrl + K.Write Line or Log Message activities. It is the first place to check when a bot crashes.Cause: The application window title, ID, or structure changed dynamically since you recorded the step.
* (replaces multiple characters). Example: Change title='Invoice_1234.pdf' to title='Invoice_*.pdf'.Cause: The bot is trying to use a variable, array, or list that is entirely empty (Null) or was never initialized.
myList = New List(of String).If activity to check if the variable Is Nothing before trying to use it.Cause: The bot executes its code sequence faster than the target application or webpage can render the UI.
Delay activities. Instead, use Wait Element Appear to pause the bot until the exact button is fully visible.TimeoutMS value from the default 30000 (30 seconds) to 60000 (60 seconds).Cause: A random system update, ad, or promotional pop-up blocked the UI element the bot was trying to interact with.
Try block.Catch block instead of crashing.Catch block, add a Click activity designed to close the pop-up, and then log the exception.Goal: Build a program to send an email using SMTP.
Assign to store the sender password securely in a SecureString variable.Goal: Find the highest number in SalesArray.
maxNum. Use Assign to set it to the first item: maxNum = SalesArray(0).If activity.Then branch, use an Assign to update the highest number: maxNum = item.Write Line to print maxNum.ToString.Goal: Sort students into Houses based on ID number.
Assign to extract the last digit of the ID into a String variable idLast.String, Expression to idLast.Case "1" -> Add a Message Box: "Red House".Case "2" -> Add a Message Box: "Blue House".Case "3" -> Add a Message Box: "Green House".Default section -> Add a Message Box: "Guest House".Goal: Check if an input number is divisible by 2.
num.If Activity below it.Then block, place a Message Box stating "The number is Even/Divisible".Else block, place a Message Box stating "The number is Odd/Not Divisible".