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
Ever wondered what Crawling is all about, here, at Naukri? Why don't we just use any generic crawler or Why do we even crawl in the first place?
We crawl jobs posted in the career sections of companies, to ease the pain of Recruiters. Instead of posting jobs manually, we help recruiters by pulling jobs programmatically from their career sections. The crawler crawls jobs from websites based on client requests.
Now, a bit about Crawling :-
A Web crawler is a computer program that browses the World Wide Web in a methodical, automated manner or in an orderly fashion. We do not need to...
Read More
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
What is a wait and why it is used in automation scripts?
Have you ever seen a traffic signal? What does the Red light in the Traffic signal indicate? The origin of wait comes from the traffic signal problem. As Red light in traffic signal asks the traffic to halt for some time, similarly wait is used to halt the execution of our automation script for a specified time. In other words wait asks our script to stop the execution for a specified time. Wait is mostly used by automation testers like us to debug our code or to avoid situations like Element not found Exception(s) by the webdriver....
Read More