Selenium HP Web Test Tool Training

Slides:



Advertisements
Similar presentations
Help File For User Creation Click the “Course” button for Creating/Add User.
Advertisements

Copyright © 2005 Rockwell Automation, Inc. All rights reserved. 1 Micro Logix 1100 RSLogix 500 LAB#2 Timing, Counting & Comparing.
Networking By: Matt Motl… Programmer Brent Everson… Programming Mentor.
DNR-322L & DNR-326.
Selenium HP Web Test Tool Training
Web based testing: Chucklist and Selenium
Selenium – Testing Tool. What is Selenium? Selenium is a robust set of tools that supports rapid development of test automation for web-based applications.
1 Test Automation For Web-Based Applications Selenium HP Web Test Tool Training Portnov Computer School.
Selenium Web Test Tool Training Using Ruby Language Discover the automating power of Selenium Kavin School Kavin School Presents: Presented by: Kangeyan.
So – You want to learn how to put a BLOG article onto the state website. (Note: If you have not done so, you will need to review the web training provided.
Extending HTML CPSC 120 Principles of Computer Science April 9, 2012.
Session Objectives • Login to PeopleSoft Test Framework(PTF)
Selenium Web Test Tool Training Using Ruby Language Discover the automating power of Selenium Kavin School Kavin School Presents: Presented by: Kangeyan.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Debugging Visual Basic.NET Programs ► ► Use debugging tools ► ► Set breakpoints and correct mistakes. ► ► Use a Watch and Local window to examine variables.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Introduction Selenium IDE is a Firefox extension that allows you to record, edit, and debug tests for HTML Easy record and playback Intelligent field selection.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Automated Web Page Testing with Selenium IDE: An Overview Mary Ann May-Pumphrey 11/20/08.
Modal Dialogs. What is a Modal Dialog? A modal dialog is a separate window that remains in focus until it is closed by the user. During this time the.
Test Automation For Web-Based Applications Portnov Computer School 1 Selenium HP Web Test Tool Training.
Starting Associate Dictation: To start the Associate Dictation double click the Associate dictation icon on your desktop or from the preferred link set.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Login & Logout. What is a Login & Logout Test? A Login & Logout test will validate a user authentification process by simulating a user login-logout sequence.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Test Automation For Web-Based Applications Portnov Computer School.
Kamdhenu Website is used to Add agent in Kamdhenu offer under Group head Pfiger Software Technologies Pvt. Ltd.
 Overview & Major Changes  Test Administrator View ◦ How to create a session ◦ How to approve students ◦ Practice  Student View ◦ Understand.
SCRIPT RECORDING [webc mode].
June 17, 2009 Office 2007 Tips & Tricks.
Creating and Using Your FSA ID: An Overview
Selenium HP Web Test Tool Training
MyITLab First Day of Class Registration Walkthrough
Using Track Changes Adler Graduate School.
Selenium HP Web Test Tool Training
Web Design and Development
Download/Upload Receipts
Computer Programming I
Software Quality Assurance
BTEC NCF Dip in Comp - Unit 15 Website Development Lesson 12 – Publish and Test Mr C Johnston.
New Mexico Emergency Operations Center (NMEOC) Basic ETeam Training
Selenium HP Web Test Tool Training
Unit 27 - Web Server Scripting
MicroEconomix 1500 RSLogix 500 LAB#2
Data Entry Interface (DEI) Overview
Selenium HP Web Test Tool Training
The Student Experience
How to Create and Start a Test Session
Test Automation For Web-Based Applications
Electronic Article Research from METU Library
Selenium HP Web Test Tool Training
Web UI testing automation and Selenium
Data Entry Interface (DEI) Overview
HP ALM Defects Module To protect the confidential and proprietary information included in this material, it may not be disclosed or provided to any third.
Creating and Linking New Pages
MyITLab First Day of Class Registration Walkthrough
Joining an eService Class.
Joining an eService Class.
Unemployment Insurance Agency Michigan Web Account Manager
Selenium HP Web Test Tool Training
MyITLab First Day of Class Registration Walkthrough
Data Entry Interface (DEI) Overview
Test Cases, Test Suites and Test Case management systems
Selenium HP Web Test Tool Training
Selenium Web Test Tool Training Using Ruby Language
Test Automation For Web-Based Applications
Selenium IDE Installation and Use.
New Features in Security Management
Presentation transcript:

Selenium HP Web Test Tool Training Portnov Computer School Selenium HP Web Test Tool Training Test Automation For Web-Based Applications Presenter: Ellie Skobel

Day 1 Recording and Running Selenium Tests

Recording An Automated Test Open Firefox browser Navigate to http://hrm.seleniumminutes.com (*1) Go to Tools  Selenium IDE (*2) *1 *2 The Record button is ON by default

The Record button is ON by default Demo Test The Record button is ON by default Make sure Record button is ON! Go to the Browser window Login using (*2): Login Name: admin Password: Password Click Login button *1 *2 Login: admin Password: Password Then click Login

Demo Test (part 2) Hold your mouse over “Welcome Admin” text Right-click and select assertText Click logout link *2 Mouse over “Welcome Admin” *1 NOT assertTextPresent Select assertText

Click here to Stop recording Go to Selenium IDE Click the red button to STOP recording All your actions are recorded and displayed sequentially under Command Table Tab Click here to Stop recording

We created our first automated test script What did we accomplish? Test-Case Objective Ensure Valid User Login Steps In the login textbox type demo. In the password textbox type demo. Click Submit button Verify that a correct user name is displayed Logout Expected Result OrangeHRM index page is loaded Correct username is displayed as part of the greeting. “Welcome demo” We created our first automated test script Manual Test-Case Automated Test-Case

Running Selenium Automated Test Make sure the Firefox browser is still open Go to Selenium IDE and click “Play current test case” button Make the test case playback in slow mode Click to play the Test Case

Interpreting Colors If you see all the command line rows turn Green color, then the test has passed. Light Green means the code executed without problems. Dark Green means the test result of the command evaluated to true. If any part of the test failed it will be shown with Red color.

Debugging Examine the result of the script. What went WRONG??? Time is needed to validate the login information… The test must WAIT for the next web page to load before proceeding.

Select clickAndWait command Editing Click the 3rd to last row Modify the command field Replace “click” with “clickAndWait” command Re-play the test… Click this row Select clickAndWait command

Helpful Notes: At least one Firefox browser window must be open Play back every automated test to ensure expected behavior. Keep playback in slow mode when you begin debugging. Then playback in fast mode to finish debugging. Placing Browser window and Selenium IDE windows side by side is a convenient way of tracking test execution step by step.