How to perform Cross platform testing and Cross browser testing using QTP?Can u explain giving some example?

Showing Answers 1 - 4 of 4 Answers

Sridhar Mallepally

  • Jul 25th, 2006
 

Cross Platform Testing:

There is a provision of getting the Operating system in QTP by using the Built in Environment. 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:

First get the type of browser you are using: Eg. Browser("Core Values").GetROProperty("version")

This will give you internet explorer 6 or netscape 5. Based on this value you call the actions which are relavent 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