Book demo
Start trial
Book demo
Start trial

The LEAP

Automation insights and productivity tips from LEAPWORK.

All Posts

Selenium Automation – More than Testing

While Selenium is primarily used for automating web applications for testing purposes, it’s actually intended for browser automation more generally. It's up to Selenium users to come up with creative applications of the automation framework.

The open-source Selenium framework is a widely used solution for automating tests of websites and web applications.

However, with the ability to automate any action that takes place in a browser, like clicking on buttons and typing text into fields, as the end-user would, the power of Selenium goes beyond web testing. Use cases of Selenium-powered automation include:

  • Automated data migration in and between web-based front- and back-office applications
  • Automated workflows in e-commerce operations
  • Automated monitoring of corporate intranets

Think of all the repetitive web-based processes that take place in your organization each day, involving for example your marketing website, a CRM system, and a cloud-based project management tool. Now imagine you could train software robots to perform these tasks by visually designing the task flow.

With LEAPWORK’s codeless software automation, each action taking place in an application’s UI, are represented by building blocks you can connect to create visual workflows for automating web-based processes.

Consider an example in which the tester wants to automate search for an item (“star wars lego”) in an online shop (amazon.com) and then compare the number of search results with a specified value (2500).

The automation flow (see Figure 1) is created by connecting just seven commands, or building blocks, representing actions in the web application’s UI:

  1. Start: Initiates the execution of the automation flow
  2. Start Web Browser: Opens specified browser (Chrome) and navigates to specified URL (amazon.com)
  3. Click Web Element: ‘Clicks’ on the specified element, i.e. the search field.
  4. Type Web Text: Inputs “star wars lego” in the search field
  5. Get Web Number: Finds and logs a number, i.e. the number of search results
  6. Compare: Performs a compare of the number retrieved in the previous step with a specified value (2500).
  7. Pass: Indicates that the automation flow has passed on the condition that the compare operation returns the specified result.

The Complete Guide to Automating Tests with Selenium

Read the LEAPWORK guide to learn more about Selenium as a test automation solution and its benefits in testing. The guide also covers the skills, effort, and resources required to fully succeed with Selenium. Finally, it proposes a web automation solution you can use without having to worry about the technical details.CTA-FactSheet

Aske Denning
Aske Denning
Content Marketing Manager at LEAPWORK

Related Posts

How To Use RPA in HR [w/ real-world example]

Even though HR departments are made by people for people, what if I told you that robots can help HR become more human?

[WHITEPAPER] Test Automation: The Codeless Answer

Today, digital transformation affects businesses in every market. Either they are driving it or being driven by it. As new business models emerge and customer demands keep increasing, enterprises everywhere struggle to stay relevant.

[Factsheet] 9 Reasons to Use No-code Automation Tools

In the jungle of automation tools, it can be complicated to select the right one for your enterprise. This is why we have listed 9 reasons to choose no-code automation tools in a factsheet. No-code automation tools speed up business processes and reduce errors while limiting boring and repetitive work.