SilkTest 2009 R2. Rules for Object Recognition

Similar documents
Silk Test Object Recognition with the Classic Agent

HTML: Parsing Library

HTML: Parsing Library

Oliver Pott HTML XML. new reference. Markt+Technik Verlag

SilkTest Classic. Migrating from the SilkTest Classic Agent to the Open Agent

Chapter 2:- Introduction to XHTML. Compiled By:- Sanjay Patel Assistant Professor, SVBIT.

HTML TAG SUMMARY HTML REFERENCE 18 TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES MOST TAGS

Evaluation of alignment methods for HTML parallel text 1

Certified HTML Designer VS-1027

COPYRIGHTED MATERIAL. Contents. Chapter 1: Creating Structured Documents 1

CSC Web Technologies, Spring HTML Review

WML2.0 TUTORIAL. The XHTML Basic defined by the W3C is a proper subset of XHTML, which is a reformulation of HTML in XML.

UNIT II Dynamic HTML and web designing

Silk Test Migrating from the Classic Agent to the Open Agent

The [HTML] Element p. 61 The [HEAD] Element p. 62 The [TITLE] Element p. 63 The [BODY] Element p. 66 HTML Elements p. 66 Core Attributes p.

"utf-8";

CPET 499/ITC 250 Web Systems. Topics

A HTML document has two sections 1) HEAD section and 2) BODY section A HTML file is saved with.html or.htm extension

Certified HTML5 Developer VS-1029

Designing UI. Mine mine-cetinkaya-rundel

HTML BEGINNING TAGS. HTML Structure <html> <head> <title> </title> </head> <body> Web page content </body> </html>

Creating Web Pages Using HTML

Wireframe :: tistory wireframe tistory.

COPYRIGHTED MATERIAL. Contents. Introduction. Chapter 1: Structuring Documents for the Web 1

Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM Advanced Internet Technology Lab.

Index. CSS directive, # (octothorpe), intrapage links, 26

Summary 4/5. (contains info about the html)

QUICK REFERENCE GUIDE

Beginning Web Programming with HTML, XHTML, and CSS. Second Edition. Jon Duckett

Go.Web Style Guide. Oct. 16, Hackensack Ave Hackensack, NJ GoAmerica, Inc. All rights reserved.

5-Sep-16 Copyright 2016 by GemTalk Systems LLC 1

Canvas & Brush Reference. Source: stock.xchng, Maarten Uilenbroek

Cascading Style Sheet

Open2Test Test Automation Framework for SilkTest (Web) - Keyword Naming Conventions for Developers

HTML CS 4640 Programming Languages for Web Applications

Programming of web-based systems Introduction to HTML5

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

Web Development & Design Foundations with HTML5 & CSS3 Instructor Materials Chapter 2 Test Bank

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application.

Electronic Books. Lecture 6 Ing. Miloslav Nič Ph.D. letní semestr BI-XML Miloslav Nič, 2011

CHAPTER 7 USER INTERFACE MODEL

Internet publishing HTML (XHTML) language. Petr Zámostný room: A-72a phone.:

D B M G. Introduction to databases. Web programming: the HTML language. Web programming. The HTML Politecnico di Torino 1

Selected Sections of Applied Informatics

@namespace url( /* set default namespace to HTML */ /* bidi */

HTML Markup for Accessibility You Never Knew About

<page> 1 Document Summary Document Information <page> 2 Document Structure Text Formatting <page> 3 Links Images <page> 4

Networking and Internet

Web Development & Design Foundations with HTML5 & CSS3 Instructor Materials Chapter 2 Test Bank

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML)

COMPUTER APPLICATIONS IN BUSINESS FYBMS SEM II

HTML Element A pair of tags and the content these include are known as an element

Programmazione Web a.a. 2017/2018 HTML5

How to use the Dealer Car Search ebay posting tool. Overview. Creating your settings

ROLE OF WEB BROWSING LAYOUT ENGINE EVALUATION IN DEVELOPMENT

CS105 Course Reader Appendix A: HTML Reference

CSC 121 Computers and Scientific Thinking

Web Development and Design Foundations with HTML5 8th Edition

Understanding this structure is pretty straightforward, but nonetheless crucial to working with HTML, CSS, and JavaScript.

Name Related Elements Type Default Depr. DTD Comment

A Brief Introduction to HTML

Web Technologies - by G. Sreenivasulu Handout - 1 UNIT - I

COSC 2206 Internet Tools. Brief Survey of HTML and XHTML Document Structure Formatting

Table-Based Web Pages

(X)HTML. Internet Engineering. Spring Bahador Bakhshi CE & IT Department, Amirkabir University of Technology

