Category Archives: Automation

How we use docker @ naukri:

What we will be focussing on: Creating tag of application and deploying on kubernetes. Creating an immutable image Naukri Deployer and Endpoints Creating a tag of Application: Whenever we push to git repository, a jenkins job is triggered and runs UT(Unit Test Cases)  on that branch (or tag). If UTs are passed create a tag and run next jenkins job to create immutable image. This new immutable image can be deployed on kubernetes and subsequently QA team can run their FT(Functional Test Cases) on that tag. To know what is an immutable image, refer::... Read More

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

MySQL Installation/Configuration Automation

MySQL Installation Automation In today’s fast paced technology world, where numbers are growing be it data size, no. of requests per second, no of databases etc., to manage these big volumes, standard operation procedures play a key role. It helps not only in ensuring smooth operations of web based products but also plays a major role for administrators to manage it in a controlled fashion. Standards are important, but enforcing them if one have multiple human resources to work towards achieving them is difficult. Configuring the setups manually is error prone and not manageable as your no. of installations grow... 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