0
Pubman and Selenium tests
www.Seleniumonlinetraining.info
What is Selenium
• Selenium is a suite of Web application test automation
tools for any browser on any operating system
– ...
Supported Browsers
* Tests developed on Firefox via Selenium-IDE can be executed on any other supported
browser via a simp...
Selenium Core
• Selenium Core was developed for an internal application
at ThoughtWorks
• The Core is written in JavaScrip...
Selenium IDE
• The IDE is a record and playback tool with built-in debugger and
editor
• The IDE is an add-on for Mozilla ...
Selenium IDE
www.Seleniumonlinetraining.info
Selenium RC
• is written in Java for portability and is executed from the
command line
• Selenium-RC components are:
– The...
Selenium RC
www.Seleniumonlinetraining.info
www.Seleniumonlinetraining.info
Selenium Grid
• The Grid enables you to run tests in parallel on multiple machines
– Tests can be ran in parallel for redu...
Selenium Grid
www.Seleniumonlinetraining.info
Selenium IDE Test demo in
https://zim01.gwdg.de/repos/smc/trunk/05_Implementation/0
Selenium RC test demo in
…/pubman_ear/...
www.Seleniumonlinetraining.info
www.Seleniumonlinetraining.info
Selenium IDE
The list of
actions in the
actual test
case
to execute
The root of web
application you
want to test
The log o...
Selenium IDE
Execution
Commands
Record test
actions
Specify commands,
including asserts
Reference of the
currently selecte...
Running the Test Suite
• Execute the test suite using the Selenium
IDE plug-in TestRunner.html
bug? http://jira.openqa.org...
Test Suite
Execution
Control
Test Cases
Steps of the
test case
Application
being tested
www.Seleniumonlinetraining.info
TestRunner Control
www.Seleniumonlinetraining.info
TestRunner ControlPause/Play
Execution
Step through
Execution
Control Speed
of Execution
Summary of
the Test
View the log ...
• With Selenium IDE
www.Seleniumonlinetraining.info
Upcoming SlideShare
Loading in...5
×

Pubman and selenium_tests

167

Published on

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.

* Selenium Overview
* Selenium IDE Introduction
* Installing Selenium IDE
* Running a simple test
* Installing useful Tools for writing test cases
* Creating Selenium Test Suite
* SDLC and Testing Evolution
* General Testing Principles and Tester’s role
* Testing Life Cycle and Types of Testing
* Defect Management
* Test Automation, Objectives and ROI
* Selenium IDE – Advanced Features
* Software Testing Life Cycle
* Selenium Test Runner, DOM and XPath
* Selenium Test Commands, Selenium Core concepts
* Installation of JDK
* Selenium Scripting
* Installation of JUnit, TestNG
* JUnit Concepts
* JUnit Selenium Test Cases
* TestNG Concepts
* TestNG Selenium Test Cases
* Installation and configuration of Selenium Remote Control with Eclipse (Java)
* Using Selenium RC
* Using Selenium RC in interactive mode
* Frequently used Selenium commands
* Handling environments not supported by Selenium
* Data Driven Testing using Selenium RC
* Selenium Grid overview
* Studying the SRS document for the Case Study
* Creating and Executing Selenium IDE test cases
* Test Results Analysis and Reporting
* Analyze the Selenium IDE test cases conversion to RC.
* Creating and Executing Selenium RC test cases
* Running the Tests in Selenium Grid mode
Course Expectations
At the end of the course, you will be able to:
* Understand Testing process and Automation requirements
* Describe the function and purpose of Selenium
* Install and configure Selenium and other required tools
* Create Test Cases and Record automated scripts
* Execute and Play back automated scripts
* View and analyze results
* Modify scripts to extend the capability to test the application
* Configure Selenium Remote Control with Eclipse
* Run Selenium RC in regular and interactive mode
* Work with most frequently used Selenium RC commands
* Have a working knowledge of Data Driven Framework using Selenium RC
* Have an overview of Selenium Grid
* Have access to documentation on Selenium IDE Commands Cheat-sheet
* Have access to documentation on Selenium RC Commands Cheat-sheet
We also offer Training for:
» ISTQB, ISEB, CSTE Training
» QTP CERTIFICATION Training
» LOADRUNNER CERTIFICATION Training

* Resume preparation and Interview assistance will be provided.

For any further details please contact +91-9502991277 or
visit www.mindqonline.com
Please mail your queries to online@mindqsystems.com

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

  • Be the first to like this

