Micro Focus QTP (UFT) Forums
Help - Running a test in more than 1 browser - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Help - Running a test in more than 1 browser (/Thread-Help-Running-a-test-in-more-than-1-browser)



Help - Running a test in more than 1 browser - Alx - 05-01-2009

Hi All,

My question is not as simple as the thread title.

What I want to do is as follows:
1. Run a test where IE opens, goes to a site and does some operations. This IE window/page must not be closed
2. I then need firefox to open and do some operations
3. Open up the IE page that is still open and finish the test using IE

Is it possible to switch between browsers during the same test?
If so what is the easiest way to do this?

I have tried recording in firefox but it treats it as a windows object and not a browser, therefore coordinates are used for buttons etc.

Thanks


RE: Help - Running a test in more than 1 browser - Ankur - 05-05-2009

QTP provides only replay support for FFand doesn't provide recording level support for Firefox. I would suggest you to record operations (you want to perform in FF) in IE then replay them back in Firefox. Use SystemUtil.Run to open FF browser in middle of script execution.

Let us know if it were of any help to you.