Silk Test Object Recognition with the Classic Agent

Similar documents
SilkTest 2009 R2. Rules for Object Recognition

HTML: Parsing Library

HTML: Parsing Library

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

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

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

Evaluation of alignment methods for HTML parallel text 1

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

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

Silk Test Migrating from the Classic Agent to the Open Agent

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

Certified HTML Designer VS-1027

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

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";

Silk Test Silk4NET Tutorial

CSC Web Technologies, Spring HTML Review

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

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

CPET 499/ITC 250 Web Systems. Topics

Wireframe :: tistory wireframe tistory.

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

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

QUICK REFERENCE GUIDE

Designing UI. Mine mine-cetinkaya-rundel

Certified HTML5 Developer VS-1029

Creating Web Pages Using HTML

HTML CS 4640 Programming Languages for Web Applications

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

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

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

Silk Test Silk4NET Tutorial

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

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

Cascading Style Sheet

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

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

CHAPTER 7 USER INTERFACE MODEL

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

Programming of web-based systems Introduction to HTML5

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

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

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

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

SilkTest Using the Basic Workflow with the Classic Agent

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

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

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

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

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

CSC Web Programming. Introduction to HTML

ROLE OF WEB BROWSING LAYOUT ENGINE EVALUATION IN DEVELOPMENT

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

CSC 121 Computers and Scientific Thinking

Web Development and Design Foundations with HTML5 8th Edition

Selected Sections of Applied Informatics

Table-Based Web Pages

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

Silk Test Silk Test Classic: Working with Projects

Networking and Internet

PersonPB Reference. Silk Performer 9.5. PersonPB Reference

HTML Markup for Accessibility You Never Knew About

SilkTest SilkTest Recorder Quick Start Tutorial

COMPUTER APPLICATIONS IN BUSINESS FYBMS SEM II

Programmazione Web a.a. 2017/2018 HTML5

Borland StarTeam Toolbar Utility Help

Inline Elements Karl Kasischke WCC INP 150 Winter

CS105 Course Reader Appendix A: HTML Reference

A Balanced Introduction to Computer Science, 3/E

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

Name Related Elements Type Default Depr. DTD Comment

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

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

Web Designing HTML5 NOTES

A Brief Introduction to HTML

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

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.

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

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

1.264 Lecture 12. HTML Introduction to FrontPage

HTML Forms. By Jaroslav Mohapl

HTML: Fragments, Frames, and Forms. Overview

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

HTML Cheat Sheet for Beginners

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

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>

SYBMM ADVANCED COMPUTERS QUESTION BANK 2013

Tutorial 2 - HTML basics

13.8 How to specify alternate text

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.

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

Silk Test Silk4NET Tutorial

Silk Test Using the Basic Workflow with the Open Agent

11. HTML5 and Future Web Application

Introduction to using HTML to design webpages

SilkTest Silk4NET User Guide

1. The basic building block of an HTML document is called a(n) a. tag. b. element. c. attribute. d. container. Answer: b Page 5

Transcription:

Silk Test 13.5 Object Recognition with the Classic Agent

Micro Focus 575 Anton Blvd., Suite 510 Costa Mesa, CA 92626 Copyright 2012 Micro Focus. rights reserved. Portions Copyright 1992-2009 Borland Software Corporation (a Micro Focus company). MICRO FOCUS, the Micro Focus logo, and Micro Focus product names are trademarks or registered trademarks of Micro Focus IP Development Limited or its subsidiaries or affiliated companies in the United States, United Kingdom, and other countries. BORLAND, the Borland logo, and Borland product names 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. 2012-09-19 ii

Contents Construction of Window Declaration Identifiers and Tags... 4 Legend... 4 Relationships and s for DOM Processing... 4 HTML Object Recognition... 7 Contents 3

Construction of Window Declaration Identifiers and Tags The object recognition system of Silk Test Classic uses a window declaration identifier as the logical name of an object and a tag or multitag as the attribution to uniquely identify an object. To permit robust operation across browsers, Silk Test Classic 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 The effectiveness of recognition is usually not affected by the character length restrictions placed on the caption, windowid, and window declaration identifier. Term CST BNT Description Closest Static Text Browser Nearest Text Check Box (Agent CST default, Browser CST option) Caption WindowID HTML Tag Attributes Restricted to 127 characters Restricted to 67 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, or location Produces WindowID or caption Relationships and s for DOM Processing The following table lists the fundamental relationships used during DOM processing. 4 Construction of Window Declaration Identifiers and Tags

