Table of Contents

Class WebBaseDescription

Namespace
HP.LFT.SDK.Web
Assembly
HP.LFT.SDK.dll

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

public abstract class WebBaseDescription : Description, ICloneable, IDescription
Inheritance
WebBaseDescription
Implements
Derived
Inherited Members

Constructors

WebBaseDescription()

Constructs an empty description.

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.

public LocationProperty AbsoluteLocation { get; set; }

Property Value

LocationProperty

Attributes

Describes the object by its DOM attributes.

public IDictionary<string, StringProperty> Attributes { get; set; }

Property Value

IDictionary<string, StringProperty>

ClassName

The object's CSS class (className property).

public StringProperty ClassName { get; set; }

Property Value

StringProperty

Id

The object's HTML identifier.

public StringProperty Id { get; set; }

Property Value

StringProperty

InnerHTML

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

public StringProperty InnerHTML { get; set; }

Property Value

StringProperty

InnerText

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

public StringProperty InnerText { get; set; }

Property Value

StringProperty

IsVisible

Indicates whether the object is visible.

public bool? IsVisible { get; set; }

Property Value

bool?

Location

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

public LocationProperty Location { get; set; }

Property Value

LocationProperty

Name

The object's name property.

public StringProperty Name { get; set; }

Property Value

StringProperty

OuterHTML

The object's HTML code and its content.

public StringProperty OuterHTML { get; set; }

Property Value

StringProperty

Remarks

Supported in Internet Explorer only.

OuterText

The object's text.

public StringProperty OuterText { get; set; }

Property Value

StringProperty

Remarks

Supported in Internet Explorer only.

Size

The object's size (in pixels).

public SizeProperty Size { get; set; }

Property Value

SizeProperty

Styles

Describes the object by its computed style.

public IDictionary<string, StringProperty> Styles { get; set; }

Property Value

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.

public StringProperty TagName { get; set; }

Property Value

StringProperty

Title

The object's title.

public StringProperty Title { get; set; }

Property Value

StringProperty