SlideShare a Scribd company logo
Seleniumscriptssetup |Manasa Dilipkumar
SELENIUM SCRIPTS FOR DASHBOARD UI
Steps toinstall Web(Firefox) plugin:
The easiest way to download Selenium IDEas a Firefox add-on is from
http://seleniumhq.org.
Start the Firefox browser and navigate to the Selenium home page at
http://seleniumhq.org and click on the Download tab as shown in the following
screenshot:
On the Download page, go to the Selenium IDEsection and click on the version
link as shown in the following screenshot. We suggestthat you download the
most currentstable build and as of writing this book the most stable build.
Seleniumscriptssetup |Manasa Dilipkumar
After downloading, Firefoxwill request your permission to install the add-on. Click
on the Allow button as shown in the following screenshot:
Seleniumscriptssetup |Manasa Dilipkumar
Firefox will download the add-on and display the SoftwareInstallation dialog box
as shown in the following screenshot. Click on the InstallNow button:
Firefox will install the Selenium IDE. Firefoxwill restartafter the add-on is
installed.
To launch the Selenium IDE, click on Firefox | Web Developer | Selenium IDEas
shown in the following screenshot. You might see a Firefox menu in some cases
(on operating systems such as Linux, Ubuntu, and Mac OS X), where you can open
the Selenium IDEby clicking on Tools | Selenium IDEfromthe Firefox main menu:
Selenium IDEwillbe launched on top of the Firefox window as shown in the
following screenshot:
Seleniumscriptssetup |Manasa Dilipkumar
Steps tofollowto export the Java Code:
 Once the GUI is open in Firefox, start the recording.
 After the operation is done, run the testcaseto verify the solution.
 Once the testcase is efficiently run, export the java code. Java code can be
modified later according to our requirements.
 Java code will be tested in Eclipse, and run like a JUNITtc and check if it is
working.
Seleniumscriptssetup |Manasa Dilipkumar
Configuring Eclipse torunjava code for dashboard:
 Download Java: http://www.oracle.com/technetwork/java/javase/downloads/index.html
 Download the eclipse:
 Download the SeleniumJava client driver from: 
http://docs.seleniumhq.org/download/
Seleniumscriptssetup |Manasa Dilipkumar
 Configure the Eclipse towork with the WebDriver:
 Create a newproject throughFile ? New? Java Project. Name the project
as “MyProject”.
 Right-click on the newly created projectand select New > Package, and
name that packageas “MyPackage”.
 Create a new Java class under MyPackageby right-clicking on it and then
selecting New > Class, and then name it as “MyClass”. Your Eclipse IDE
should look like the image below:
Seleniumscriptssetup |Manasa Dilipkumar
 Add JAR files tothe library:
Seleniumscriptssetup |Manasa Dilipkumar
Seleniumscriptssetup |Manasa Dilipkumar
 Finally, click on the OK button and we are done with importing Selenium
libraries into our project. Now, we are ready to write our test script in
Eclipse and run it in WebDriver.
WORKING ON DASHBOARD TABS:
 Write java code for all tabs and subtabs in dashboard.
 Run the code in eclipse toverify if the pages are running properly or not.

More Related Content

What's hot

Google chrome silent install
Google chrome silent installGoogle chrome silent install
Google chrome silent install
Get It Solutions
 
Silent install Adobe Reader DC
Silent install Adobe Reader DCSilent install Adobe Reader DC
Silent install Adobe Reader DC
Get It Solutions
 
Readme
ReadmeReadme
Readme
112ONE
 
How to install adobe dreamweaver 4
How to install adobe dreamweaver 4How to install adobe dreamweaver 4
How to install adobe dreamweaver 4
Jahid Blackrose
 
Introduction to "TestProject" tool and first testcase with TestProject
Introduction to "TestProject" tool and first testcase with TestProjectIntroduction to "TestProject" tool and first testcase with TestProject
Introduction to "TestProject" tool and first testcase with TestProject
Advait Kshirsagar
 
