TABLE OF CONTENTS
2. Feature File to Script conversion
1. Overview
If you already have test cases that were not produced by algoQA, you can convert them into scripts that work with the new testing platform. This allows you to migrate test cases from one framework (such as Protractor) to another (like WebDriverIO).
This capability is built into the algoScraper extension. To use it, simply open the algoScraper extension from your browser toolbar.
This feature is especially useful during manual testing, where you can take existing test cases and automatically generate scripts from them.
2. Feature File to Script conversion
Perform the following:
- Prepare a handwritten feature file in BDD format.
- Launch the Scraper from the Create Project page. To know more how to launch scraper from algoQA, click here.
- Click the More dropdown and select the Feature Map option.

- Browse and upload the handwritten feature file in .txt format.

- Click on Send for the file to be uploaded.

- Scrape the individual UI elements referenced in the feature file.
- After scraping all the UI elements, click Auto Mapper.
- You can see how many elements were mapped automatically, and manually map the remaining ones.

- To map manually, select the GWT step and click on the corresponding XPath from the page.
- You can edit step details such as Control Type, Control Name, Control Action, Control Value, XPath, and Page Name by clicking the edit icon next to the step.
- Click algoQA to navigate back to the Create Project page with the scraped file attached.
- If you are rescraping, you can upload the file using the “Upload Scraped Data” option.
- Enter the project name and click Create.
- The scenarios will be created. Next, generate the test cases and then generate the scripts. To know more on how to generate test cases click here.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article