Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can Identify all Browsers in Scripts
#1
Solved: 10 Years, 8 Months, 4 Weeks ago Wink 
hello
I am using Three different Browsers in Single scripts as follows:

Code:
Browser("Secure-Place1Flash5-IF").Page("Secure-Place1Flash5-IF").Link("Secure-Sophus-Place1Flash9-ST").Click
Browser("Browser").Page("Page").WinObject("Inactive Control").Click 97,203
Browser("Sop-Place1Flash5-SCR").Page("Sop-Place1Flash5-SCR").Sync

now i want to spacify any browser for some script and that script need to cover all displayed browsers. i.e
Browser("Secure-Place1Flash5-IF")
Browser("Browser")
Browser("Sop-Place1Flash5-SCR")

so can i use like regular expression in that like
Browser(" [a-z]")
Please spacify how can i cover all browser for this type of scenario

Thanks
Chetan
Reply
#2
Solved: 10 Years, 8 Months, 4 Weeks ago
As I have written many times before. It will be good if you provide details on what have you tried to resolve the above problem? Also next time onwards, please use Preview Post button and format your code properly before posting.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Running test with multiple browsers mvi63 0 2,671 06-25-2014, 06:49 PM
Last Post: mvi63
  Multiple 2 IE browsers are being displayed VA1405 1 1,758 01-15-2014, 07:20 AM
Last Post: basanth27
  Will Object Property Differ across browsers?? qtplearner88 7 3,761 07-30-2013, 07:18 PM
Last Post: qtplearner88
  Can I use the index ordinal identifier for different browsers and page? Uma 2 3,416 08-25-2011, 03:33 AM
Last Post: Uma
  How to automate detection of type and version of browsers mikek12f 0 1,613 06-07-2009, 07:52 PM
Last Post: mikek12f

Forum Jump:


Users browsing this thread: 1 Guest(s)