SlideShare ist ein Scribd-Unternehmen logo
1 von 1
Downloaden Sie, um offline zu lesen
To know more about our services
please email us at
info@testingxperts.com
www.TestingXperts.com
UK | USA | NETHERLANDS | INDIA | AUSTRALIA
© 2018 TestingXperts, All Rights Reserved
ScantheQRCode
tocontactus
© www.testingxperts.com
Selenium as a test automation tool is available as open- source, shows efficiency, repeatability,
and has ease of usage; it continues to be the most preferred for test automation. Primarily, it is
used for automating web applications as it is quick and easy to use record and playback features.
The other major advantage with selenium testing is that, tests can be coded in multiple
programming languages and executed across various web browsers (Cross-browser support)
and operating systems.
This is a popular test automation design pattern that helps to develop robust testing frameworks
which are resistant to any small tweaks made in the user interface. The major benefit with this
page object model is that it enhances test maintenance and reduces the duplication in code. In
these models, the web pages are defined as classes and the different elements on the page
become the variables and the user interactions are commonly implemented as methods. The
POM frameworks are comparatively more reliable and are easy to maintain. The scripts are
readable and the test scripts are reusable. It also eliminates duplicity altogether and hence POM
is preferred over other models.
Perform action on
the HTML element
Run tests and
record the test
results using a
selenium driven
test automation
framework
Create an instance
of the WebDriver
interface
Navigate to
the Web page
Basic Steps for Selenium Testing include:
An Overview of the 7 Best Practices to Follow to
Achieve Effective Selenium Automation Testing
STEP - 1 STEP - 2 STEP - 3
7 Effective Practices
to Follow for Selenium
Automation Testing
Test conclusion with
a Quit () method
Get hold of Browser
response through
implicit and explicit
waits
STEP - 4 STEP - 5 STEP - 6
Adopt Page Object
Model (POM)
Use Selenium for System
Functional testing
Prefer to Use Java
Runtime Environment
(JRE):
Ensure proper
communication between
QA, Developers, and
Operations teams
Prefer to use Wait
command in place of
Thread. Sleep
Adhere to usage of
Right Locators
Keep the Tests
Independent of
Each other
ADOPT PAGE OBJECT MODEL (POM)
At the heart of selenium frameworks is interaction with the browser letting to navigate, click, type,
and check different objects and it achieves this using different types of locators. The different
types of locators include Class, ID, Link Text, Xpath, CSS Selector and Tag Name. Thus, selecting
the right locators can be the difference between a test script that is flexible enough and a brittle
test that breaks with any slightest change made to the user interface.
ADHERE TO USAGE OF RIGHT LOCATORS
Atomic testing strategy wherein testing a single action or process is independent of the other.
This type of testing avoids chained and brittle tests. Hence tests should be kept as small as
possible especially with agile and Continuous integration DevOps models on the go it is always
suitable to maintain small tests.
KEEP THE TESTS INDEPENDENT OF EACH OTHER
It is always preferred to use Wait command and it is more important to understand the usage of
implicit wait and explicit wait instead of using the Sleep command. This Sleep command waits
until the defined time even after the task is completed; while wait command performs the actual
time to wait. Sleep command slows down the test while with the Wait, the test time is not
affected.
PREFER TO USE WAIT COMMAND IN PLACE OF THREAD. SLEEP
Selenium is best suited when the same test and same code is used for different inputs. It is most
preferred for system functional testing as well as for browser compatibility testing.
USE SELENIUM FOR SYSTEM FUNCTIONAL TESTING
The Selenium server is programmed with Java and hence when if any run time error is
encountered, it is important to use the latest version of JRE 1.6.
PREFER TO USE JAVA RUNTIME ENVIRONMENT (JRE)
With the agile and DevOps methodologies on the go, it is important to have proper collaborate
between various teams of QA, developers and operations teams to achieve successful selenium
testing.
ENSURE PROPER COMMUNICATION BETWEEN QA,
DEVELOPERS, AND OPERATIONS TEAMS

Weitere ähnliche Inhalte

Was ist angesagt?

Test Engineer CV for 3+ exp
Test Engineer CV for 3+ expTest Engineer CV for 3+ exp
Test Engineer CV for 3+ exp
Shivank Shrotri
 
Hybrid framework for test automation
Hybrid framework for test automationHybrid framework for test automation
Hybrid framework for test automation
srivinayak
 
