Applicable to Web Test Automation |
TABLE OF CONTENTS
2.2 Adding Scraped Data to the Existing Project
1. Overview
This article provides you the details for creating the project directly from the algoScraper extension. This feature reduces the effort for you to download the scraped file from the algoscraper tool and upload the scraped file for creating an offline model.
2. Creating a Project
Perform the following:
- Navigate to the application where you want to scrape the UI elements. Click the algoScraper extension from the Chrome Browser bar. You can either scrape all the elements by clicking the Scrape UI button or click the individual elements to enable algoQA button in the Scraper window.
Note that before clicking on the algoQA button, if you wish to update the names of the UI elements, you can update it manually by clicking on individual name in the Control Name section. - Click the algoQA button to navigate to the Create Project screen in the Profiler page.
- In this screen, enter the project name.
- By default, the Use scraped data option is selected; If it is not selected, select this option.
- Click the Create Project button.
By default, web automation is selected as the Automation Type.
- In the Main Canvas, Nodes will be automatically created along with the corresponding features and UI elements upon clicking the Create Project button, as shown:
2.1 Searching a Project
To search for a project, perform the following:
- In the left pane of the Main Canvas, find the search textbox.
- Enter the same project name as provided earlier.
- You will see the configuration folder displayed, as shown:
2.2 Adding Scraped Data to the Existing Project
If there are changes in your application, you can add additional scraped data to the existing project.
Perform the following:
- In the algoScraper window, scrape the required UI elements.
- Click algoQA button to navigate to the Create Project screen in the Main Canvas.
- In the Project Explorer, search for the required project, right-click the configuration folder to choose Upload scraper file option. For more information, see How to Upload existing scraped file article.
- You can upload thscraped file using 'Upload' option and select the 'Use the JSON scraped to create configuration' option and click Submit to view the node configured for the re-scraped UI elements. Note that you can move the active node to see the original node.
Note: Ensure that you provide a unique control name. Otherwise, you will see a message stating that 'Duplicate Control names are not allowed'.
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