What is Reference path in QTP?And what is the way to get name of the browser at run time?

Questions by ramaraogoud   answers by ramaraogoud

Showing Answers 1 - 3 of 3 Answers

QTP77

  • Jun 5th, 2007
 

I think reference path means relative path. We should add the actual path of all our actions in Tools -> Options -> Folders (QTP 9.0) so that when we want to call a reusable action from another action, we should just specify the name of the action, and QTP will locate that action using the relative path

We can obtain the name of the browser using creation time. Each browser will be allocated with a creation time in the order they are opened. The first browser which is opened will have a creation time 0. But I think it is not the correct way since the test might fail if an unexpected browser pops up and again it might fail if we run the test from QC since QC is also opened in a browser. Can someone tell if there is any other way to obtain the browser name at run time.....

  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