Thursday, 15 October 2015

Descriptive Programming

Descriptive Programming

1.Static
Object repository will work before descriptive only
descriptive will not work before object repository
browser("name:=")

2.Dynamic: when object is dynamic
systemutil.Run "iexplore","http://localhost:81"
Set oDesc= description.Create
oDesc("type").value="text"
oDesc("html tag").value="input"
'oDesc("micclass").value="Link"
Set oCollection=browser("name:=vtiger.*").Page("title:=vtiger.*").ChildObjects(oDesc)
'msgbox oCollection.count
oCollection(0).set "admin"

No comments:

Post a Comment