Skip to main content

Introduction of Selenium Automation Testing


Test automation Training In hyderabad

A test automation framework is a collection of re-usable methods test process.

Automation of test process
Test Execution: This is the place where a tool used to execute the scripts.
Report Generation: This module concentrates on taking test execution results as input. It generate the customized reports of different levels. It report which provides details like PASS/FAIL status and Time taken to execute the test case. In detailed reports, it can list the number of exceptions cases handled. Start time and End time for each test case, test cases passed, failed status and .
Defect Logging: This module concentrates on automatic defect. The logging of defects into bug tracking tool and taking the screen shots.
Test Case writing: this part includes providing help for writing manual test cases. the generating corresponding keywords into automation steps.

Framework Methodologies

There are four popular test automation methodologies :

1. Modular 2. Keyword 3. Datadriven 4. Hybrid.

Modular Framework:

In this method, is one of the most basic type of automation framework. this framework, a test scripts written to match a functionality. that represent modules of the application-under-test. These modules in turn used in a hierarchical fashion to build large test cases.

Advantages:
  • Modular division of scripts leads to easier maintenance. the scalability of the automated test Scripts are independent to write.
Disadvantages:
  • The main problem with modular frameworks is test script have test data embedded in them. which will become problem when updating the code /script.
  • It is also difficult when ever a test step fails which has to be find out by debugging where the test case failed.

Data Driven Framework:

The test data separated from test scripts and results returned against the test data. if all the test data combinations are pass, then only the test case treated as "PASS". If any one of the test data combination failed, then the entire test case treated as "FAIL".
Advantages:
  • It is suitable for test cases with many test data combinations.
  • It reduces the number of test scripts needed to put in place all the test cases.
  • The test data identified / prepared before test implementation is ready.
Disadvantages:
  • It is not suitable for test cases having very simple actions doesn't include any test data.

Keyword Driven

In this method, keywords developed which are equal to a unit level functionality. It is framework utilizing data tables methods and keywords to perform the actions

Advantages:

  • High re-usability achieved by re-using across many test cases.
  • Maintainability is easy which doesn't need any Automation expertise.
  • Debugging is easy.
Disadvantages:
  • Requires a complicated framework than the data driven framework.
  • Test cases grow longer and complex and this is due to the greater flexibility

Hybrid Framework:

This framework is the combination of both data-driven and keyword driven testing frameworks. It allows data driven scripts to take advantage of the libraries based approach.

Advantages:

The Hybrid framework is build with many reusable modules / function libraries.
  • Maintainability – Hybrid framework reduces maintenance effort
  • Re-usability – It allows to reuse test cases and library functions
  • Manageability - effective test design, execution, and traceability
  • Accessibility – easy to design, develop, change and debug test cases while executing
  • Availability – Allows to schedule automation execution
  • Reliability – due to advanced error handling and scenario recovery
  • Flexibility – framework independent of system or environment under test
  • Measurability – customizable reporting of test results ensure the quality output

Comments

Post a Comment

Popular posts from this blog

AutoIt in Selenium Webdriver

    AutoIt in Selenium Web driver Selenium is an open source tool. That designed to automate web-based applications on different browsers. But to handle window GUI and non-HTML popups in the application. AutoIt required as these window based activity are not handled by Selenium . What is AutoIt? AutoIt v3 is a freeware scripting language designed for automating. the Windows GUI and general scripting. the combination of keystrokes, mouse movement and window/control manipulation to automate tasks. It is way not possible or reliable with other languages. AutoIt is very small, self-contained and run on all versions of Windows. The face with no annoying “runtimes” required. In layman’s term, AutoIt is another automation tool. Selenium used for Desktop Automation rather Web Automation. It is a powerful tool. It does not automate desktop windows, button & for. it automates mouse movements & keystrokes too. Selenium IDE recording capability generat...

Jenkins used in maven

  What is Jenkins? The Jenkins is the most important open source continuous process of the combine with another tool. It is cross-platform and it can be used on Windows, Linux, Mac and Solaris environments. It is composed in Java. Jenkins most important usage to check the progress any job which can be any application state.  It stimulates preconfigured actions when an individual step occurs in tasks. The Jenkins allows us to take 1 more step further, and allow us to automate this execution of test cases. A little more work, you can configure such that your tests execute every time after deploys a new build. Checks in code Jenkins build a execute unit tests, now deploys the application to test environment. Jenkins builds and then executes your tests on the newly deployed application. This is essential the CI process that others have mentioned. At this point, the only thing that you need to real worry is the writing of your test automa...