04-17-2008, 08:09 PM
No. The first script does not come under descriptive programming.
For DP: you manually supply Object properties and its values.
In the second script, it will work even if you dont add objects to OR. (Bcoz we are supplying all the properties and values for all the objects in the heirarchy).
You can make use of OR in the following case,
In this case, we are using Browser and page objects from OR and webedit thru DP.
For DP: you manually supply Object properties and its values.
In the second script, it will work even if you dont add objects to OR. (Bcoz we are supplying all the properties and values for all the objects in the heirarchy).
You can make use of OR in the following case,
Code:
Browser("google").Page("google").webedit("html Tag:=Input","name:=q").Set "test"