Pro watch max pro class ppt5
Pro watch max pro class ppt5Pro watch max pro class ppt5
Pro watch max pro class ppt5
quientravels
 
My journey and learnings using mule esb part 1
My journey and learnings using mule esb part 1My journey and learnings using mule esb part 1
My journey and learnings using mule esb part 1
Alex Fernandez
 
Installing software
Installing softwareInstalling software
Installing software
Ajay Jassi
 
Tutorial how to create a simple maven project
Tutorial how to create a simple maven projectTutorial how to create a simple maven project
Tutorial how to create a simple maven project
ssuser29f27f
 
HOW TO SET UP A WORDPRESS BLOG FROM SCRATCH
HOW TO SET UP A WORDPRESS BLOG FROM SCRATCHHOW TO SET UP A WORDPRESS BLOG FROM SCRATCH
HOW TO SET UP A WORDPRESS BLOG FROM SCRATCH
Qweboo Inc.
 
How to install adobe dreamweaver step by step with pictures
How to install adobe dreamweaver step by step with picturesHow to install adobe dreamweaver step by step with pictures
How to install adobe dreamweaver step by step with pictures
Naveen Segaran
 
Selenium training in chennai
Selenium training in chennaiSelenium training in chennai
Selenium training in chennai
Thecreating Experts
 
Cross browser testing
Cross browser testingCross browser testing
Cross browser testing
Sauce Labs
 
Deployment options for mule applications
Deployment options for mule applicationsDeployment options for mule applications
Deployment options for mule applications
sivachandra mandalapu
 
How To Create A Website Using WordPress?
How To Create A Website Using WordPress?How To Create A Website Using WordPress?
How To Create A Website Using WordPress?
Reema
 
How To Install WordPress Using Cpanel
How To Install WordPress Using CpanelHow To Install WordPress Using Cpanel
How To Install WordPress Using Cpanel
Reema
 
How to embed a Voki in a Twispace page
How to embed a Voki in a Twispace pageHow to embed a Voki in a Twispace page
How to embed a Voki in a Twispace page
Petros Michailidis
 
Introduction to TinyMCE Session #1 Unboxing TinyMCE
Introduction to TinyMCE Session #1 Unboxing TinyMCEIntroduction to TinyMCE Session #1 Unboxing TinyMCE
Introduction to TinyMCE Session #1 Unboxing TinyMCE
Tiny
 
Using Selenium 3 0
Using Selenium 3 0Using Selenium 3 0
Using Selenium 3 0
TEST Huddle
 

What's hot (19)

Google chrome silent install
Google chrome silent installGoogle chrome silent install
Google chrome silent install
 
Silent install Adobe Reader DC
Silent install Adobe Reader DCSilent install Adobe Reader DC
Silent install Adobe Reader DC
 
Readme
ReadmeReadme
Readme
 
How to install adobe dreamweaver 4
How to install adobe dreamweaver 4How to install adobe dreamweaver 4
How to install adobe dreamweaver 4
 
Introduction to "TestProject" tool and first testcase with TestProject
Introduction to "TestProject" tool and first testcase with TestProjectIntroduction to "TestProject" tool and first testcase with TestProject
Introduction to "TestProject" tool and first testcase with TestProject
 
Pro watch max pro class ppt5
Pro watch max pro class ppt5Pro watch max pro class ppt5
Pro watch max pro class ppt5
 
My journey and learnings using mule esb part 1
My journey and learnings using mule esb part 1My journey and learnings using mule esb part 1
My journey and learnings using mule esb part 1
 
Installing software
Installing softwareInstalling software
Installing software
 
Tutorial how to create a simple maven project
Tutorial how to create a simple maven projectTutorial how to create a simple maven project
Tutorial how to create a simple maven project
 
