• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
selenium
 

selenium

on

  • 371 views

IDE+RC+GRID components basic description with screen shots

IDE+RC+GRID components basic description with screen shots

Statistics

Views

Total Views
371
Views on SlideShare
371
Embed Views
0

Actions

Likes
0
Downloads
19
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • 1) Test Runner allows you to run the test case in a browser loaded with the Selenium-Core Test Runner. 2) Test runner is invoked by clicking the below Shown button in the IDE
  • CLIENT/SERVER MODEL-> allows client libraries to execute tests on a browser controlled by the server.CLIENT LIBRARIES-> provides the API to program tests and execute them on the serverBACKDROPS->Conditional statements ,Loops ,Exception handling ,Reporting,Test fixtures and data-driven tests ,Test dependencies,Taking screenshots
  • Selenium server is the program that drives the browserIt embeds Selenium Core framework and injects it into the browserIt communicates with the running test client and drives the browserClient tests sends commands that the server interprets in order to drive the browserThe server sends back results to the clientClient and server communicates via HTTP GETs and POSTs so you can easily plug intoServer is configurable at startup via command-line options. use java -jar selenium-server.jar -h to see the list of options
  • 1->Test client sends commands to the Selenium Hub.2->Selenium Hub redistributes tests on the Grid environment.Each server can have a different environmentYou target your tests to a specific environment3->Selenium RC servers run on servers and drives browser instances4->Tests run in parallel against the application server
  • Since Selenium Grid is more powerful ,hard to implement and maintain it is managed by another tool, like continuous integration tool Hudson Selenium Grid plugin for hudson exists: it automatically deploys a Selenium Grid on your hudson infrastructure!Integrates build, tests and reporting features--------------------------------------------------------------------------------------1)Developer checks-in their code onto a SCM2)3)Hudson deploys the application on a application server4)Hudson starts the slaves and send them the tests5)The Selenium slaves launches browsers and tests the app .6)Hudson produces reports, sends emails or IM to warn the team in case of failure
  • 1)Copy the code that was formatted in the selenium IDE(to user required language here it is to java junit format and paste it in the Eclipse IDE script template.2) Make sure the class name that you created and the class name in the script are same3) Make sure that you have add the methods setUp and tearDown
  • 1)This method prepares the selenium server to run the test. This method basically hooks to the selenium server and opens up the base URL of the application2) The methods with the name test will actually run the tests on the application. There can be any number of test methods in the app.3) This method will run after the end of the test and will disconnect th current test with the server and makes room for the next tests to be run .

selenium selenium Presentation Transcript

  • SELENIUM IDE SELENIUM COMPONENTS SELENIUM RC SELENIUM GRID
  • }
  • 1 This is where you have copy the Java code that you formatted in the Selenium IDE 2 3 4