How to create Faster Selenium Scripts in any Programming Language

Notes:

Today we will learn:
1. How to create faster automation scripts with Selenium
2. How to create scripts that are less likely to break during execution

Step 1 : goto http://www.seleniumhq.org/ and download selenium lib

Step 2 : Create selenium project in your IDE

Step 3 : Add selenium lib in your project

Step 4 : In Firefox browser – add Selenium Builder

Step 5 : Start Selenium Builder and record your test case
Demo site used – http://opensource.demo.orangehrmlive.com/

Step 6 : Export the script into your programming language

Step 7 : Add the script into your project

Step 8: Run and validate

You can use the above process for creating new scripts in existing selenium projects. This will make test script creation faster and less brittle.


Playlists
https://www.youtube.com/channel/UCTt7pyY-o0eltq14glaG5dg/playlists

Like on Facebook

Follow on Twitter

Subscribe on Youtube

 


Selenium YouTube Playlist


Send me your comments and feedback

6
%d bloggers like this: