Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
static vs dynamic dscritve programing
#4
Solved: 11 Years, 4 Months ago
Hi,


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.
Reply


Messages In This Thread
RE: static vs dynamic dscritve programing - by Tarik Sheth - 09-08-2009, 03:39 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to control WAIT time with STATIC variable? chong67 3 4,001 06-22-2012, 10:38 AM
Last Post: sshukla12
  Object Repository and Discriptive Programing combination raaj123 1 2,585 05-22-2012, 08:32 PM
Last Post: Ankesh
  descript programing rjkmr.aiht 1 2,240 04-13-2012, 05:47 PM
Last Post: vinod123
  How to write the desriptive programing for gmail signin and signout shwetha_m 2 4,049 02-01-2012, 10:45 AM
Last Post: shwetha_m
  Automating/Testing - static and dynamic text in PDF Sravs7 0 1,816 10-24-2009, 07:47 AM
Last Post: Sravs7

Forum Jump:


Users browsing this thread: 3 Guest(s)