Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.

Slides:



Advertisements
Similar presentations
Intro to HTML. HTML HTML = HyperText Markup Language Used to define the content of a webpage HTML is made up of tags and attributes Content.
Advertisements

Part 2 Introduction to CSS. CSS Syntax – class selector 1 With the class selector you can define different styles for the same type of HTML element. You.
Cascading Style Sheets. CSS stands for Cascading Style Sheets and is a simple styling language which allows attaching style to HTML elements. CSS is a.
HTML5 and CSS3 Illustrated Unit E: Inserting and Working with Links
Tutorial 3 Introducing Cascading Style Sheets. XP New Perspectives on Blended HTML, XHTML, and CSS2 Objectives Learn about Cascading Style Sheets Write.
Chapter 3 Working with Text and Cascading Style Sheets.
AD Intermediate Computer Graphics | spring 2008 | Daria Tsoupikova | School of Art and Design | UIC CSS Cascading Style Sheets.
 Sertifi automates the process of sending and obtaining documents for approval and signature. A completely secure web-based solution, senders and signers.
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.
STYLING THE WEBSITE - EXTERNAL CSS BY JORGE MARTINEZ.
Robert Vitolo CS430.  CSS (Cascading Style Sheets)  Purpose: To provide a consistent look and feel for a set of web pages To make it easy to update.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
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.
A really fairly simple guide to: mobile browser-based application development (part 4, JQuery & DOM) Chris Greenhalgh G54UBI / Chris Greenhalgh.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Styling and theming Build campaigns in style. What we'll look at... How a web document is structured How HTML and CSS fit together Tools you will need.
Introduction to Cascading Style-sheets (CSS) Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 1.
Css. Definition Cascading style sheet (CSS)  It is a simple mechanism for adding style (e.g. fonts, colors, spacing) to Web documents.
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 to Programming the WWW I CMSC Winter 2003 Lecture 10.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
JavaScript Library. What is jQuery jQuery is a lightweight JavaScript library. The purpose is to make it easier to use JavaScript code on your website.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Introduction to CSS. Why CSS? CSS Provides Efficiency in Design and Updates CSS relatively easy to use Can give you more flexibility and control Faster.
XML and Object Serialization. Structure of an XML Document Header Root Element Start Tags / End Tags Element Contents – Child Elements – Text – Both (mixed.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
A CSS file consists of rule sets. H1 { color: navy; } selector property value Within the brackets are one or more rules /*This rule adjust the styles.
Document Object Model Nasrullah. DOM When a page is loaded,browser creates a Document Object Model of the Page.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
© ExplorNet’s Centers for Quality Teaching and Learning 1 Objective % Understand advanced production methods for web-based digital media.
Chapter 6 Murach's JavaScript and jQuery, C6© 2012, Mike Murach & Associates, Inc.Slide 1.
Intro to HAML By Me, Christopher Judge. What is a HAML? Known as the HTML Abstraction Markup Language. Which uses, “functions as a replacement for inline.
HTML5 and CSS3 Illustrated Unit C: Getting Started with CSS.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Cascading Style Sheets - CSS December 20, 2008 NTPCUG Expression Web SIG.
CASCADING STYLE SHEET CSS. CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to solve a problem.
HTML5 and CSS3 Illustrated Unit E: Inserting and Working with Links.
Introduction of Selenium Eli Lu 2016/10/13. Outline What is selenium ? Selenium Projects Selenium Sponsors Easy to use Useful Feature & Tools Useful Links.
Getting Started with CSS
Programming Web Pages with JavaScript
Selenium HP Web Test Tool Training
Selenium HP Web Test Tool Training
Xpath creation.
Selenium HP Web Test Tool Training
Selenium WebDriver Web Test Tool Training
Intro to CSS CS 1150 Fall 2016.
CASCADING STYLE SHEET CSS.
Selenium HP Web Test Tool Training
Test Automation For Web-Based Applications
Intro to CSS CS 1150 Spring 2017.
Test Automation For Web-Based Applications
Selenium HP Web Test Tool Training
Inserting and Working with Links
>> Dynamic CSS Selectors
Test Automation For Web-Based Applications
Selenium HP Web Test Tool Training
Test Automation For Web-Based Applications
Working with Text and Cascading Style Sheets
Test Automation For Web-Based Applications
Test Automation For Web-Based Applications
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Selenium HP Web Test Tool Training
Murach's JavaScript and jQuery (3rd Ed.)
Test Automation For Web-Based Applications
JavaScript and the DOM MIS 2402 Maxwell Furman Department of MIS
Presentation transcript:

Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel

2 Day 2 Locating Elements

 Required for most Selenium commands  assertText  storeSelectOptions  click  type and many others  Identifies an element in the content of the web application  Consists of the location strategy followed by the location ◦ locatorType=location

 Locators starting with “document” will use the DOM locator strategy  dom = document.forms[0].username  document.forms[0].elements['username‘]  Locators starting with “//” will use the XPath locator strategy   xpath=/html/body/form/input[4]  Locators that don’t specify a valid locator type will default to using the identifier locator.  identifier=loginForm  username

CSS selectors can be used by Selenium as another locating strategy  To locate css class append the class name to the parent tag name using a period (.)  To locate css id append the id name to the parent tag name using a pound sign (#)  To locate by property, include the property name and value in square brackets next to the parent tag name. css=input.required passfield [type=“password"] css=input.required passfield [type=“password"] css=input [name="username"] css=input [name="username"] css=form#loginForm

 CSS:  Xpath  Also PDF and PDFPDF