10
Aug

Introduction to Selenium Webdriver

 About Selenium WebDriver

WebDriver is a library the assists us in interacting with the web browser same as humans would do. It is capable of executing tests on Firefox, Chrome, Safari, Internet Explorer, Ghost Driver and Opera deployed on any of Windows, OSX or Linux platform.

List of programming language supported for scripting is big. Some of the popular languages are Java, C#, Ruby, .Net, Python and Pearl

Selenium

Java seems bit friendly to me, so in this post we will use that as our scripting weapon.

Selenium Webdriver Architecture

Selenium2

In simple words, initially code is written in any of the programming language using the webdriver client. It interacts with the webdriver api and finally command is sent to the browser driver wherein final action is performed.

Setting Up Java_Home

  1. Install JDK from here
  2. Set JAVA_HOME environment variable.

Selenium3

Value of JAVA_HOME will be the path to root directory of JDK.

Installing Eclipse

  1. Download eclipse from here
  2. You will get it in zip format, so unzip it to a locattion using 7Zip, Winrar etc
  3. To launch eclipse, navigate to the extracted directory and double-click on eclipse.exe (On Windows) and eclipse.app (On Mac)

Creating first WebDriver project

1. Create a new java project in eclipse ide
Selenium4
2. Give your project any name
Selenium5
3. Add new package by right click on created project → New→ Package
Selenium6
4. Give your package any name in format <<com.globalsqa.test>>
Selenium7
5.  Add new class file by right clicking on newly created package → New → Class
Selenium8
6. Give your class any name and click on Finish button
Selenium9
7.  Script is created java file. It’s all ready to code here
Selenium10
8.  Download Selenium Webdriver API from http://www.seleniumhq.org
Selenium11
9.  Click on download link and get latest version of webdriver api
Selenium12
10.  Add selenium jar by right clicking on the package → Build Path → Configure Build Path
Selenium13
11.  Click on Libraries tab → Add External Jar’s → Add jar from download location
Selenium14
12. Write your first script as below:
Selenium15
Thats it 🙂
You are all geared up to move ahead in the world of selenium
8
Aug

Apply Jobs : HR Email Ids Revealed

This post is just to help Software Engineers in India to forward their resumes to HR of Top IT Companies. As you all know that we always have to login to Job Portals like Naukri, Monster, shine etc to apply to jobs and wait for companies call. Million of users are registered on these portals. When thousands of people apply to one job. There are high chances of getting your job application ignored by HR. HR also visit to these portals and filter candidate based on some skills, exp, location etc. You might be lucky one if your resume is updated and coming on the top in their filter.

Keeping all above factors in mind, we have created a list of HR Email ids. Now, you can forward your resumes directly to HR Email Ids. We couldn’t provide a list here. So, we have created an automated process. Just complete the form by clicking here and you will receive an email in few mins with Email Ids. Help us to improve our post by leaving a comment.

In case, you don’t receive an email in 15 mins. Please send us an email at [email protected]

NOTE : GlobalSQA doesn’t give any assurance of job openings in the company associated with Email Ids being shared.