Make Your Selenium Suite Faster and Reliable: Test Setup with REST APIs

Performance is one of the main painful areas of Selenium suits. Usually, engineers trying to login, logout, navigate, create data, execute an action from the UI via Selenium, then, in the end, performing test assertions. This creates serious performance issue for the Selenium suite and makes Selenium tests more brittle. Also, the problem solution could be better if the test data creation and deletion also will be done before Selenium will open the browser. This will help to create independent tests later to be able to run them in parallel.

 
1 favorite thumb_down thumb_up 0 comments visibility_off  Remove from Watchlist visibility  Add to Watchlist
 

Outline/Structure of the Talk

1 How to design the framework to be able to use HTTP requests

2 How to create Test Data before the test and clean up after test without UI actions

3 Practical example how to use HTTP lib from the Java code

4 Maintaining HTTP responses

5 How to store login info in the browser to avoid logging in from UI

6 Best practices of Selenium WebDriver

Learning Outcome

Participants will learn how to use Rest API with WebDriver together effectively and how to improve existing framework and make it faster and reliable.

Target Audience

Automation engineers who are working with Selenium WebDriver

schedule Submitted 1 year ago

Public Feedback

comment Suggest improvements to the Speaker