Applicable to Web Test Automation |
TABLE OF CONTENTS
2.2 Adding Scraped Data to the Existing Project
3. Creating Projects in algoQA with the Uploaded Scraped files
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, click More Menu options next to the configuration folder to choose Upload scraper file option. For more information, see How to Upload existing scraped file article.
- You can upload the scraped 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'.
3. Creating Projects in algoQA with the Uploaded Scraped Files
Consider the configuration folder with uploaded scraped files as represented in the screenshot.
To access the Configuration file, perform the following:
- In the Project Explorer, select the appropriate Project Name> Configuration Folder.
- Configuration folder displays all the uploaded or created CSV files. Each file is segregated using a different naming convention.
You can either create a project using algoQA button or from Create a Project page in the Profiler window.
Following are the methods for creating a project or uploading a scraped file from the algoScraper Chrome extension:
- Upload a scraped file using downloaded file after scraping the UI elements with the algoScraper extension.
- Create a project using algoQA button from the algoScraper extension.
- Re-scrape the UI elements if there are application changes and create a project using algoQA button. The re-scraped elements will be reflected in the different node, which is created earlier. You can upload this scraped 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.
- If you wish to upload any additional workflow to the existing configuration, you can upload the scraped file. For example, if you wish to add a validation check flow for credit card details, then you can upload the scraped file only for this particular configuration.
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