Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help - Running a test in more than 1 browser
#1
Solved: 11 Years, 4 Months ago
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
Reply
#2
Solved: 11 Years, 4 Months ago
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.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  issue with IE when running test eiko 2 1,582 02-01-2018, 04:46 PM
Last Post: eiko
  Issue in running Scripts on Edge browser Deepa_m 0 1,642 12-01-2017, 04:36 PM
Last Post: Deepa_m
  Running the test in Firefox automation2012 0 2,149 03-14-2013, 12:35 PM
Last Post: automation2012
  error object disabled on line 9 where it says " Browser("Browser").CloseAllTabs" kp_usa 1 3,360 12-20-2012, 12:20 AM
Last Post: adityapant27
  Qtp10 test not running in Firefox 13 rahullfo 3 3,886 06-28-2012, 05:27 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)