0
OSSCube
presents
TESTING AUTOMATION SOLUTION
April 19, 2014
Devraj Singh and Vaibhav Singh
1
2
We Started with Selenium IDE
CHALLENGES FACED WHILE USING IDE
 Condition statements
 Iteration or looping
 Logging an...
3
Solution to IDE challenges is
SELENIUM WEB DRIVER
 It helps us for cross browser automated testing of web
application.
...
4
Optimized Automation Process
BY USING MODULAR FRAME WORK
Advantages:
 —The functionality is available in easy to use te...
5
Advantages:
 Less amount of code is required to generate all the test cases.
Disadvantages:
 The test cases created ar...
6
Keyword- Driven Approach
Advantages:
 —Keywords are reused across multiple test cases.
Disadvantages:
 —The main probl...
7
Hybrid Approach
 Hybrid testing framework is the combination of modular, data-
driven and keyword driven testing framew...
8
—THANK YOU  AND QUESTIONS ?
8
Upcoming SlideShare
Loading in...5
×

Why Automation is Required in Software Testing - OSSCamp 2014

266

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
266
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Why Automation is Required in Software Testing - OSSCamp 2014"

  1. 1. OSSCube presents TESTING AUTOMATION SOLUTION April 19, 2014 Devraj Singh and Vaibhav Singh 1
  2. 2. 2 We Started with Selenium IDE CHALLENGES FACED WHILE USING IDE  Condition statements  Iteration or looping  Logging and reporting of test results  Error handling, particularly unexpected errors  Test case grouping  Capture screenshots on test failures  Results Report generations 2
  3. 3. 3 Solution to IDE challenges is SELENIUM WEB DRIVER  It helps us for cross browser automated testing of web application.  It supports IE, Firefox, Chrome.  User can writes Scripts in JAVA , PERL , PHP and other languages.  And a Major fact we say “Learning about web driver helps us to get closer to JAVA , HTML and XPATH etc. its more like a fun rather just clicking in IDE”  3
  4. 4. 4 Optimized Automation Process BY USING MODULAR FRAME WORK Advantages:  —The functionality is available in easy to use test libraries so creating new Driver scripts for different tests is easy and fast. Disadvantages:  The main problem with modular frameworks is that the test script have test data & Element Locators embedded in them. So when the test data needs to be updated we need to change the code of the script. This becomes a big problem when the test script is large. 4
  5. 5. 5 Advantages:  Less amount of code is required to generate all the test cases. Disadvantages:  The test cases created are similar and creating new kind of tests requires creating new driver scripts that understand different data. Thus the test data and driver scripts are strongly related that changing either requires changing the other. 5 Data-Driven Approach
  6. 6. 6 Keyword- Driven Approach Advantages:  —Keywords are reused across multiple test cases. Disadvantages:  —The main problem is that this requires a more complicated framework than the data driven framework. 6
  7. 7. 7 Hybrid Approach  Hybrid testing framework is the combination of modular, data- driven and keyword driven testing frameworks.  This combination of frameworks helps the data driven scripts take advantage of the libraries which usually accompany the keyword driven testing. 7
  8. 8. 8 —THANK YOU  AND QUESTIONS ? 8
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×