HTML Forms. By Jaroslav Mohapl

Silk Test Silk Test Classic Quick Start Tutorial for Dynamic Object Recognition

CSC Web Programming. Introduction to HTML

1.264 Lecture 12. HTML Introduction to FrontPage

Inline Elements Karl Kasischke WCC INP 150 Winter

A Balanced Introduction to Computer Science, 3/E

jquery - Other Selectors In jquery the selectors are defined inside the $(" ") jquery wrapper also you have to use single quotes jquery wrapper.

Web Designing HTML5 NOTES

Review of HTML. Chapter Pearson. Fundamentals of Web Development. Randy Connolly and Ricardo Hoar

UNIT-02 Hyper Text Markup Language (HTML) UNIT-02/LECTURE-01 Introduction to Hyper Text Markup Language (HTML) About HTML: [RGPV/Dec 2013(4)]

1 Form Basics CSC309

HTML Tags Chart. To use any of the following HTML tags, simply select the HTML code you'd like and copy and paste it into your web page.

Basics of Web Design, 3 rd Edition Instructor Materials Chapter 2 Test Bank

The Hypertext Markup Language (HTML) Part II. Hamid Zarrabi-Zadeh Web Programming Fall 2013

HTML: Fragments, Frames, and Forms. Overview

SYBMM ADVANCED COMPUTERS QUESTION BANK 2013

Symbols INDEX. !important rule, rule, , 146, , rule,

HTML Cheat Sheet for Beginners

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014

Introduction to using HTML to design webpages

Web development using PHP & MySQL with HTML5, CSS, JavaScript

Tag Name Code Example Browser View. <!--This can be viewed in the HTML part of a document--> <a href=" Visit Our Site</a>

HTML & CSS. SWE 432, Fall 2017 Design and Implementation of Software for the Web

HTML Tables and. Chapter Pearson. Fundamentals of Web Development. Randy Connolly and Ricardo Hoar

13.8 How to specify alternate text

Tutorial 2 - HTML basics

Faculty of Computing and informatics

HTML Tags Chart. To use any of the following HTML tags, simply select the HTML code you'd like and copy and paste it into your web page.

HTML. HTML Evolution

11. HTML5 and Future Web Application

introduction to XHTML

BACKGROUND. HTTP is a 2-phase protocol used by most web applications and all web browsers. The response is usually an HTML document

Portia Documentation. Release Scrapinghub

Continues the Technical Activities Originated in the WAP Forum

Data Visualization (CIS/DSC 468)

Transcription:

SilkTest 2009 R2 Rules for Object Recognition

Borland Software Corporation 4 Hutton Centre Dr., Suite 900 Santa Ana, CA 92707 Copyright 2009 Micro Focus (IP) Limited. Rights Reserved. SilkTest contains derivative works of Borland Software Corporation, Copyright 1992-2009 Borland Software Corporation (a Micro Focus company). MICRO FOCUS and the Micro Focus logo, among others, are trademarks or registered trademarks of Micro Focus (IP) Limited or its subsidiaries or affiliated companies in the United States, United Kingdom and other countries. BORLAND, the Borland logo and SilkTest are trademarks or registered trademarks of Borland Software Corporation or its subsidiaries or affiliated companies in the United States, United Kingdom and other countries. other marks are the property of their respective owners. November 2009

Table of Contents Construction of Window Declaration Identifiers and Tags... 4 Legend and Notes... 4 DOM Extension... 5 Html Object Recognition... 8

Construction of Window Declaration Identifiers and Tags SilkTest s object recognition system uses a window declaration identifier as the logical name of an object and a tag or multitag as the attribution for uniquely identifying an object. To permit robust operation across browsers, SilkTest uses a complicated system of rules to construct the identifiers and associated attributes. The window declaration identifiers and tags or multitags are constructed hierarchically from information such as HTML object attributes and closest static text. The class dependent caption and windowid construction rules form the basis for the window declaration identifier, single tag, and multitag construction rules. The Index construction rules are class independent. Legend and Notes Recognition effectiveness is not usually affected by the character length restrictions placed on the caption, windowid, and window declaration identifier. Legend CST BNT Closest Static Text Browser Nearest Text Checkbox (Agent CST default, Browser CST option) Caption WindowID HTML Tag Attributes Restricted to 127 characters Restricted to 63 characters ALT, CONTENT, HREF, HTTP-EQUIV, ID, NAME, SRC, VALUE > Interpret as takes precedence over 4Test Agent Extension Produces Window Declaration Identifier, Single Tag or Multitag Produces Index, Prior Text, Location Produces WindowID, Caption Rules For Object Recognition 4

