Your SlideShare is downloading. ×
Selenium
Selenium
Selenium
Selenium
Selenium
Selenium
Selenium
Selenium
Selenium
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Selenium

4,122

Published on

Selenium is an open source web test tool that runs in the browser. It can be run directly in most modern web browsers. Selenium comes in three formats selenium core, IntegratedDevelopmentEnvironment …

Selenium is an open source web test tool that runs in the browser. It can be run directly in most modern web browsers. Selenium comes in three formats selenium core, IntegratedDevelopmentEnvironment and RemoteControl. IDE comes as a Firefox plug-in where as in RC; we have server and client programs. We can convert the generated scripts in IDE into Java, C#, Perl, Php, Python, Ruby Scripts. We can do most of the testing in selenium with some effort. Selenium can be deployed on windows, Linux, and Mac. We can do functional testing, browser compatibility testing.

Published in: Technology, Business
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
4,122
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
103
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Selenium 1
  • 2. Selenium  Selenium is a web testing framework that runs in any browser, suited for: functional testing and Browser compatibility testing.  test cases can be written in a number of popular programming languages (Java, .NET, Perl, Python and Ruby)  it can be run directly in most modern web browsers. Selenium can be deployed on windows, Linux, and Mac. 2
  • 3. Selenium Projects  Selenium IDE  Selenium IDE is a Firefox add-on that makes it easy to record and playback tests in Firefox.  Selenium RC  Selenium remote control is a system that allows to simulate web browsers locally using Java, C#, Perl, Php, Python, Ruby Scripts 3
  • 4. How to use selenium  install Selenium as a firefox plug-in  http://selenium-ide.openqa.org/download.jsp  http://seleniumhq.org/ 4
  • 5. Selenium IDE 5
  • 6. Selenium RC  Why RC?  Data driven testing.  DB testing.  Checking values from API.  How RC works?
  • 7. Common commands  selenium.type(“field name", “value");  selenium.click(“button name");  selenium.click("link=link name");  selenium.waitForPageToLoad(“No. of milliseconds");  selenium.open(“URL");  selenium.select(“field name", "label=PROVVISORIO");  String Nazione = selenium.getTable("//tr[3]/td/table.5.1");  verifyEquals(String, String);  verifyTrue(selenium.isTextPresent("Cliente"));  verifyFalse(selenium.isTextPresent("Cliente"));
  • 8.  Report customizing  field validation  DB checking  Running more than one files

×