Data Driven Testing
Data Driven TestingData Driven Testing
Data Driven Testing
Maveryx
 

Was ist angesagt? (20)

Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
Test Automation Using Python | Edureka
Test Automation Using Python | EdurekaTest Automation Using Python | Edureka
Test Automation Using Python | Edureka
 
Selenium
SeleniumSelenium
Selenium
 
How To Automate Cross Browser Testing
How To Automate Cross Browser TestingHow To Automate Cross Browser Testing
How To Automate Cross Browser Testing
 
Selenium Test Automation
Selenium Test AutomationSelenium Test Automation
Selenium Test Automation
 
QSpiders - Selenium Webdriver
QSpiders - Selenium WebdriverQSpiders - Selenium Webdriver
QSpiders - Selenium Webdriver
 
Test Engineer CV for 3+ exp
Test Engineer CV for 3+ expTest Engineer CV for 3+ exp
Test Engineer CV for 3+ exp
 
Hybrid framework for test automation
Hybrid framework for test automationHybrid framework for test automation
Hybrid framework for test automation
 
Selenium Automation Framework
Selenium Automation  FrameworkSelenium Automation  Framework
Selenium Automation Framework
 
Introduction to Automation Testing and Selenium overiew
Introduction to Automation Testing and Selenium overiewIntroduction to Automation Testing and Selenium overiew
Introduction to Automation Testing and Selenium overiew
 
Data Driven Testing
Data Driven TestingData Driven Testing
Data Driven Testing
 
#1 unit testing
#1 unit testing#1 unit testing
#1 unit testing
 
Run Selenium Tests With Microsoft Test Manager
Run Selenium Tests With Microsoft Test ManagerRun Selenium Tests With Microsoft Test Manager
Run Selenium Tests With Microsoft Test Manager
 
Introduction to selenium
Introduction to seleniumIntroduction to selenium
Introduction to selenium
 
Hybrid automation framework
Hybrid automation frameworkHybrid automation framework
Hybrid automation framework
 
Data driven automation testing of web applications using selenium
Data driven automation testing of web applications using seleniumData driven automation testing of web applications using selenium
Data driven automation testing of web applications using selenium
 
How to be an awesome test automation professional
How to be an awesome test automation professionalHow to be an awesome test automation professional
How to be an awesome test automation professional
 
Selenium
SeleniumSelenium
Selenium
 
Data driven Automation Framework with Selenium
Data driven Automation Framework with Selenium Data driven Automation Framework with Selenium
Data driven Automation Framework with Selenium
 
2 selenium-aakar gupte
2 selenium-aakar gupte2 selenium-aakar gupte
2 selenium-aakar gupte
 

Ähnlich wie 7 Effective Practices to Follow for Selenium Automation Testing

What is Selenium Testing.pdf
What is Selenium Testing.pdfWhat is Selenium Testing.pdf
What is Selenium Testing.pdf
AnanthReddy38
 
Top 21 Selenium FAQs.pdf
Top 21 Selenium FAQs.pdfTop 21 Selenium FAQs.pdf
Top 21 Selenium FAQs.pdf
AnanthReddy38
 

Ähnlich wie 7 Effective Practices to Follow for Selenium Automation Testing (20)

Top 30 Selenium Interview Questions.pptx
Top 30 Selenium Interview Questions.pptxTop 30 Selenium Interview Questions.pptx
Top 30 Selenium Interview Questions.pptx
 
What is Selenium Testing.pdf
What is Selenium Testing.pdfWhat is Selenium Testing.pdf
What is Selenium Testing.pdf
 
Selenium Best Practices For Web Testing
Selenium Best Practices For Web TestingSelenium Best Practices For Web Testing
Selenium Best Practices For Web Testing
 
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfExploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
 
7.pdf
7.pdf7.pdf
7.pdf
 
Top 21 Selenium FAQs.pdf
Top 21 Selenium FAQs.pdfTop 21 Selenium FAQs.pdf
Top 21 Selenium FAQs.pdf
 
Selenium Testing: A Comprehensive Guide to Automated Web Testing
Selenium Testing: A Comprehensive Guide to Automated Web TestingSelenium Testing: A Comprehensive Guide to Automated Web Testing
Selenium Testing: A Comprehensive Guide to Automated Web Testing
 
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
 
