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

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


Messages In This Thread
static vs dynamic dscritve programing - by ramesh.tahiliani - 09-08-2009, 02:02 PM

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

Forum Jump:


Users browsing this thread: 1 Guest(s)