Selenium To Avo
The Selenium To Avo feature helps you to migrate existing Selenium automation scripts into Avo Assure Test cases.
Prerequisites
Before you migrate Selenium scripts to Avo Test cases, make sure the following requirements are fulfilled:
Selenium Environment: You must have a configured Selenium development environment (such as Eclipse) to execute the scripts.
Intercept Setup: You must set up the interceptors in your project.
Script Status: Your Selenium automation scripts are up to date.
Error-free Execution: Ensure the Selenium script runs successfully without any errors before using it in Avo Assure.
Avo Assure Access: You must have access to the Avo Assure server.
Supported Languages: Avo Assure currently supports Java and JavaScript. You must have Selenium scripts written in one of these languages.
Migrating Selenium Scripts
To migrate your scripts, you must first set up the interceptor in your project, generate the scenario file, and then import it into Avo Assure.
The interceptor allows you to execute code before and after your automation logic without modifying the core functionality of the scripts.
Downloading and Configuring Intercept
To download and configure the Selenium scripts to Avo Assure, perform the following actions:
On the Avo Assure Home page, go to Utilities and select the Migrate To Avo tab.
On the Selenium To Avo page, select the programming language used in your Selenium project (such as, Java or JavaScript) to apply the appropriate migration logic.
Select Download to save the intercept package file (for example, java-intercept.zip) to your local machine.
Extract the downloaded java-intercept.zip file.
Copy the extracted intercept folder and place it in the required location within your Selenium project directory. For Example, <Path to your Selenium project>/src/main/java.
Configure the Intercept: Configuring the Intercept allows Avo Assure to capture Selenium browser actions and data parameterization during execution, ensuring accurate migration. To configure the intercept, perform the following actions:

Generating and Uploading Scenarios
To generate and upload Selenium scripts to Avo Assure, perform the following actions:
Execute your Selenium automation suite.
Go to the Selenium To Avo page in Avo Assure.
In the Select Project dropdown, select the Avo Assure project where you want to import the Selenium test cases.
Upload the scenarios_batch.zip file generated in step 1.
After uploading the file, select Start Migration button. The Migration Status dialog opens.

On the Migration Status dialog, the following details are displayed:
Element Repository Folder and Testcase Folder name.
Testcase name and Migration Status.
The system provides a downloadable Excel file that contains data parameterization details. Use this Excel file as a reference to review and correct the migrated test cases in Avo Assure, if required. The Excel file includes the following information:
i. Testcase name.
ii. Test Step Group name.
iii. Step details, including whether data parameterization is present.
Select Ok to close the Migration Status dialog.

Last updated
Was this helpful?