What is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptxWhat is Selenium Introduction to Selenium Testing.pptx
What is Selenium Introduction to Selenium Testing.pptx
 
Lesson_06_Software_and_Automation_Testing_Frameworks.pdf
Lesson_06_Software_and_Automation_Testing_Frameworks.pdfLesson_06_Software_and_Automation_Testing_Frameworks.pdf
Lesson_06_Software_and_Automation_Testing_Frameworks.pdf
 
Best Unit Testing Frameworks to Automate your Desktop Web Testing using Selen...
Best Unit Testing Frameworks to Automate your Desktop Web Testing using Selen...Best Unit Testing Frameworks to Automate your Desktop Web Testing using Selen...
Best Unit Testing Frameworks to Automate your Desktop Web Testing using Selen...
 
A Simple Guide to Selenium Software Testing
A Simple Guide to Selenium Software TestingA Simple Guide to Selenium Software Testing
A Simple Guide to Selenium Software Testing
 
Interview Question & Answers for Selenium Freshers | LearningSlot
Interview Question & Answers for Selenium Freshers | LearningSlotInterview Question & Answers for Selenium Freshers | LearningSlot
Interview Question & Answers for Selenium Freshers | LearningSlot
 
Making Sense of Selenium
Making Sense of SeleniumMaking Sense of Selenium
Making Sense of Selenium
 
Software Testing Tools Training
Software Testing Tools TrainingSoftware Testing Tools Training
Software Testing Tools Training
 
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdfPros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
 
Selenium
SeleniumSelenium
Selenium
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
Selenium interview-questions-freshers
Selenium interview-questions-freshersSelenium interview-questions-freshers
Selenium interview-questions-freshers
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
 

Mehr von TestingXperts

Mehr von TestingXperts (20)

Who is a DevOps engineer?
Who is a DevOps engineer?Who is a DevOps engineer?
Who is a DevOps engineer?
 
TOP 7 WEB ACCESSIBILITY TESTING TOOLS
TOP 7 WEB ACCESSIBILITY TESTING TOOLSTOP 7 WEB ACCESSIBILITY TESTING TOOLS
TOP 7 WEB ACCESSIBILITY TESTING TOOLS
 
DEVELOPING A REGRESSION TESTING STRATEGY
DEVELOPING A REGRESSION TESTING STRATEGYDEVELOPING A REGRESSION TESTING STRATEGY
DEVELOPING A REGRESSION TESTING STRATEGY
 
Reasons Why Security Testing is Important
Reasons Why Security Testing is ImportantReasons Why Security Testing is Important
Reasons Why Security Testing is Important
 
Best Practices for Selenium Test Automation
Best Practices for Selenium Test AutomationBest Practices for Selenium Test Automation
Best Practices for Selenium Test Automation
 
Important Security Testing Elements in the Cloud
Important Security Testing Elements in the CloudImportant Security Testing Elements in the Cloud
Important Security Testing Elements in the Cloud
 
Important Performance Testing Pain Points
Important Performance Testing Pain PointsImportant Performance Testing Pain Points
Important Performance Testing Pain Points
 
Types of Web Performance Tests
Types of Web Performance TestsTypes of Web Performance Tests
Types of Web Performance Tests
 
Penetration testing tools and phases
Penetration testing tools and phasesPenetration testing tools and phases
Penetration testing tools and phases
 
How to Develop Digital Transformation Strategy
How to Develop Digital Transformation StrategyHow to Develop Digital Transformation Strategy
How to Develop Digital Transformation Strategy
 
Agile vs devops : Learn The Differences Between Agile & Devops
Agile vs devops : Learn The Differences Between Agile & DevopsAgile vs devops : Learn The Differences Between Agile & Devops
Agile vs devops : Learn The Differences Between Agile & Devops
 
QTP vs Selenium | Read Differences
QTP vs Selenium | Read DifferencesQTP vs Selenium | Read Differences
QTP vs Selenium | Read Differences
 
Unit testing - what is its importance
Unit testing - what is its importanceUnit testing - what is its importance
Unit testing - what is its importance
 
Types of User Testing
Types of User TestingTypes of User Testing
Types of User Testing
 
Difference between uat testing and sit testing
Difference between uat testing and sit testingDifference between uat testing and sit testing
Difference between uat testing and sit testing
 
5 types of uat testing
5 types of uat testing5 types of uat testing
5 types of uat testing
 
