Tag Archives: automation testing

Selenium Grid Using Docker

From quite a long time, we have been using selenium grid for parallel testing at Naukri. The purpose of using Selenium Grid is to reduce the total test execution time of an automation suite. This is achieved by running the automated test scripts in parallel on multiple machines. Refer to blog http://engineering.naukri.com/2015/10/parallel-testing-at-naukri/ for more insights on implementation of Selenium Grid for parallel testing at Naukri. Problem Statement: Although Selenium Grid has helped us in a significant manner over normal execution but every tool implementation comes with some... Read More

Verify Colour of Elements using Selenium WebDriver

QA folks need to do Regression Testing as part of their Job. Since doing Regression on daily/weekly basis is cumbersome, we automate the functional flows of our application and these are called FTs (Functional Tests). Apart from executing the FTs, we do manual testing mostly to validate the alignment, font size, colour etc. Since, manually verifying the colour of all controls/elements is a tedious and time-consuming job, we should automate it also. How? We can automate it by using Selenium Webdriver itself. For example, I am taking Java as a language of choice with Selenium... Read More

Android Parallel Automation

Android parallel automation Android Parallel Automation to increase Coverage Naukri has more than a lakh users using its Android application. These users are widely spread across multiple android devices with various combinations of android versions. We work hard to ensure that our application works well for our entire user base. Acknowledging that appium scripts are slow, it was a time taking task to execute a 10 hours long script on multiple devices, calculatedly taking around half a day in execution on single device and completely taking around two to three days on just 3 devices (in the best possible scenario). If... Read More

Page Object Pattern

Before discussing about “Page Object Pattern”, let’s understand what is Test Specification and Test Implementation? There is a difference between Test Specification and Test Implementation Test Specification - What to Test? Test Implementation - How to Test? For Example, Test Specification is “When user enters username and password and clicks the login button, then he is logged in and can see his Dashboard”. This describes a scenario – it’s a specification of what the test should do. However, Test Implementation has to deal with following things: The username field... Read More

How to Reduce Test Automation Flakiness

We all have heard the story of the Boy Who Cried Wolf, let’s just revisit it. “A shepherd-boy, who watched a flock of sheep near a village, brought out the villagers three or four times by crying out, "Wolf! Wolf!" and when his neighbours came to help him, laughed at them for their pains. The Wolf, however, did truly come at last. The Shepherd-boy, now really alarmed, shouted in an agony of terror: "Pray, do come and help me; the Wolf is killing the sheep"; but no one paid any heed to his cries, nor rendered any assistance. The Wolf, having no cause of fear, at his leisure lacerated or... Read More

Benchmarking of iOS Applications with AppTracer Framework

In Naukri, we always keep striving that our products keep high value in the terms of quality. High quality is the only key to make the business sustain. For ensuring the high quality of the product, we follow many benchmarking procedure. One of them is the AppTracer Framework. Following are some of the metrics that plays an important role to achieve the high quality: Application load time. API response time on different type of network like 2G, 3G, etc. Views render time after getting the response from API. Exception & crashes AppTracer framework provides a benchmarking... Read More

Android App automation @Naukri

AppiumAndroid Naukri is one of the early bird which started automating mobile applications using Appium. It took us lot of time to identify compatibility of Appium with Android versions, and then with Selenium versions and further with java and java clients. The challenges we faced and the final compatibility that worked well for us is something I am sharing here. So, just putting it down here for the benefit of any beginner to appium. Appium! I’m sure is by now not an uncommon tool in the testing community. I consider that you already know ‘What’ and ‘Why’ about Appium. One of the... Read More

Parallel Testing at Naukri

What is parallel testing? In simple terms, running your test scripts in parallel on same machine or on different machines is known as parallel testing.   Problem Statement: Let’s consider one of the application of Naukri say “Job Search”, consists of 900 test cases which takes around 3 hours for complete execution on a standalone machine.   Whenever a build related to “Job Search” is about to go live, we need to run the complete automation suite to achieve quality. The issues found from the resulting report are logged and get fixed by the dev team. Once fixed the entire Job... Read More

How to automate HTML5 mobile site functional testing using Chrome Mobile Emulator

The most common is to use the firefox addon User Agent Switcher, however, the browser window that opens has the same size as that of a desktop browser. If we simulate the size of a mobile phone browser our automation will be much more closer to an actual user interaction, moreover, the screenshots will capture the look of the web page on an actual mobile and would allow us to automate responsive design testing as well. Such an option is provided by the chrome screen emulator.   Emulators are pretty much exactly as their names suggest, they emulate how a browser would render a web page.... Read More