Multiple choice technology testing

Which method is used for synchronization

  1. wait

  2. waitproperty

  3. sleep

  4. getproperty

Reveal answer Fill a bubble to check yourself
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.