Accessibility testing - 5 tricks you can do right now
Accessibility testing - 5 tricks you can do right nowAccessibility testing - 5 tricks you can do right now
Accessibility testing - 5 tricks you can do right now
 
Technical skills of a performance test engineer
Technical skills of a performance test engineerTechnical skills of a performance test engineer
Technical skills of a performance test engineer
 
What is agile methodology
What is agile methodologyWhat is agile methodology
What is agile methodology
 
Role of software testing in industry
Role of software testing in industryRole of software testing in industry
Role of software testing in industry
 

Kürzlich hochgeladen

CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
anilsa9823
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 

Kürzlich hochgeladen (20)

call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 

7 Effective Practices to Follow for Selenium Automation Testing

  • 1. To know more about our services please email us at info@testingxperts.com www.TestingXperts.com UK | USA | NETHERLANDS | INDIA | AUSTRALIA © 2018 TestingXperts, All Rights Reserved ScantheQRCode tocontactus © www.testingxperts.com Selenium as a test automation tool is available as open- source, shows efficiency, repeatability, and has ease of usage; it continues to be the most preferred for test automation. Primarily, it is used for automating web applications as it is quick and easy to use record and playback features. The other major advantage with selenium testing is that, tests can be coded in multiple programming languages and executed across various web browsers (Cross-browser support) and operating systems. This is a popular test automation design pattern that helps to develop robust testing frameworks which are resistant to any small tweaks made in the user interface. The major benefit with this page object model is that it enhances test maintenance and reduces the duplication in code. In these models, the web pages are defined as classes and the different elements on the page become the variables and the user interactions are commonly implemented as methods. The POM frameworks are comparatively more reliable and are easy to maintain. The scripts are readable and the test scripts are reusable. It also eliminates duplicity altogether and hence POM is preferred over other models. Perform action on the HTML element Run tests and record the test results using a selenium driven test automation framework Create an instance of the WebDriver interface Navigate to the Web page Basic Steps for Selenium Testing include: An Overview of the 7 Best Practices to Follow to Achieve Effective Selenium Automation Testing STEP - 1 STEP - 2 STEP - 3 7 Effective Practices to Follow for Selenium Automation Testing Test conclusion with a Quit () method Get hold of Browser response through implicit and explicit waits STEP - 4 STEP - 5 STEP - 6 Adopt Page Object Model (POM) Use Selenium for System Functional testing Prefer to Use Java Runtime Environment (JRE): Ensure proper communication between QA, Developers, and Operations teams Prefer to use Wait command in place of Thread. Sleep Adhere to usage of Right Locators Keep the Tests Independent of Each other ADOPT PAGE OBJECT MODEL (POM) At the heart of selenium frameworks is interaction with the browser letting to navigate, click, type, and check different objects and it achieves this using different types of locators. The different types of locators include Class, ID, Link Text, Xpath, CSS Selector and Tag Name. Thus, selecting the right locators can be the difference between a test script that is flexible enough and a brittle test that breaks with any slightest change made to the user interface. ADHERE TO USAGE OF RIGHT LOCATORS Atomic testing strategy wherein testing a single action or process is independent of the other. This type of testing avoids chained and brittle tests. Hence tests should be kept as small as possible especially with agile and Continuous integration DevOps models on the go it is always suitable to maintain small tests. KEEP THE TESTS INDEPENDENT OF EACH OTHER It is always preferred to use Wait command and it is more important to understand the usage of implicit wait and explicit wait instead of using the Sleep command. This Sleep command waits until the defined time even after the task is completed; while wait command performs the actual time to wait. Sleep command slows down the test while with the Wait, the test time is not affected. PREFER TO USE WAIT COMMAND IN PLACE OF THREAD. SLEEP Selenium is best suited when the same test and same code is used for different inputs. It is most preferred for system functional testing as well as for browser compatibility testing. USE SELENIUM FOR SYSTEM FUNCTIONAL TESTING The Selenium server is programmed with Java and hence when if any run time error is encountered, it is important to use the latest version of JRE 1.6. PREFER TO USE JAVA RUNTIME ENVIRONMENT (JRE) With the agile and DevOps methodologies on the go, it is important to have proper collaborate between various teams of QA, developers and operations teams to achieve successful selenium testing. ENSURE PROPER COMMUNICATION BETWEEN QA, DEVELOPERS, AND OPERATIONS TEAMS