top of page

Step 3 - Different ways to automate in BotPlay

Updated: Feb 2, 2022


Welcome to the world of codeless web automation testing – the BotPlay Automation.


BotPlay testing bot can automate your web application manual testing and processes without writing a single line of code. It's simple, it's easy, it's portable, and, it's codeless.



Let’s understand different ways to interact and automate the test element on the webpage on an application under test (AUT).



1. By element's 'name' on the UI


This is the easiest way that would let you copy the name of the element from the webpage and use it as it is in the script.


Step 1 - Select the first option (as shown in the screenshot below), the bot will send automation instruction to the 'Automation Script' area with the parameter "UD:ElementName".


Step 2 - Now copy the name of the element as it appears on the application UI, and replace it in the automation instruction in place of 'UD:ElementName'. Please ensure to copy the exact name in the same case from the webpage to the automation instruction in the bot.



2. By element's 'HTML attribute value'


This way lets you copy any unique HTML attribute value of the element from the HTML DOM and use it as it is in the script work on the element on the webpage.


Step 1 - Select the first option (as shown in the screenshot below), the bot will send automation instruction to the 'Automation Script' area with the parameter "UD:ElementName".


Step 2 - Now right click on the element on the webpage and select 'Inspect', this will open the HTML DOM window.


Step 3 - Copy the value of any HTML attribute (that is unique in the DOM), and replace it in the automation instruction in place of 'UD:ElementName'. Please ensure to copy the exact value in the same case from the DOM to the automation instruction in the bot.