Which method is used for synchronization
-
wait
-
waitproperty
-
sleep
-
getproperty
B
Correct answer
Explanation
The waitproperty method is used for synchronization in QTP. It pauses test execution until a specified object property achieves a certain value or times out. This is the preferred synchronization method over static waits like wait() or sleep() because it waits dynamically based on application state rather than fixed time intervals.