Friday, April 26, 2013

Naukri Job search automated.

        Are you a regular visitor to Naukri for applying jobs? Do you want to save and utilize your time for other things while someone else search jobs for you?

Then this is the right article to know who can do it for you. Its Selenium IDE who can search jobs fo you and even applies your job application for recruiters from searched results. (Follow my blog for next posts to come).

Searching for jobs involve 3 to 4 steps:

1. Login to Naukri account.

2. Search based on the input (Functional area, Exp, Location etc).
3. Search based on Functional Area/Department.
4. Search based on Job Category.

Steps explained:




1. Login to Naukri






Source:




-----------------------------------------

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="http://www.naukri.com/" />
<title>Login</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Login</td></tr>
</thead><tbody>
<tr>
    <td>open</td>
    <td>/</td>
    <td></td>
</tr>
<tr>
    <td>click</td>
    <td>id=matchEmail</td>
    <td></td>
</tr>
<tr>
    <td>click</td>
    <td>id=matchUsername</td>
    <td></td>
</tr>
<tr>
    <td>type</td>
    <td>id=username</td>
    <td>McKiran</td>
</tr>
<tr>
    <td>type</td>
    <td>id=password</td>
    <td>***********</td>
</tr>
<tr>
    <td>clickAndWait</td>
    <td>name=Login</td>
    <td></td>
</tr>
</tbody></table>
</body>
</html>
-----------------------------------------

 
2. Search based on the input (Functional area, Exp, Location etc).








Source:

-----------------------------------------

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="http://jobsearch.naukri.com/" />
<title>SearchByChoice</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">SearchByChoice</td></tr>
</thead><tbody>
<tr>
    <td>open</td>
    <td>/mynaukri/js_recommends.php</td>
    <td></td>
</tr>
<tr>
    <td>type</td>
    <td>name=qp</td>
    <td>software testing</td>
</tr>
<tr>
    <td>type</td>
    <td>name=ql</td>
    <td>hyderabad secunderabad</td>
</tr>
<tr>
    <td>type</td>
    <td>name=jobcat</td>
    <td>Select</td>
</tr>
<tr>
    <td>select</td>
    <td>name=qf[]</td>
    <td>label=IT Software - QA &amp; Testing</td>
</tr>
<tr>
    <td>click</td>
    <td>css=option[value=&quot;24.08&quot;]</td>
    <td></td>
</tr>
<tr>
    <td>click</td>
    <td>//div[@id='srcBgTop']/form/ul/li[4]/span</td>
    <td></td>
</tr>
<tr>
    <td>type</td>
    <td>css=input.w34</td>
    <td>Exp.</td>
</tr>
<tr>
    <td>select</td>
    <td>name=qe</td>
    <td>label=4</td>
</tr>
<tr>
    <td>click</td>
    <td>css=select[name=&quot;qe&quot;] &gt; option[value=&quot;4&quot;]</td>
    <td></td>
</tr>
<tr>
    <td>click</td>
    <td>css=div.fl &gt; span.dd</td>
    <td></td>
</tr>
<tr>
    <td>type</td>
    <td>css=input.w30</td>
    <td>Min</td>
</tr>
<tr>
    <td>select</td>
    <td>name=qm</td>
    <td>label=8</td>
</tr>
<tr>
    <td>click</td>
    <td>css=select[name=&quot;qm&quot;] &gt; option[value=&quot;6&quot;]</td>
    <td></td>
</tr>
<tr>
    <td>click</td>
    <td>//div[@id='srcBgTop']/form/ul/li[5]/div[2]/span</td>
    <td></td>
</tr>
<tr>
    <td>type</td>
    <td>//input[@value='Max']</td>
    <td>Max</td>
</tr>
<tr>
    <td>select</td>
    <td>name=qx</td>
    <td>label=12</td>
</tr>
<tr>
    <td>click</td>
    <td>css=select[name=&quot;qx&quot;] &gt; option[value=&quot;8&quot;]</td>
    <td></td>
</tr>
<tr>
    <td>clickAndWait</td>
    <td>css=button[type=&quot;submit&quot;]</td>
    <td></td>
</tr>
</tbody></table>
</body>
</html>
-----------------------------------------

No comments:

Post a Comment