QTP script for application-under-test

When developing the QTP script for application, what steps should be followed to ensure that the GUI object of application-under-test does not get impacted by the current local environment

Questions by SEENARE

Showing Answers 1 - 2 of 2 Answers

In QTP we can specify the URL for the application or the exe file of the application within the 
settings. Go to “Test” menu and select “Record and Run Settings” option. It opens a Record and 
Run settings dialogue box, which has options to enter the URL of the application for web or exe 
file of the application if it is windows application. 
For the main test, which calls the reusable actions, we can use the option “Open the following 
browser when a record or run session begins”. Once the application is open we don’t need to 
open the application again so for all the reusable action we can use the option “Record and run 
test on any open Web browser”. But we should make sure that all the browsers except 
TestDirector are closed before recording or running the tests.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions