09-08-2009, 03:39 PM
Hi,
Let me attempt to explain further.
In static descriptive programming: we provide state of values and propertiesthat describes the object directly
In the code above for placing abcd on all the winedit box you require more number of statements. What if in future you get more than the specified number of winedit box, one needs to write more statements to accomodate it. while in dynamic descriptive programming you will be having all the collection of winedit box in an array and you can use it in some kind of loop, the best example could be a winlist or dropdown box object.
In Dynamic descriptive programming: We provide collection of properties and values to desscription of the object and then we provide other statements in support of the object collection e.g. .Childobjects
Moreover an object and its property contains name of the object and value of the property of the object. in return it provides a collection of object having same properties. Once the object property is created we can have add, remove values to or from the object property can be entered during run time
Hope this helps.
Let me attempt to explain further.
In static descriptive programming: we provide state of values and propertiesthat describes the object directly
Code:
window("Title:=Login").WinEdit("AttachedText:=Agent Name:","height:=20","width:=119" ).Set "abcd"
In the code above for placing abcd on all the winedit box you require more number of statements. What if in future you get more than the specified number of winedit box, one needs to write more statements to accomodate it. while in dynamic descriptive programming you will be having all the collection of winedit box in an array and you can use it in some kind of loop, the best example could be a winlist or dropdown box object.
In Dynamic descriptive programming: We provide collection of properties and values to desscription of the object and then we provide other statements in support of the object collection e.g. .Childobjects
Moreover an object and its property contains name of the object and value of the property of the object. in return it provides a collection of object having same properties. Once the object property is created we can have add, remove values to or from the object property can be entered during run time
Hope this helps.