Selenium is a popular open source tool that developers and technical testers use for web browser test automation and cross-browser testing. Tests can be designed with common  programming languages, including C#, Groovy, Java, Perl, PHP, Python, Ruby and Scala.

According to new Gartner research, “Selenium is the de facto standard for front-end test automation of modern web technologies due to the flexible and powerful browser automation capabilities of WebDriver…It’s a sophisticated tool that isn’t easy to learn. It requires your team to have programming expertise and familiarity with object-oriented languages.”

Selenium is extremely popular on Agile teams developing web GUIs. Developers enjoy testing with their familiar programming/scripting languages, but testers new to programming face a steep learning curve. And the more applications change, the more programming is required to keep tests in sync.

Web GUIs are typically just a small part of the functionality that must be tested to reduce the risks associated with modern enterprises applications. Testing realistic user transactions may involve end-to-tests that cover mobile UIs, web services, ESBs, APIs, packaged applications, mainframes, and even big data.  Moreover, to ensure that applications satisfy business expectations—without delaying releases—enterprise-level testing also requires capabilities such as:

  • Advanced reporting and analytics
  • Sophisticated test data generation and management
  • Service virtualization
  • Risk coverage optimization
  • Integration with your “best of breed” DevOps/ALM toolchain

To help you bring your Selenium tests up to the enterprise level, Tricentis offers automated migration and integration of Selenium tests. Tricentis Tosca is perfectly complementary to Selenium; in fact, Tricentis is a premium Selenium sponsor.

I am a Selenium user and I am really amazed at how Tricentis Tosca can learn objects in just a few minutes. This would take me hours to script in Selenium. 

– Software Engineer Associate Manager at a Global Delivery Center

Tricentis is a proud platinum sponsor of Selenium

Selenium Testing with Tricentis Tosca

Your team’s Selenium tests can be automatically imported into Tricentis Tosca test cases that are model-based, business-readable, and data-driven—simplifying test case maintenance and extension.

You can immediately start running your existing tests for regression testing with advanced reporting. When it’s time to extend tests, you can use a business-readable UI to define test objects, actions, and validations—there’s no need for scripting or developer assistance.

These “building block” Selenium test cases can be reused across multi-channel (mobile, cross-browser, API, SAP, etc.) end-to-end tests as well as complemented with exploratory testing. Moreover, you can take advantage of additional Tricentis capabilities such as synthetic test data generation, risk coverage optimization, service virtualization, test management, analytics, and DevOps/ALM tool integrations as you extend and optimize those tests.

See Selenium migration in action in this on-demand webinar 

Selenium Test Import Details

The fully-customizable Selenium test migration process converts technical information, test case logic, and test data:

Technical information

Details about the system under test are migrated to a business-readable representation of core elements. Multiple types of tests artifacts can then be rapidly defined based on this model. Since each unique technical element is represented by a single model element, test maintenance is simple and centralized.

Test case logic

Test case logic is imported into Tricentis Tosca and translated into our model-based test framework. Unlike scripts, the resulting tests are simple to understand and extend as the associated application functionality evolves.

Test data

Existing test data is captured and imported into a comprehensive repository of stateful test data objects. This data can then be used across all automated test cases and service virtualization assets. It is easily readable and manipulated via a business-readable UI. Moreover, it can be rapidly extended with synthetic test data generation—increasing coverage to help expose defects.

Selenium Integration

Tricentis Tosca also lets you integrate your existing Selenium tests without converting them. This option lets you use Selenium tests within end-to-end test cases while still maintaining the original Selenium format.  You also get to take advantage of functionality such as service virtualization, integrated reporting, centralized test management, and extensive DevOps/ALM tool integrations.

Where Does Selenium Fit in an Enterprise Quality Strategy?

Selenium is well-suited for web UI development teams where testing is conducted by developers or testers who are well-versed in a programming/scripting language.  Yet, Selenium is not a test automation panacea. An enterprise-level quality strategy also requires the coordinated orchestration of a broader set of software testing practices, as well as the ability to exercise end-to-end transactions beyond the browser.