X
BLOG

Parasoft Selenic 2020.2 Is Now Available

Parasoft Selenic 2020.2 Is Now Available Reading Time: 5 minutes

The latest version of Parasoft Selenic was released on September 3, 2020. It adds additional support for enterprise application software like Salesforce and Guidewire and makes it easier than ever to create pure Java Selenium tests in your favorite frameworks.

We introduced Parasoft Selenic a year ago to improve UI test quality and reduce maintenance by applying AI-powered self-healing and recommendations to your existing Selenium tests. With a one-line change to your automation script, you can easily add Parasoft Selenic to your Selenium test execution and take advantage of all these capabilities.

If you’re new to Parasoft Selenic and want to see what it can do, check out the Parasoft Selenic YouTube playlist. Watch videos featuring AI-powered recommendations, self-healing, performance benchmarking, and integration with Applitools and Sauce Labs.
In the 2020.2 release of Parasoft Selenic, capabilities focus on:

  • Improved support for Salesforce, Guidewire, and beyond
  • TestNG test creation
  • Assertion creation during recording

Support for Enterprise Applications

The COVID-19 pandemic pushed many organizations to modernize their delivery mechanisms. Shifting their development platforms into cloud ecosystems and cloud development platforms, geographically separated developers and testers can collaborate and iterate to deliver the best possible experiences.

We’re seeing a rise in migrations to platforms like Salesforce, Guidewire, and others. Not just to enable rapid delivery but to take advantage of all the capabilities inherent in those platforms for a resource-constrained organization. Salesforce, as an example, recently announced a 66% increase in business from their Salesforce platform.

Q2 FY21 Subscriptions and Support Revenue by Cloud

On top of that, companies are modernizing the way to develop and deploy software through the CI pipeline. We’re seeing a migration to cloud platforms such as Microsoft Azure DevOps, Pivotal Cloud, Amazon Web Services (AWS), and so on.

Because many organizations are leaning heavily on enterprise applications, they need the ability to validate both the functional and nonfunctional user experience to maximize ROI, drive project success, and deliver against the business goals. Parasoft Selenic has unique capabilities for locators when it comes to creating Selenium-based test automation against enterprise applications.

Specifically, in the latest release, we added new strategies for recording, self-healing, and recommendations pertinent to enterprise applications and beyond. Check out Parasoft Selenic in action to get the full details! Basically, Parasoft Selenic 2020.2 is aware of the type of application with which it’s interfacing. How? The new UI selections in the Recorder enable you to choose the type of application you’re recording.

Parasoft Selenic Recorder Screen

The AI adapts, depending upon the types of strategies needed for the application. For Salesforce, because the applications are so dynamic, it’s difficult to pinpoint the right element locators and wait conditions to use when navigating in the application.

Digging Into Details

If you’re anything like me, you really do want the next-level details. Here are the specific enhancements we made in Parasoft Selenic to help it create smart tests for EAS:

  • Smart element construction in the multi-tabbed Salesforce Lightning experience.
  • Intelligent Salesforce element locators leveraging Salesforce standards.
  • Dynamic page title validations.
  • Automatic scrolling in page to ensure elements are in focus.
  • Chrome options automatically added to created Selenium tests to set the browser into a reliable state for playback.

See this technology in action! Check out our recent webinar, Use Automation and AI to Accelerate Salesforce Testing. It goes beyond UI testing to explore topics such as API testing and simulation, all of which come together to create a seamless enterprise application testing experience.

Assertion Creation During Recording

Assertions are critical components of any automated test case. Assertions allow you to define the expected behavior of your test scenario and have that expectation validated in an automated way. Parasoft Selenic now has the ability to create assertions in your selenium code during the recording process through a point-and-click interface.

Parasoft Selenic Recorder Popup

This process is integrated into the initial test recording phase. As you navigate your application user story, you can capture text on any page and mark it for validation. When the Selenium code is generated, the assertion code will be placed at the appropriate spot in the test case.

Making Maintenance Easier

What makes this special is that Selenic uses the page object model when building test cases and includes your assertion locators as a part of those page objects. This makes maintenance easier because if you ever need to change a particular element locator, you just change it in one spot, and it propagates through the rest of your test.

This reduces the barriers to entry for Selenium test creation by creating a process for both recording Selenium test scenarios in pure Java and simultaneously creating those pure Java assertions. By enabling a two-pronged approach to UI testing, you can achieve rapid feedback through your test automation. The test script execution validates the user experience, and the assertions ensure the proper information displays as expected during that experience.

Creating Tests With TestNG

The three primary test frameworks Java Selenium uses include:

  • JUnit 4
  •  JUnit 5
  • TestNG

Depending on who you ask, you’ll get a different answer about which one is best. In general terms, JUnit 4 was a popular test framework for a long while, but it had some limitations. TestNG was created to solve those limitations, particularly around assertions and parallel execution. TestNG is the most popular Java test framework (for now). In this release of Parasoft Selenic, we introduced support for TestNG test creation to complement the existing support for JUnit 4 and JUnit 5.

Parasoft Selenic TestNG Support

This will help organizations address challenges with their existing Selenium test practice. Regardless of the test framework, Parasoft Selenic now supports all three of the major Java frameworks.

For existing Selenic users, there will be a new option that shows up in the IDE. It allows you to create your tests in TestNG. But this is only for default creation. If you have a mixture of different test frameworks, Parasoft Selenic will auto-detect the test framework in use and create your test case in that format. This makes it easy to create those pure Java page object model tests and take advantage of all the other capabilities that Parasoft Selenic provides.

Summary

There are many new capabilities in the latest release of Parasoft Selenic. They’re all aimed at making automated testing easier to use in enterprise applications. By supporting the latest and greatest test frameworks, you can easily integrate Parasoft Selenic into your existing Selenium practice. And if you’re testing Salesforce applications, those interfaces become more critical than ever, especially with the Lightning updates. So, the new support for enterprise applications will be beneficial to your UI testing practice.

Finally, it’s difficult to automate the feedback process of test automation without assertions and validations. By automatically capturing those assertions and validations during recording, you can easily create Selenium tests that will automate the validation process of those critical UIs.

Getting Started

Existing Selenic Users

Head on over to the Parasoft Customer Portal and download the latest release of Parasoft Selenic. Also, check out the release notes in the technical documentation.

New to Parasoft

Get a free trial or contact us to set up a demonstration of Parasoft Selenic in your ecosystem.

Request a Trial of Parasoft Selenic 2020.2

Written by

Chris Colosimo

A Product Manager at Parasoft, Chris strategizes product development of Parasoft’s functional testing solutions. His expertise in SDLC acceleration through automation has taken him to major enterprise deployments, such as Capital One and CareFirst.

Get the latest software testing news and resources delivered to your inbox.

Try Parasoft