09-08-2009, 02:02 PM
hi ,
to set a editBox :
static descriptive approach :-
dynamic descriptive approach :-
I have read a article that the " Dynamic descriptive prog provides more power, efficiency, and flexibility".
but i dont understand this concept that how it is flexible,powerful & efficient . As we can see that in both the cases we are using the same number of properties to identfy a object
please help me in undestanding this concept
to set a editBox :
static descriptive approach :-
Code:
window("Title:=Login").WinEdit("AttachedText:=Agent Name:","height:=20","width:=119" ).Set "abcd"
dynamic descriptive approach :-
Code:
Set myvar= description.Create()
myvar("AttachedText").value="Agent Name:"
myvar("height").value=20
myvar("width").value=119
window("Title:=Login").WinEdit(myvar ).Set "abcd"
but i dont understand this concept that how it is flexible,powerful & efficient . As we can see that in both the cases we are using the same number of properties to identfy a object
please help me in undestanding this concept