Selenium To Avo
The Selenium To Avo feature helps you to migrate existing Selenium automation scripts into Avo Assure test cases.
Prerequisites
The following requirements must be fulfilled before performing migrate Selenium scripts to Avo:
Selenium Environment: You have a configured Selenium development environment (such as Eclipse) to execute the scripts.
Interceptor Setup: You must set up the interceptors in your project.
Script Status: Your Selenium automation scripts are up to date.
Error-free Execution: Your Selenium scripts run successfully without errors.
Avo Assure Access: You have access to the Avo Assure server.
Supported Languages: Your Selenium project uses Java or JavaScript using cucumber BDD framework as Avo Assure currently supports these programming 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 the Intercept
To download and configure the Selenium scripts to Avo Assure, perform the following steps:
On the Avo Assure Home page, go to Utilities and select 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 file (such as java-intercept.zip) to your system.
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: You can configure the intercept using the following steps:

Generating and Uploading the 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?