1 / 17

Selenium online training(www.mindqonline.com),

MindQ are pioners in offering real time industrail experts hands Testing tools online training. along with Real Time Project senarios. All the sessions are completely PRACTICAL.- Learn selenium from experts having more that 6 years of experience in selenium projects- Hands on goal oriented training with projects- 75 hours of videos on selenium- Interview preparation/questions on selenium- All the types of frameworks are also covered in the training.(Datadriven, hybrid, Page object model, Keyword driven frameworks)All the components in selenium will be covered. Components like:1) Selenium IDE2) Webdriver3) Selenium RC4) Grid5) Selenium Database testing6) Flash Testing7) SVN8) Maven9) Applet testing10) Junit11)Test ng12) Hybrid framework13) Data driven framework14) Page object modelJava is also taught during the training. We offer the best selenium training in the market.About the tool:- Selenium is a browser automation tool- It works only on browsers and cannot automate desktop based applications- Selenium IDE only tests the applications in Mozilla firefox- WebDriver and Selenium RC can be used to test the application in multiple browsers- Webdriver is also known as selenium 2.0- RC is also known as 1.0- Selenium Grid is used to test applications parallely in browsers- Junit and testng are frameworks which can be used to implement selenium tests. Reports are also generated from these frameworks- Selenium tool can be implemented in various programming languages- Its more famous with java language. 70% of the industry uses java with selenium* Resume preparation and Interview assistance will be provided. For any further details please contact 91-9502991277 orvisit www.mindqonline.comPlease mail your queries to online@mindqsystems.com

guest80359
Télécharger la présentation

Selenium online training(www.mindqonline.com),

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Selenium Open Source Tool www.seleniumcoe.com

  2. What is Selenium? • Javascript framework that runs in your web-browser • Works anywhere Javascript is supported • Hooks for many other languages • Java, Ruby, Python • Can simulate a user navigating through pages and then assert for specific marks on the pages • All you need to really know is HTML to start using it right away www.seleniumcoe.com

  3. Where to get it? • You can use Selenium-Core and customize everything • But it is easier to just get a Firefox plug-in “Selenium-IDE” that helps you “record” test cases • You can record how an app is being used and then play back those recordings followed by asserts • Get everything at: www.openqa.org/selenium/ www.seleniumcoe.com

  4. The root of web application you want to test The list of actions in the actual test case to execute The log of the events that were executed, including any errors or warning that may have occurred Selenium IDE www.seleniumcoe.com

  5. Selenium IDE Record test actions Execution Commands Try the test in the Web based TestRunner Reference of the currently selected command Specify commands, including asserts www.seleniumcoe.com

  6. Test Creation Demo • Create test case to log into the gallery • Create test case to log out of the gallery www.seleniumcoe.com

  7. Start Pixory Connect to the Server Go to the Login Screen Hit the Record Button www.seleniumcoe.com

  8. Type in Username and Password IDE should update Hit record again to stop Hit submit www.seleniumcoe.com

  9. Add assertTextPresent and type the text to search for Hit play to make sure your test is successful www.seleniumcoe.com

  10. Creating a Test Suite • A Test Suite in Selenium is just an HTML file that contains a table of links to tests • <html> • <head> • <meta content="text/html; charset=ISO-8859-1" • http-equiv="content-type"> • <title>Demo Test Suite</title> • </head> • <body> • <table id="suiteTable"> • <tbody> • <tr><td> • <b>Demo Test Suite</b> • </td></tr> • <tr><td> • <a href="./testLogin.html">TestLogin</a> • </td></tr> • <tr><td> • <a href="./testLogout.html">TestLogout</a> • </td></tr> • </tbody> • </table> • </body> • </html> www.seleniumcoe.com

  11. Executing the Test Suite • Selenium Core is a collection of Javascript and HTML with iFrames • Due to security concerns Core must be deployed within the same server as the application being hosted • The simplest way to run Pixory is to just run the Java application and let it use its own server • Problems using Core with Pixory • Selenium IDE is a plug-in for Firefox and thus can go around these restrictions www.seleniumcoe.com

  12. Running the Test Suite • We basically want to execute the test suite using the Selenium IDE plug-in TestRunner.html chrome://selenium-ide/content/selenium/TestRunner.html?baseURL=<BASE>&test=file:///<TEST SUITE FILE>&auto=true chrome://selenium-ide/content/selenium/TestRunner.html?baseURL=http://localhost:8081&test=file:///Users/ms333/projects/classes/running/v_and_v/hw3/selenium/test/TestSuite.html&auto=true www.seleniumcoe.com

  13. Test Suite www.seleniumcoe.com

  14. Test Suite Execution Control Test Cases Steps of the test case Application being tested www.seleniumcoe.com

  15. Test Runner Control www.seleniumcoe.com

  16. Test Runner Control Pause/Play Execution Step through Execution Run Selected Test Control Speed of Execution Run All Tests Highlight Elements in the Execution Summary of the Test View the DOM of the current Page being tested View the log of the current execution www.seleniumcoe.com

  17. TestRunner Demo • Execute Tests created inside the Firefox TestRunner www.seleniumcoe.com

More Related