top of page

Step 4 - Test Data Management 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.



Different ways to manage test data in BotPlay.

There are two ways to manage test data in BotPlay, either by storing the test data within the script or storing it in BotPlay's runtime environment.






1. Hardcoded - Test data within the scripts

When you select an automation action that has the test data, like while entering a value into the textbox, the instruction will have a parameter as "TD:TestData". Replace this parameter with the actual test data you want the bot to use in automation.


The disadvantage of this option is we are hardcoding the data in the scripts and any change in data will require to change everywhere data is hardcoded. For example, if we have hardcoded the URL of the web application in the script and want to run automation on a different test environment or a different URL, then changes will need to be made in all the scripts using that URL. Hence there is an alternate way to handle this by creating a variable of the test data.



2. Using Test Data Management Section

The second option is to store the test data in BotPlay's runtime environment and give it a name to refer to its value.


Follow these steps for this -


Step 1 - Select an automation action that has the test data, like while entering a value into the textbox, the instruction will have a parameter as "TD:TestData".


Step 2 - Add a row in the 'Test Data Management' section. Now open the 'Test Data Management' section on the right side on the 'Create Bot' tab. Click on the 'Add' button. This will add a row in the table, this is where you have to add the element to the BotPlay's runtime environment.