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

i would like to know the steps to write tsl exception and object exception with a simple example

1681


Explain data parameterization in winrunner?

595


How do you execute your tests from windows run command?

1446


Explain the purpose of gui spy?

592


Name the three modes of running the scripts?

552






When would you use 'set_window' and when would you use 'win_activate'?

707


How do you modify the logical name or the physical description of the objects in gui map?

647


What is boundary test?

643


What is the purpose of different record methods?

654


What is test parameter

1589


How to do text matching?

606


I want to do smoke test in my application but i have learnt the application before recording but im getting an error class name not found while running the script.I want to check each links and each text in my application. Can anybody answer my quesion plz.If it is possible i want test script for Yahoo login form with "New User" Login.

1634


What are the different modes of recording in winrunner?

670


Why don’t we normally load the gui maps through start up scripts?

632


How can withwin runner to make single scripts which supports multiple languages?

603