Skip to main content

Posts

Showing posts from April, 2017

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 Test

Automation Testing Vs Manual Testing

Automation Testing Vs Manual Testing Testing of software in both Automation and Manual testing method. It depends on the project need, budget associated with the project. Which testing method benefited to the project. This article provides basic information Manual Testing and Automation Testing . Automation Testing: The automation tool support to execute the test cases known as Automation Testing. Automated testin g is good for the large project. It is a method which uses automation tools to run tests. That repeat predefined action matches the developed program’s probable and real results. If the project prospects and results align. The project is behaving as it should, and likely bug-free. If the two don’t align, still, there is a problem that requires the address. The code, alter it and continue to run tests until the actual and expected outcomes align. Testing in these short agile iterations often necessitates a shift left approach. The process means testing star

Selenium TestNG with Framework

  Selenium TestNG with Framework TestNG is a testing framework inspired from JUnit and NUnit. But introduce some new functionality that makes it more powerful and easier to use. It is an open source test framework where NG of TestNG means Next Generation. TestNG is like JUnit but it is much more powerful than JUnit but still, it’s inspired by JUnit. It is design to better than JUnit, especially when test integrated classes. Pay special thanks to Cedric Beust who is the author of TestNG. TestNG eliminates most of the limitations of the older framework. Gives the developer the ability to write more flexible and powerful tests. With help of easy annotations, group, sequence & parametrize. Advantages of TestNG There are a number of benefits but from Selenium perspective, great advantages of TestNG: It gives the capacity to provide HTML Reports of execution Annotations made testers life easy Test cases can Group & Prioritized easier Parallel testing is possible G

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 automation code. The gathering of test results pos

Selenium Ide commands

  The overall IDE script creation process classified into Three Steps. 1: Recording 2: Playing back 3: Saving Step1 : Recording Selenium IDE supports to record user interactions with the browser. Thus the overall recorded actions are termed as Selenium IDE script. Step2: Playing back In this step, first, we have to verify track stability and success rate. Then we can execute the recorded script in IDE . Step2: Saving Once we have recorded a stable script, we may want to save it for future runs and regressions. Using Common features of Selenium IDE Setting Execution speed While testing web applications, we get across several scenarios where an action performed. Thus we must be having knowledge is enough while dealing such scenarios. So avoid failures while playing back these types of test scenarios. Using Execute this command option IDE let have executing a single test step within the entire test script. “Execute this command” option can be used at times when we

Selenium Automation Testing Scope

  Selenium Automation Testing Scope: Future of Software testing is always good. It will always need. Customer will never accept the product without software test . Testing is always good as it gives everyone a confidence of the work. It's always good to add more processes while the test, so that should not think testing is an easy job. Testing Tools are divided into two tools that are Manual and Automation . Again Automation is divided into two tools such as QTP and Selenium . Selenium is good for the future scope to compare to the QTP. These both tools are awesome. But, In Selenium suite we have the IDE Tool, Web driver, RC, and Grid. As a beginner, we use to learn the concept of any one language like Core Java, Javascript, C #... Etc... Selenium is easy to learn to compare to QTP. You must know the "How to use the tool" and VB Script Language before you learn the QTP. It is the most important to write the test scripts on the QTP Tool. In Selenium: Which

Automation Tool Testing

The Automation tools to write and execute test cases known as automation testing . No manual intervention required while executing an automated test suite. Testers write test scripts and test cases using the automation tool . Benefits of Automation Testing   Reduction of repetitive work.   Repeatability   Greater consistency   Ease of access to information about tests or testing Automation framework divided into 4 different types   Linear automation Framework: the linear framework based on record and play the procedural code. this framework especially for very small projects and for the creation of smoke test. where only basic tests execute.   Structured automation Framework: The test cases are writing in a structured way using loops. if else statements, Switch statement and conditional statement. but it does not have any functions or modularity to make the framework more flexible.   Modular automation Framework: The reusable code put in functions. functions g

Introduction of Selenium Automation Testing

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