Selenium in Automation Testing

Post on 02-Aug-2015

170 views 3 download

Transcript of Selenium in Automation Testing

Selenium in Automati on Testi ngTe s t B e y o n d t h e O b v i o u s

• World’s 2nd Largest Independent Testing Company

2

• QA & Testing focusQA and Software Testing is all that we do!

QualiTest Group

About Selenium

3

Selenium is a widely used open source tool used for software testing

Selenium is currently one of the hottest open source tools on the market for test automation. With an active push to move applications to think clients, Selenium is becoming increasingly capable of addressing the test automation needs for an entire organization

Best Practices

4

There are several best practices to consider during any attempt to successfully leverage Selenium

Consider Organizational

Standards

Construct a Framework

Create Code Standards

Externalize Configuration

Implement Logging and Reporting

Consider Organizational Needs

5

Ensure that Selenium is the right tool for your organizations requirements. This involves evaluation of the feasibility of Selenium’s features, current resource capabilities and technology changes

Construct a Framework

6

Always construct a framework for your test cases! This includes authoring a script for every test.

A solid framework will ensure that tests are:

More Stable Faster to Develop

More Consistent More Readable More Change

Tolerant

Create Code Standards

7

Maintain standards surrounding code quality, adhere to already existent naming and documentation conventions, and produce reusable code

Externalize Configuration

8

Attempt to make automation self-aware, expose configurable values whenever possible, apply naming conventions and other standards, and always remember that hard coding is easy coding

Implement Logging and Reporting

9

Through logs and reports, we can determine the following:

Logs and Reports

Failure status of

tests

Assess test coverage

Analyze failures

Debug automation

scripts

Collect debug info to file with bug report

Make screen captures

accessible

Thank You !w w w . Q u a l i T e s t G r o u p . c o m