No Downloads
Views
Total Views
167
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • seleniumonlinetraining.info
  • Transcript of "Pubman and selenium_tests"

    1. 1. Pubman and Selenium tests www.Seleniumonlinetraining.info
    2. 2. What is Selenium • Selenium is a suite of Web application test automation tools for any browser on any operating system – Firefox, Internet Explorer, Safari, Opera, Chrome – Windows, OS X, Linux, Solaris • Selenium is broken up into 4 primary components – Selenium Core – Selenium IDE – Selenium RC – Selenium Grid • http://seleniumhq.org What is Selenium • Selenium is a suite of Web application test automation tools for any browser on any operating system – Firefox, Internet Explorer, Safari, Opera, Chrome – Windows, OS X, Linux, Solaris • Selenium is broken up into 4 primary components – Selenium Core – Selenium IDE – Selenium RC – Selenium Grid • http://seleniumhq.org www.Seleniumonlinetraining.info
    3. 3. Supported Browsers * Tests developed on Firefox via Selenium-IDE can be executed on any other supported browser via a simple Selenium-RC command line. www.Seleniumonlinetraining.info
    4. 4. Selenium Core • Selenium Core was developed for an internal application at ThoughtWorks • The Core is written in JavaScript, so it runs directly in the browser • Tests run directly on the application web server • Selenese is a command language written into HTML tables • Problems: – cannot switch between http and https protocols. – cannot go from one domain to another Command Target Value www.Seleniumonlinetraining.info
    5. 5. Selenium IDE • The IDE is a record and playback tool with built-in debugger and editor • The IDE is an add-on for Mozilla Firefox only • The IDE automatically creates test scripts in the Selenese HTML table format • The IDE can generate code into a wide variety of languages and test frameworks – HTML Selenese, C#, Java, Perl, PHP, Python, Ruby – Bromine, JUnit, NUnit, RSpec, Test::Unit, TestNG, unittest • Does not directly support: – condition statements, iteration – logging and reporting of test results – error handling, particularly unexpected errors – database testing – test case grouping, test case dependency – screenshot capture of test failures www.Seleniumonlinetraining.info
    6. 6. Selenium IDE www.Seleniumonlinetraining.info
    7. 7. Selenium RC • is written in Java for portability and is executed from the command line • Selenium-RC components are: – The selenium Server which launches and kills browsers, interprets and runs the Selenese commands passed from the test program, and acts as an HTTP proxy, intercepting and verifying HTTP messages passed between the browser and AUT. – client libraries which provide the interface between each programming language and the Selenium-RC Server • client programming languages: C#, Java, Perl, PHP, Python, Ruby www.Seleniumonlinetraining.info
    8. 8. Selenium RC www.Seleniumonlinetraining.info
    9. 9. www.Seleniumonlinetraining.info
    10. 10. Selenium Grid • The Grid enables you to run tests in parallel on multiple machines – Tests can be ran in parallel for reduced execution time – Test can be ran on various browser and operating system combinations – Generates a collated report from all test machines • The Grid can be run on a server farm or in the Cloud – The tests are distributed by the Hub server to multiple Selenium RC machines – The tests can be ran by various Cloud computing services such as Amazon EC2, Sauce Labs, BrowserMob, and PushToTest – The Grid is written in Java for portability and is executed from the command line www.Seleniumonlinetraining.info
    11. 11. Selenium Grid www.Seleniumonlinetraining.info
    12. 12. Selenium IDE Test demo in https://zim01.gwdg.de/repos/smc/trunk/05_Implementation/0 Selenium RC test demo in …/pubman_ear/src/test/java/ Pubman Selenium tests www.Seleniumonlinetraining.info
    13. 13. www.Seleniumonlinetraining.info
    14. 14. www.Seleniumonlinetraining.info
    15. 15. Selenium IDE The list of actions in the actual test case to execute The root of web application you want to test The log of the events that were executed, including any errors or warning that may have occurred www.Seleniumonlinetraining.info
    16. 16. Selenium IDE Execution Commands Record test actions Specify commands, including asserts Reference of the currently selected command www.Seleniumonlinetraining.info
    17. 17. Running the Test Suite • Execute the test suite using the Selenium IDE plug-in TestRunner.html bug? http://jira.openqa.org/browse/SIDE-222 chrome://selenium-ide/content/selenium/TestRunner.html? baseURL=<BASE>&test=file:///<TEST SUITE FILE>&auto=true www.Seleniumonlinetraining.info
    18. 18. Test Suite Execution Control Test Cases Steps of the test case Application being tested www.Seleniumonlinetraining.info
    19. 19. TestRunner Control www.Seleniumonlinetraining.info
    20. 20. TestRunner ControlPause/Play Execution Step through Execution Control Speed of Execution Summary of the Test View the log of the current execution View the DOM of the current Page being tested Highlight Elements in the Execution Run All Tests Run Selected Test www.Seleniumonlinetraining.info
    21. 21. • With Selenium IDE www.Seleniumonlinetraining.info
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×