HOW TO SET UP A WORDPRESS BLOG FROM SCRATCH
HOW TO SET UP A WORDPRESS BLOG FROM SCRATCHHOW TO SET UP A WORDPRESS BLOG FROM SCRATCH
HOW TO SET UP A WORDPRESS BLOG FROM SCRATCH
 
How to install adobe dreamweaver step by step with pictures
How to install adobe dreamweaver step by step with picturesHow to install adobe dreamweaver step by step with pictures
How to install adobe dreamweaver step by step with pictures
 
Selenium training in chennai
Selenium training in chennaiSelenium training in chennai
Selenium training in chennai
 
Cross browser testing
Cross browser testingCross browser testing
Cross browser testing
 
Deployment options for mule applications
Deployment options for mule applicationsDeployment options for mule applications
Deployment options for mule applications
 
How To Create A Website Using WordPress?
How To Create A Website Using WordPress?How To Create A Website Using WordPress?
How To Create A Website Using WordPress?
 
How To Install WordPress Using Cpanel
How To Install WordPress Using CpanelHow To Install WordPress Using Cpanel
How To Install WordPress Using Cpanel
 
How to embed a Voki in a Twispace page
How to embed a Voki in a Twispace pageHow to embed a Voki in a Twispace page
How to embed a Voki in a Twispace page
 
Introduction to TinyMCE Session #1 Unboxing TinyMCE
Introduction to TinyMCE Session #1 Unboxing TinyMCEIntroduction to TinyMCE Session #1 Unboxing TinyMCE
Introduction to TinyMCE Session #1 Unboxing TinyMCE
 
Using Selenium 3 0
Using Selenium 3 0Using Selenium 3 0
Using Selenium 3 0
 

Similar to SELENIUM SCRIPTS FOR DASHBOARD UI

Selenium
SeleniumSelenium
Selenium Testing
Selenium Testing Selenium Testing
Selenium Testing
Shreshtt Bhatt
 
Selenium webdriver Setup | Selenium Webdriver with Java and Eclipse Setup
Selenium webdriver Setup | Selenium Webdriver with Java and Eclipse Setup Selenium webdriver Setup | Selenium Webdriver with Java and Eclipse Setup
Selenium webdriver Setup | Selenium Webdriver with Java and Eclipse Setup
ComputerTrainingsOnline
 
Step by step - Selenium 3 web-driver - From Scratch
Step by step - Selenium 3 web-driver - From Scratch  Step by step - Selenium 3 web-driver - From Scratch
Step by step - Selenium 3 web-driver - From Scratch
Haitham Refaat
 
Using galen framework for automated cross browser layout testing
Using galen framework for automated cross browser layout testingUsing galen framework for automated cross browser layout testing
Using galen framework for automated cross browser layout testing
Sarah Elson
 
Selenium By Pravin Mishra
Selenium By Pravin MishraSelenium By Pravin Mishra
Selenium By Pravin Mishra
Pravin Mishra
 
Selenium Ide Tutorial
Selenium Ide TutorialSelenium Ide Tutorial
Selenium Ide Tutorial
metapix
 
Selenium webcrawler
Selenium webcrawlerSelenium webcrawler
Selenium webcrawler
Rabia Khalid
 
Step 8_7_ 6_5_4_3_2_ 1 in one_Tutorial for Begineer on Selenium Web Driver-Te...
Step 8_7_ 6_5_4_3_2_ 1 in one_Tutorial for Begineer on Selenium Web Driver-Te...Step 8_7_ 6_5_4_3_2_ 1 in one_Tutorial for Begineer on Selenium Web Driver-Te...
Step 8_7_ 6_5_4_3_2_ 1 in one_Tutorial for Begineer on Selenium Web Driver-Te...
Rashedul Islam
 
Selenium
SeleniumSelenium
Selenium
shrialinda
 
