Category Archives: Automation Testing

Tip-toe through Naukri, India’s No.1 job site #OneDayTale

Glipmse of Hackathon 2016. We love open source and hence we are very open to transparency. The inception to this blog post was an idea to share the walk through of how a user is served in a typical day by your beloved Naukri.com. Naukri is a black box which gives you results but under the hood it is way more than what anyone can think. Under the hood [caption id="" align="alignnone" width="800"] Under the hood working of a car, GIF image.[/caption] Source Something like below is what we are continuously doing to serve you better. [caption id="" align="alignnone" width="549"] Car engine... Read More

Naukri API Testing Framework

Framework is like blueprint for test automation. A good automation framework design helps in achieving more reusable, scalable, beneficial testing and reduce maintenance cost. Automation test framework provides environment for structured automated testing which includes test scripts writing with the help of reusable functions, test data generation and reporting. In case of API automation, framework become more challenging because of following tasks Handling JSON/XML based request or response parameter/body. Handling connection with API with different HTTP method. Validating API... Read More

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

Challenges Using Appium for Mobile App Testing

Mobile automation poses different types of challenges in comparison to the automation of Web browsers. New tool sets are making it easier and easier to engage in genuine agile development on Mobile. In particular, true test-driven development—which was formerly a hard, upstream slog on Mobile—is becoming increasingly attainable. 2 years back, At Naukri we used to test the Mobile Applications manually. With the increase in technology and functionality in mobile apps we were facing many challenges while doing manual testing like: There is huge fragmentation of both devices and... 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

The story behind how Naukri won DSTC 2016 Automation contest

Long story short: Naukri.com recently participated & won the first prize in DSTC Test Automation Contest held by InStep Forum on 19th April 2016 in Radisson Blu, Dwarka. Read on for the full story… It all started when we got to know about a test automation contest being held in New Delhi. Eager to participate, we sent our nomination for the contest. A few days later we received a mail from DSTC informing that we need to fill in the details of the participants & put our opinions on the latest trends in Agile & Test Automation in order to shortlist the teams that would... Read More

Android Wear\Smartwatch App got automated @Naukri

android-wear-automation-appium Android Wear\Smartwatch App got automated @Naukri Gadgets! Gadgets! Gadgets! Computer, Walkman, Mp3 players, iPods, laptops, tablets, phones, smartphones, smart glasses, smart TVs, smart cars, smart watches and what not. Naukri/Naukrigulf have already been taking care of their jobseekers by providing them real time updates of new jobs and recruiter updates via it’s smart phone applications be it Android or iOS. We wanted to do something more and reach out to our jobseekers as early as we could. What could have been better than having a wear application? Having an Android watch... 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

MAILER AUTOMATION THROUGH JAVAMAIL API

MAILER AUTOMATION THROUGH JAVAMAIL API “Discovering the unexpected is more important than confirming the known.” Owing to the large number of mails that are a part of the daily user interactions, it becomes imperative that the mails that reach the users are bug free. This system is developed as an initiative to continuously validate the mails that the end user is receiving for accuracy, without manually testing the mails each and every day. Problem Statement: In Naukri, automating mailers was considered unfruitful mainly due to the low ROI yielded when tackled with conventional... 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