Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can Identify all Browsers in Scripts
#1
Solved: 11 Years, 3 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: 11 Years, 3 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,778 06-25-2014, 06:49 PM
Last Post: mvi63
  Multiple 2 IE browsers are being displayed VA1405 1 1,881 01-15-2014, 07:20 AM
Last Post: basanth27
  Will Object Property Differ across browsers?? qtplearner88 7 4,041 07-30-2013, 07:18 PM
Last Post: qtplearner88
  Can I use the index ordinal identifier for different browsers and page? Uma 2 3,569 08-25-2011, 03:33 AM
Last Post: Uma
  How to automate detection of type and version of browsers mikek12f 0 1,712 06-07-2009, 07:52 PM
Last Post: mikek12f

Forum Jump:


Users browsing this thread: 1 Guest(s)