Tag - Test Automation

Selenide - Answer to Selenium Flaky Tests

Selenide – Answer to Selenium Flaky Tests

Background – Today one of the best UI automation testing tool is Selenium but we automation engineers face one important challenge with it which is ‘synchronization’ issue. This issue leads to increase script maintenance effort as many a time tests gets failed without any actual bug in application. This can happen due to a lot of different reasons for example Ajax is used to dynamically update the application page or due to the ‘async’ activities of the front end framework [...]

Read more...
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...
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...