Selenium RC, Selenium WebDriver and HP LoadRunner
Selenium RC, Selenium WebDriver and HP LoadRunnerSelenium RC, Selenium WebDriver and HP LoadRunner
Selenium RC, Selenium WebDriver and HP LoadRunner
Murageppa-QA
 
Selenium using C# by Yogesh Kumar
Selenium using C# by  Yogesh KumarSelenium using C# by  Yogesh Kumar
Selenium using C# by Yogesh Kumar
Software Testing Board
 
Selenium with testng and eclipse ide
Selenium with testng and eclipse ideSelenium with testng and eclipse ide
Selenium with testng and eclipse ide
Testertester Jaipur
 
Integrating Maven with Eclipse
Integrating Maven with EclipseIntegrating Maven with Eclipse
Integrating Maven with Eclipse
Nikhil Bharati
 
Selenium with java
Selenium with javaSelenium with java
Selenium with java
Satyam Pandey
 
Selenium RC
Selenium  RCSelenium  RC
Selenium RC
ANKUR-BA
 
Steps to write Selenium
Steps to write Selenium  Steps to write Selenium
Steps to write Selenium
Rohit Thakur
 
Selenium Training in Chennai
Selenium Training in ChennaiSelenium Training in Chennai
Selenium Training in Chennai
Thecreating Experts
 
Selenium tools-installation
Selenium tools-installationSelenium tools-installation
Selenium tools-installation
ITeLearn
 
Selenium tools-installation
Selenium tools-installationSelenium tools-installation
Selenium tools-installation
IT eLearn
 

Similar to SELENIUM SCRIPTS FOR DASHBOARD UI (20)

Selenium
SeleniumSelenium
Selenium
 
Selenium Testing
Selenium Testing Selenium Testing
Selenium Testing
 
Selenium webdriver Setup | Selenium Webdriver with Java and Eclipse Setup
Selenium webdriver Setup | Selenium Webdriver with Java and Eclipse Setup Selenium webdriver Setup | Selenium Webdriver with Java and Eclipse Setup
Selenium webdriver Setup | Selenium Webdriver with Java and Eclipse Setup
 
Step by step - Selenium 3 web-driver - From Scratch
Step by step - Selenium 3 web-driver - From Scratch  Step by step - Selenium 3 web-driver - From Scratch
Step by step - Selenium 3 web-driver - From Scratch
 
Using galen framework for automated cross browser layout testing
Using galen framework for automated cross browser layout testingUsing galen framework for automated cross browser layout testing
Using galen framework for automated cross browser layout testing
 
Selenium By Pravin Mishra
Selenium By Pravin MishraSelenium By Pravin Mishra
Selenium By Pravin Mishra
 
Selenium Ide Tutorial
Selenium Ide TutorialSelenium Ide Tutorial
Selenium Ide Tutorial
 
Selenium webcrawler
Selenium webcrawlerSelenium webcrawler
Selenium webcrawler
 
Step 8_7_ 6_5_4_3_2_ 1 in one_Tutorial for Begineer on Selenium Web Driver-Te...
Step 8_7_ 6_5_4_3_2_ 1 in one_Tutorial for Begineer on Selenium Web Driver-Te...Step 8_7_ 6_5_4_3_2_ 1 in one_Tutorial for Begineer on Selenium Web Driver-Te...
Step 8_7_ 6_5_4_3_2_ 1 in one_Tutorial for Begineer on Selenium Web Driver-Te...
 
Selenium
SeleniumSelenium
Selenium
 
Selenium RC, Selenium WebDriver and HP LoadRunner
Selenium RC, Selenium WebDriver and HP LoadRunnerSelenium RC, Selenium WebDriver and HP LoadRunner
Selenium RC, Selenium WebDriver and HP LoadRunner
 
Selenium using C# by Yogesh Kumar
Selenium using C# by  Yogesh KumarSelenium using C# by  Yogesh Kumar
Selenium using C# by Yogesh Kumar
 
Selenium with testng and eclipse ide
Selenium with testng and eclipse ideSelenium with testng and eclipse ide
Selenium with testng and eclipse ide
 
