1 / 17

Selenium open source tools

"Quontra Solutions is the premier online training provider with an in-depth intention to deliver quality online training in selenium tool which is the most industry driven automation tool. Become a selenium automation tester in USA with hands-on experience earned at the time of training. This course covers basic selenium tool introduction to the general concepts of automation tool and its role in test activities. It is an added advantage to the people who don’t have time to go for regular class room training and who wish to take online training on their own pace from their office or home. Live online training with demonstrative course structure and quizzes, exercises and live assignments to prove their learning experience. At the end of the course you are able to handle your own projects by creating test cases and web applications with selenium. Selenium course features: • Real world projects to get practical based experience • Online tests to explore the resource learning • Experienced certified trainers as instructors • One to one personalized training with desktop access • Knowledge testing environment and product life cycle • Case studies and state of art library to access study material • 24/7 expertise support to solve the testing issues • Resume build assistance to win in interviews Attend Free Demo before Join the Class. QUONTRA SOLUTIONS 204-226 Imperial Drive, Rayners Lane, Harrow HA27HH Email: info@quontrasolutions.co.uk Contact: 44(0)-20-3734-1498 / 1499 Web: http://www.quontrasolutions.co.uk

Télécharger la présentation

Selenium open source tools

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. Quontra solutions Selenium Open Source Tool Call us @ 20-3734-1498 / 1499 www.quontrasolutions.co.uk

  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.quontrasolutions.co.uk Call us @ 20-3734-1498 / 1499

  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/

  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.quontrasolutions.co.uk Call us @ 20-3734-1498 / 1499

  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.quontrasolutions.co.uk Call us @ 20-3734-1498 / 1499

  6. Test Creation Demo • Create test case to log into the gallery • Create test case to log out of the gallery www.quontrasolutions.co.uk Call us @ 20-3734-1498 / 1499

  7. Start Pixory Connect to the Server Go to the Login Screen Hit the Record Button www.quontrasolutions.co.uk Call us @ 20-3734-1498 / 1499

  8. Type in Username and Password IDE should update Hit record again to stop Hit submit www.quontrasolutions.co.uk Call us @ 20-3734-1498 / 1499

  9. Add assertTextPresent and type the text to search for Hit play to make sure your test is successful www.quontrasolutions.co.uk Call us @ 20-3734-1498 / 1499

  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.quontrasolutions.co.uk Call us @ 20-3734-1498 / 1499

  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.quontrasolutions.co.uk Call us @ 20-3734-1498 / 1499

  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.quontrasolutions.co.uk Call us @ 20-3734-1498 / 1499

  13. Test Suite www.quontrasolutions.co.uk Call us @ 20-3734-1498 / 1499

  14. Test Suite Execution Control Test Cases Steps of the test case Application being tested www.quontrasolutions.co.uk Call us @ 20-3734-1498 / 1499

  15. Test Runner Control www.quontrasolutions.co.uk Call us @ 20-3734-1498 / 1499

  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.quontrasolutions.co.uk Call us @ 20-3734-1498 / 1499

  17. For More Details Contact us at Quontra Solutions www.quontrasolutions.co.uk Call us @ 20-3734-1498 / 1499

More Related