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

PPTX
How To Install Sonar Qube Plugin In Anypoint Studio
PPTX
How to install sonarqube plugin in anypoint
PPTX
PPTX
How to develope plugin in wordpress: 6 simple steps.
PPSX
LWC Local development
PPT
Installing mule
PPTX
Integrate to retrieve data microsoft azure
PDF
Pc version help manual v2
How To Install Sonar Qube Plugin In Anypoint Studio
How to install sonarqube plugin in anypoint
How to develope plugin in wordpress: 6 simple steps.
LWC Local development
Installing mule
Integrate to retrieve data microsoft azure
Pc version help manual v2

What's hot (19)

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

Similar to SELENIUM SCRIPTS FOR DASHBOARD UI (20)

PPTX
Selenium Testing
DOCX
Selenium webdriver Setup | Selenium Webdriver with Java and Eclipse Setup
PPTX
Step by step - Selenium 3 web-driver - From Scratch
PPTX
Using galen framework for automated cross browser layout testing
PPT
Selenium By Pravin Mishra
PDF
Selenium Ide Tutorial
PPTX
Selenium webcrawler
DOCX
Step 8_7_ 6_5_4_3_2_ 1 in one_Tutorial for Begineer on Selenium Web Driver-Te...
PPT
Selenium
PPTX
Selenium RC, Selenium WebDriver and HP LoadRunner
PPT
Selenium using C# by Yogesh Kumar
PDF
Selenium with testng and eclipse ide
PDF
Integrating Maven with Eclipse
PPTX
Selenium with java
PPSX
Selenium RC
PPT
Steps to write Selenium
PPT
Selenium Training in Chennai
PDF
Selenium tools-installation
PDF
Selenium tools-installation
Selenium Testing
Selenium webdriver Setup | Selenium Webdriver with Java and Eclipse Setup
Step by step - Selenium 3 web-driver - From Scratch
Using galen framework for automated cross browser layout testing
Selenium By Pravin Mishra
Selenium Ide Tutorial
Selenium webcrawler
Step 8_7_ 6_5_4_3_2_ 1 in one_Tutorial for Begineer on Selenium Web Driver-Te...
Selenium
Selenium RC, Selenium WebDriver and HP LoadRunner
Selenium using C# by Yogesh Kumar
Selenium with testng and eclipse ide
Integrating Maven with Eclipse
Selenium with java
Selenium RC
Steps to write Selenium
Selenium Training in Chennai
Selenium tools-installation
Selenium tools-installation
Ad

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.