Tuesday, 18 November 2014

QTP msg box function

Use the Msgbox Function to display the value of variables.

Make sure that QTP is open with a new test.
Record and open a Flight Reservation window. When Flight Reservation window is open, click on its title bar.
Click stop in order to stop recording.
The recorded code looks like this below one:
Make it like this – delete lines 1 to 5 and modify the sixth line as shown below.
Now run the test.

No comments:

Post a Comment

QTP/UFT Tutorials © 2014. All Rights Reserved | Powered by-Blogger | Designed by-Dapinder