what is the difference between synchronization pt and wait
statement.
what are the advanatages and disadv..of context sensitive
and analog recording

Answer Posted / prasanth

A synchronization point is used to maintain the system time
and winrunner execution time. This is mainly used for the
progress bars. Consider a scenario where we have clicked on
a submit button, which takes 2 min for completion and until
this is completed, the other buttions will be in a disabled
state. At this point of time, winrunner does not identifies
that those are in disabled state and continues its run. If
we place a synchronization point in between, then that
function makes the script wait until the process is
completed, synchronizing the system time and winrunner
time.

The wait function is used to wait for a particular time
specified. If we specify wait(10), thios function waits for
10 seconds.

Anolog Mode: This mode of recording is used where exact
coordinates are required. It takes the coordinates of the
screen to detect objects. The main disadvantage of this
kind of recording is, when the screen resolution changes,
the coordinates of screen also changes and the script will
be failed.

Context sensitive recording: This is the default mode of
recording in winrunner. Using this recording, the GUI map
identifies each object with the name of the object taking
its logical and physical description into consideration.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi iam a begginer or rather new stsrter to QTP and strugling to start as i have to start writing the automated scripts for the existing manual testing could some one send me some tips ans tricks for a jump start. Any help is greatly appreciated

1816


What is tsl? What 4gl is it similar too?

754


Explain the difference between gui map and gui map files?

598


What happens when the gui map file get loaded?

664


Explain the purpose of gui map configuration?

618






How do you select multiple objects during merging the files?

688


When do you feel you need to modify the logical name?

636


Could you anyone share me the path to download the automation tools which are having trial license version?

1687


by useing qtp where the maximum people feeling difficult

1387


What is debug mode in Winrunner?

1705


What are the different modes of recording in winrunner?

670


What is the use of virtual object wizard and how it is used?

618


What is the difference between writing a function and writing a script?

752


How do you suppress a regular expression?

1488


For my web Application I am recording website by WR. but the fuctions are displaying normal recorded fun. such as set_window...etc. eventhough i selected web add-in at start up WR. how to use web functions? such as web_link_click.... pls. guide

1732