GeekInterview.com
Series: Subject: Topic:
Question: 4 of 779

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.
Asked by: SANDYADDL | Member Since Aug-2012 | Asked on: Aug 17th, 2012

View all questions by SANDYADDL

Showing Answers 1 - 1 of 1 Answers
maddy

Answered On : 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.

  
Login to rate this answer.

Give your answer:

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

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.