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

Static Descriptive programming: This is quick and short but it may cause the problem when your scripts are maturing at a level that you might require same object in different screen of the same test script......This syntax has the benefit of being shot and quick, but may cause problems if we’ll use the object again somewhere else. In this case we’ll have to rewrite the all the description strings, making the code less readable, and harder to maintain (i.e., if one of the properties were to change, we’ll be forced to make several repairs in different places throughout the code).

Dynamic Descriptive Programming: The main reason I guess this is used is for sometime an object will appear under a different parent each time (e.g. – a pop-up which appears under the initiating sub-window). In some applications, the only way to work with such objects is with DP. Apart from that there are some dynamic objects like list box for which content keeps on changing so at that moment this dynamic descriptive will be more efficient and flexible enough.

one more advantage is According to this, instead of working with a single object at a time, we can gather all the objects in an array which answer to our identification properties, and work with them as a collection, and resize the array whenever we need it.

Hope this clears your query.
Reply


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

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to control WAIT time with STATIC variable? chong67 3 4,002 06-22-2012, 10:38 AM
Last Post: sshukla12
  Object Repository and Discriptive Programing combination raaj123 1 2,586 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,050 02-01-2012, 10:45 AM
Last Post: shwetha_m
  Automating/Testing - static and dynamic text in PDF Sravs7 0 1,817 10-24-2009, 07:47 AM
Last Post: Sravs7

Forum Jump:


Users browsing this thread: 1 Guest(s)