How to test cross browser testing in QTP?

As per my knowledge QTP Supports IE and FF,how to test remaining other browser?
how can i answer this question.

Questions by SANDYADDL

Showing Answers 1 - 3 of 3 Answers

maddy

  • Oct 30th, 2012
 

You will need to create separate Actions which take care of different OS and Browsers

Cross Platform Testing:

Using the Built in Environment Variable you can dig up the OS information.
Eg. Platform = Environment("OS"). Then based on the Platform you need to call the actions which you recorded on that particular platform.

Cross Browser Testing:

Using this code Eg. Browser("Core Values").GetROProperty("version") you can extract the Browser and its corresponding version. Ex: Internet Explorer 6 or Netscape 5. Based on this value you call the actions which are relevant to that browser.

  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