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

Answers were Sorted based on User's Feedback



what is the difference between synchronization pt and wait statement. what are the advanatages an..

Answer / 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

what is the difference between synchronization pt and wait statement. what are the advanatages an..

Answer / ashok reddy

if you put the WAIT statement,the application is stay for
which is mentioned time in wait command,for ex:wait
(10),application process will be completed with in 2
sec,then also,winrunner or QTP will be wait for up to 10
sec.

The sync point is when ever process is completed the tool
will be moved to the next step

Is This Answer Correct ?    1 Yes 1 No

what is the difference between synchronization pt and wait statement. what are the advanatages an..

Answer / sailaja

Synchronization: it is an indefinite waiting for the
specified process to be completed. until the specified
process is completed, the current process will be waited
while doing some other task. for example, an application
needs to update or open a record from the database, it will
take some time mean while the current application will be
allocated to some other task until the update from the
database is done.

Wait: it is waiting for a specified period of time.
wait(10); application will be waiting for 10 sec and again
gets started.


Recording in Analog mode: when ever exact mouse movements
are needed then we will go for analog mode.


Context sensitive recording: when exact mouse movements
are not needed only key board activities are to be captured
then we will go for context sensitive recording.

Is This Answer Correct ?    2 Yes 2 No

what is the difference between synchronization pt and wait statement. what are the advanatages an..

Answer / allin

simply says that
wait(seconds)- the control will wait upto that seconds of
time even if the process is completed for particular
function.

obj_wait_info("logical name of the object", status ,
variable)

for example: Save button.
Status is Enable/ Disable
Scenario:
If you perform save functionality, after successful save,
the save button should be disable.
depends on the funcation(communication with the front end
application to data base, the process time may varrying).
so that as a user we need to go for wait_info function.
because user don't know how much time will take to complete
the save funcation.

when the status is changed from enable to disable, imm the
control will goes to next statement execution.

But,if u use wait funcation,it may exceed the execution
time or as visa versa.

Thanks & Regards,
allin

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More WinRunner Interview Questions

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.

0 Answers  


What are the three modes of running the scripts?

0 Answers  


How to recogonise dynamically changing objects in an application(ie Web or Standalone)

1 Answers  


How do you scope, organize, and execute a test project?

2 Answers   IBM, Wipro,


supose 10 times text data is there but it will run 8 times whtat will you do.

0 Answers  






How to set a value in to a data table from the script in winrunner?

1 Answers   Accenture,


how to insert check points? whatis the gui check point?

3 Answers   IBM, IIST,


What is the purpose of regexp_msw_class property?

0 Answers  


What is the purpose of regexp_label property and regexp_msw_class property?

0 Answers  


what is the use of generate script that is avaliable 3 places(file settings, tools, object identification)

0 Answers  


How many check points are there in winrunner? what are they?

8 Answers   BeBo Technologies,


what is split function?Give me the syntax?

3 Answers   BeBo Technologies,


Categories