Integrating Maven with Eclipse
Integrating Maven with EclipseIntegrating Maven with Eclipse
Integrating Maven with Eclipse
 
Selenium with java
Selenium with javaSelenium with java
Selenium with java
 
Selenium RC
Selenium  RCSelenium  RC
Selenium RC
 
Steps to write Selenium
Steps to write Selenium  Steps to write Selenium
Steps to write Selenium
 
Selenium Training in Chennai
Selenium Training in ChennaiSelenium Training in Chennai
Selenium Training in Chennai
 
Selenium tools-installation
Selenium tools-installationSelenium tools-installation
Selenium tools-installation
 
Selenium tools-installation
Selenium tools-installationSelenium tools-installation
Selenium tools-installation
 

SELENIUM SCRIPTS FOR DASHBOARD UI

  • 1. Seleniumscriptssetup |Manasa Dilipkumar SELENIUM SCRIPTS FOR DASHBOARD UI Steps toinstall Web(Firefox) plugin: The easiest way to download Selenium IDEas a Firefox add-on is from http://seleniumhq.org. Start the Firefox browser and navigate to the Selenium home page at http://seleniumhq.org and click on the Download tab as shown in the following screenshot: On the Download page, go to the Selenium IDEsection and click on the version link as shown in the following screenshot. We suggestthat you download the most currentstable build and as of writing this book the most stable build.
  • 2. Seleniumscriptssetup |Manasa Dilipkumar After downloading, Firefoxwill request your permission to install the add-on. Click on the Allow button as shown in the following screenshot:
  • 3. Seleniumscriptssetup |Manasa Dilipkumar Firefox will download the add-on and display the SoftwareInstallation dialog box as shown in the following screenshot. Click on the InstallNow button: Firefox will install the Selenium IDE. Firefoxwill restartafter the add-on is installed. To launch the Selenium IDE, click on Firefox | Web Developer | Selenium IDEas shown in the following screenshot. You might see a Firefox menu in some cases (on operating systems such as Linux, Ubuntu, and Mac OS X), where you can open the Selenium IDEby clicking on Tools | Selenium IDEfromthe Firefox main menu: Selenium IDEwillbe launched on top of the Firefox window as shown in the following screenshot:
  • 4. Seleniumscriptssetup |Manasa Dilipkumar Steps tofollowto export the Java Code:  Once the GUI is open in Firefox, start the recording.  After the operation is done, run the testcaseto verify the solution.  Once the testcase is efficiently run, export the java code. Java code can be modified later according to our requirements.  Java code will be tested in Eclipse, and run like a JUNITtc and check if it is working.
  • 5. Seleniumscriptssetup |Manasa Dilipkumar Configuring Eclipse torunjava code for dashboard:  Download Java: http://www.oracle.com/technetwork/java/javase/downloads/index.html  Download the eclipse:  Download the SeleniumJava client driver from:  http://docs.seleniumhq.org/download/
  • 6. Seleniumscriptssetup |Manasa Dilipkumar  Configure the Eclipse towork with the WebDriver:  Create a newproject throughFile ? New? Java Project. Name the project as “MyProject”.  Right-click on the newly created projectand select New > Package, and name that packageas “MyPackage”.  Create a new Java class under MyPackageby right-clicking on it and then selecting New > Class, and then name it as “MyClass”. Your Eclipse IDE should look like the image below:
  • 7. Seleniumscriptssetup |Manasa Dilipkumar  Add JAR files tothe library:
  • 9. Seleniumscriptssetup |Manasa Dilipkumar  Finally, click on the OK button and we are done with importing Selenium libraries into our project. Now, we are ready to write our test script in Eclipse and run it in WebDriver. WORKING ON DASHBOARD TABS:  Write java code for all tabs and subtabs in dashboard.  Run the code in eclipse toverify if the pages are running properly or not.