DOM Extension The following tables define the fundamental relationships and rules used during DOM processing. Fundamental Relationships in DOM Class Caption Rules WindowID Rules Browser Child TITLE -> Page Location (URL) Page Location (URL) Browser Child Frame TITLE (Frame) -> NAME (Frame) -> Page Location (URL) None HtmlCheckBox Browser CST NAME -> Class Name Counter HtmlColumn Inner Text -> BNT ID HtmlComboBox Not applicable in DOM HtmlForm NAME -> BNT ID HtmlHeading Text ID HtmlHidden Inner Text -> BNT NAME <IMG SRC> ALT -> BNT NAME -> HREF Not applicable in DOM mapped to HtmlPushButton <INPUT type=image SRC> HtmlLink-text <A>HREF text </A> Inner Text -> Agent CST NAME -> HREF HtmlList Browser CST NAME HtmlListBox Browser CST NAME -> Blank HtmlMarquee BNT NAME HtmlMeta NAME -> HTTP-EQUIV -> BNT CONTENT HtmlPopupList BNT NAME HtmlPushButton <INPUT type=image SRC> ALT -> Agent CST NAME Rules For Object Recognition 5

Class Caption Rules WindowID Rules HtmlPushButton <INPUT type=[reset,submit] SRC> <BUTTON> VALUE -> Agent CST (when '<' is first character of VALUE) NAME HtmlRadioButton BNT NAME -> Class Name Counter HtmlRadioList BNT NAME -> Class Name Counter HtmlTable Caption -> BNT ID HtmlText Text ID HtmlTextField Browser CST NAME HtmlTextField <INPUT type=file SRC> Browser CST NAME -> FILE_INPUT XMLNode VALUE -> NAME Internally Generated Integer Class Window Declaration Identifier Rules in DOM Rule for Use WindowID option: WindowID -> Caption -> Index for Use Caption option: Caption -> WindowID -> Index Same CST used for multiple ojects of same class: postpend WindowID with Index, postpend Caption with Index in brackets Same CST used for multiple ojects of different classes: postpend WindowID with Index Only Index exists: postpend class with Index Index Rules in DOM Class Rule Relative to parent: left-to-right then top-to-bottom Rules For Object Recognition 6

Class Single Tag Rules in DOM Rule User Interface controls Tag selection Multitag Rules in DOM Class Rule Browser Child Caption - not selectable through UI Browser Child Frame Caption - not selectable through UI HtmlCheckBox HtmlColumn Selectable through UI HtmlComboBox not applicable in DOM HtmlForm HtmlHeading Selectable through UI HtmlHidden <IMG SRC> <INPUT type=image SRC> not applicable in DOM - mapped to HtmlPushButton HtmlLink-text <A>HREF text </A> HtmlList Selectable through UI HtmlListBox HtmlMarquee HtmlMeta HtmlPopupList HtmlPushButton <INPUT type=image SRC> HtmlPushButton <INPUT type= [reset,submit] SRC> <BUTTON> HtmlRadioList HtmlTable Selectable through UI HtmlText Selectable through UI HtmlTextField HtmlTextField <INPUT type=file SRC> XMLNode Selectable through UI Rules For Object Recognition 7

Html Object Recognition This table shows how SilkTest maps 4Test objects to HTML objects. 4Test class Html Object Recognition HTML tag HtmlCheckBox HtmlColumn HtmlForm HtmlHeading HtmlHidden HtmlLink-text HtmlList HtmlListBox HtmlMeta <input type=checkbox> <th>, <td> is column if the <td> is in the first row and there is no <th> <form> <h1>, <h2>, <h3>, <h4>, <h5>, <h6>, <th> <input type=hidden> <img> <a href= > <area> <ol, <ul, <dl, <dir, <menu <select size=1> <meta> HtmlPopupList <select size= > if size is larger than 1 HtmlPushButton <button>, <input type=button>, <input type=file>, <input type=image>, <input type=reset>, <input type=submit> HtmlRadioList <input type=radio> HtmlTable <table> HtmlText <a> without <href>, <abbr>, <acronym>, <b>, <bdo>, <big>, <blockquote, <br>, <center>, <cite>, <code>, <dd>, <dfn>, <div>, <dt>, <em>, <font <kbd>, <I>, <label>, <left>, <legend>, <li>, <nobr>, <p>, <pre>, <q>, <right>, <s>, <samp>, <small>, <span>, <strike>, <strong>, <sub>, <sup>, <tt>, <u>, <var>, <xmp> HtmlTextField <input type=file>, <input type=password>, <input type=text>, <textarea> XMLNode For detailed information about the HTML object attributes tag, refer to the SilkTest online help. Rules For Object Recognition 8