Uploaded 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.

More in: Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
4,051
On Slideshare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
102
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