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

Web Driver Architecture​ | Best Selenium Online Training in Hyderabad

Best Selenium Online Training In Hyderabad Introduction​ Selenium WebDriver is one of the most powerful and popular tools of Selenium toolkit. WebDriver extended version to Selenium RC. WebDriver extends its support to many latest browsers and platforms, unlike Selenium IDE . WebDriver also doesn’t need Selenium server to start before execution of the Selenium RC . Selenium RC in aggregation with WebDriver API is Selenium 2.0 . Selenium was so developed to support dynamic web pages and Ajax calls . It also supports various drivers to exercise web-based mobile testing. Architecture​ WebDriver is a web-based testing tool with Selenium RC . The tool built on the fundamental where isolated clients create for each of the web browsers. WebDriver makes direct calls to the Web browser . The entire test script executes in this fashion. WebDriver uses the browsers support and capabilities to automation. Seleni...

Introduction of TestNG framework - Advantages of TestNG over Junit framework

 Introduction of TestNG framework - Advantages of TestNG over Junit framework In Selenium Web Driver training run Selenium scripts using JUnit framework. Until now we have executed seleniumtests but we have not generated reports in JUnit. We are introducing the powerful new testing framework called TestNG . The TestNG framework means Next Generation testing framework. So we are seeing all next generation features available in TestNG. I will talk about advantages of TestNG Framework TrainingIn Hyderabad over Junit. TestNG Framework Training In Hyderabad TestNG is popular JUnit framework used for the Java programming language. The TestNG framework introduced to overcome the limitations of JUnit framework. Most of the automation users are using this framework. Its advantages & more supported features. Until we have executed selenium test script but not even generated test reports. So using this TestNG framework learns to generate test reports. Features of ...

Selenium Uses of Manual Testing Training in Hyderabad

Manual Testing Manual Testing is referred to the process in a software tester sits. The through an end user software to determine the various flaws and bugs in the software. The process is generally carried out official launch of the app or website or software. The forms an integral part of the quality assessment of a software.   Selenium Uses of Manual Testing Training in Hyderabad software testing was done using automated methods. Developers tend to use automated scripts. The computers for the purpose of the process made easy. The graphical interface, games, e-commerce sites and interface of apps, manual tests preferred. These tests preferred user experience is matters and to ensure the end user use the service. The testing using manual methods is quite important. the e-commerce and game developers use manual testers . their app or site is working as per the convenience of the public and not causing any bug during use. How does ...