Class Caption s WindowID s 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 HtmlImage <IMG SRC> HtmlImage <INPUT type=image SRC> HtmlLink-text <A>HREF text </A> ALT -> BNT Not applicable in DOM. Mapped to HtmlPushButton. Inner Text -> Agent CST NAME -> HREF NAME -> HREF HtmlList Browser CST NAME HtmlListBox Browser CST NAME -> Blank HtmlMarquee BNT NAME HtmlPushButton <INPUT type=image SRC> HtmlPushButton <INPUT type=[reset,submit] SRC><BUTTON> ALT -> Agent CST VALUE -> Agent CST (when '<' is first character of VALUE) NAME 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 Browser CST NAME -> FILE_INPUT XMLNode VALUE -> NAME Internally Generated Integer The following table lists the window declaration identifier rules that are used during DOM processing. Class Use WindowID option Use Caption option WindowID -> Caption -> Index Caption -> WindowID -> Index Construction of Window Declaration Identifiers and Tags 5

Class The same CST is used for multiple objects of the same class. Postpend WindowID with Index, postpend Caption with Index in brackets. Same CST used for multiple objects of different classes. Postpend WindowID with Index. Only Index exists. Postpend class with Index. The following table lists the index rules that are used during DOM processing. Class Relative to parent. Left to right, then top to bottom. The following table lists the single tag rules that are used during DOM processing. Class User Interface controls Tag selection. The following table lists the multitag rules that are used during DOM processing. Class Browser Child Browser Child Frame HtmlCheckBox HtmlColumn HtmlComboBox HtmlForm HtmlHeading HtmlHidden HtmlImage <IMG SRC> HtmlImage <INPUT type=image SRC> HtmlLink-text <A>HREF text </A> HtmlList HtmlListBox HtmlMarquee HtmlMeta Caption is not selectable through user interface. Caption is not selectable through user interface. Selectable through Not applicable in DOM. Selectable through Not applicable in DOM. Mapped to HtmlPushButton. Selectable through 6 Construction of Window Declaration Identifiers and Tags

Class HtmlPopupList HtmlPushButton <INPUT type=image SRC> HtmlPushButton <INPUT type=[reset,submit] SRC><BUTTON> HtmlRadioList HtmlTable HtmlText HtmlTextField XMLNode Selectable through Selectable through Selectable through HTML Object Recognition The following table lists the rules for mapping 4Test objects to HTML objects. For additional information about the attribute tags of HTML objects, refer to the Silk Test Classic Help. 4Test Class HtmlCheckBox HtmlColumn HtmlForm HTML Tag <input type=checkbox> <th>,<td> is column if the <td> is in the first row and there is no <th> <form> HtmlHeading <h1> <h2> <h3> <h4> <h5> <h6> <th> HtmlHidden HtmlImage HtmlLink-text <input type=hidden> <img> <a href=...><area> HtmlList <ol> <ul> <dl> <dir> <menu> Construction of Window Declaration Identifiers and Tags 7

4Test Class HtmlListBox HtmlMeta HTML Tag <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 HtmlTable <input type=radio> <table> HtmlText <a> without <href> <abbr> <acronym> <b> <bdo> <big> <blockquote> <br> <center> <cite> <code> <dd> <dfn> <div> <dt> <em> <font> <kbd> <l> <label> <left> <legend> <li> <nobr> <p> <pre> <q> <right> <s> <samp> <small> <span> <strike> <strong> 8 Construction of Window Declaration Identifiers and Tags

4Test Class HTML Tag <sub> <sup> <tt> <u> <var> <xmp> HtmlTextField <input type=file> <input type=password> <input type=text> <textarea> XMLNode Construction of Window Declaration Identifiers and Tags 9

Index O object recognition DOM processing rules 4 DOM relationships 4 terms 4 T tags W constructing 4 window identifiers constructing 4 10 Index