Types Of Descriptive Programming:
Before starting to play with Descriptive Programming,one needs to understand the types of Descriptive Programming (programmatic descriptions).
Descriptive Programming can be of two types, Static and Dynamic:
1. Static Descriptive Programming:
Browser("Browser").Page("Page").WebEdit("Name:=Employee", "Index:=3").Set "John"
2. Dynamic Descriptive Programming:
One adds a collection of properties and values to a Description object, and then enters the Description object name in the statement.Example:
Set objDesc = description.Create()
objDesc ("micclass").value = "Link"
objDesc ("html tag").value="A"
objDesc ("innertext").value = "ClickHere"
Set objChild =Browser("Browser").Page("Page").ChildObjects(objDesc)
No comments:
Post a Comment