Tuesday, July 15, 2008

Outline the benefits of using GetROProperty instead creating an Output checkpoint


If you wish to create an Output value from the form controls in the Active Screen after recording a test, GetROProperty is a better choice than configuring an Output value. When configuring an output value for say a text control on your form in the Active Screen, QTP captures the co-ordinates of the control relative to the main application window. While running the test if the location of the form in the application window is different from when the test was recorded, the output value is obtained from the co-ordinate location of the control when the test was recorded and not from the current location of the control and the test may fail, so prefer to use GetROProperty instead of Output values.

No comments: