Testing

Testing

Maven

Maven Goals To Execute Commands Post Test Execution

Objective –  Recently in one of the projects we got the requirement to create the test execution summary file after parsing the TestNG emailable report once the test execution is finished.    Challenge –  We were running the test with Maven goal which generates the emailable report in target directory of the project but it does it once build is completed due to which we were not able to write the parsing code in TestNG listener.   Solution –   We have written the code for [...]

Read more...
protractor

Getting Started With Protractor

About Protractor Protractor is a test automation framework which is used for automating web applications testing. It combines technologies such as Jasmine, Selenium Web driver and Node.js. Using protractor, we can automate both Angular and non-Angular applications. Some Features Supports simple syntax to write tests Supports Behaviour Driven Development (BDD) framework like Cucumber Provides additional locator strategies for Angular based applications Protractor executes the command only once the action on webpage is completed thereby reduce test failure due to sync issues Protractor Setup Pre-requisites Download and Install [...]

Read more...
testdrive

Test Driven Development (TDD) – Key Benefits

Test Driven Development (TDD) is a software development approach which enables teams to create better specifications about how the actual code will be written. So fundamentally, TDD is an approach where in functional tests are written well before writing the actual code. It’s a perfect blend of three key activities: Write Tests, Write Code to make the Tests Pass & Refractor to improve quality Key Benefits of (TDD)  Best Acceptance Level: TDD helps the developers to understand requirements from the [...]

Read more...
Test Automation Benefits

Test Automation Benefits

In today’s time test automation is a necessity, automating the testing process is essential. Test automation if done correctly will provide many benefits and can provide huge RoI (Return on Investment). Automation testing not only be helpful in regression testing but also it will reduce your pain in day to day feature testing. Key Benefits – Quick Feedback – Automated testing will help in reducing the turnaround time from testing team to development team. If automated testing job is setup in CI [...]

Read more...