Table of Contents

Class WebBaseDescription

The description of a base interface for all Web test objects.

Namespace: HP.LFT.SDK.Web
Assembly: HP.LFT.SDK.dll
Syntax
public abstract class WebBaseDescription : Description, ICloneable, IDescription

Constructors

WebBaseDescription()

Constructs an empty description.

Declaration
protected WebBaseDescription()

Properties

AbsoluteLocation

The object's absolute coordinates relative to the screen (in pixels). 0,0 is always the top-left corner of the (primary) monitor.

Declaration
public LocationProperty AbsoluteLocation { get; set; }
Property Value
Type Description
LocationProperty

Attributes

Describes the object by its DOM attributes.

Declaration
public IDictionary<string, StringProperty> Attributes { get; set; }
Property Value
Type Description
IDictionary<string, StringProperty>

ClassName

The object's CSS class (className property).

Declaration
public StringProperty ClassName { get; set; }
Property Value
Type Description
StringProperty

Id

The object's HTML identifier.

Declaration
public StringProperty Id { get; set; }
Property Value
Type Description
StringProperty

InnerHTML

The HTML code contained between the object's start and end tags.

Declaration
public StringProperty InnerHTML { get; set; }
Property Value
Type Description
StringProperty

InnerText

The text contained between the object's start and end tags.

Declaration
public StringProperty InnerText { get; set; }
Property Value
Type Description
StringProperty

IsVisible

Indicates whether the object is visible.

Declaration
public bool? IsVisible { get; set; }
Property Value
Type Description
bool?

Location

The object's coordinates relative to the parent window (in pixels).

Declaration
public LocationProperty Location { get; set; }
Property Value
Type Description
LocationProperty

Name

The object's name property.

Declaration
public StringProperty Name { get; set; }
Property Value
Type Description
StringProperty

OuterHTML

The object's HTML code and its content.

Declaration
public StringProperty OuterHTML { get; set; }
Property Value
Type Description
StringProperty
Remarks

Supported in Internet Explorer only.

OuterText

The object's text.

Declaration
public StringProperty OuterText { get; set; }
Property Value
Type Description
StringProperty
Remarks

Supported in Internet Explorer only.

Size

The object's size (in pixels).

Declaration
public SizeProperty Size { get; set; }
Property Value
Type Description
SizeProperty

Styles

Describes the object by its computed style.

Declaration
public IDictionary<string, StringProperty> Styles { get; set; }
Property Value
Type Description
IDictionary<string, StringProperty>
Remarks

This property is not relevant when run against Internet Explorer 8 or when the document mode of another Internet Explorer version is set to Internet 8 or earlier.

TagName

The object's HTML tag.

Declaration
public StringProperty TagName { get; set; }
Property Value
Type Description
StringProperty

Title

The object's title.

Declaration
public StringProperty Title { get; set; }
Property Value
Type Description
StringProperty

Implements

ICloneable
IDescription