Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make Browser and Page objects generic (undependent of title/etc)
#2
Solved: 11 Years, 4 Months ago
Code:
Browser("name:=.*").Page("name:=.*")

This is generic declaration which recognises all the pages.

If you want to create that in Object Repositroy you can out name property as .* (Regular Expressions)
Reply


Messages In This Thread
RE: How to make Browser and Page objects generic (undependent of title/etc) - by surya_7mar - 07-31-2008, 02:32 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to make QTP Script to work when system gets locked? ramkumarad 6 12,497 11-02-2017, 03:37 PM
Last Post: Divv
  Objects are being recognized as "Windows for Menu item list (Browser-firefox, UFT 12) akhandesh 0 2,535 05-27-2015, 06:29 PM
Last Post: akhandesh
  Local script to make compatible with QC automation2012 1 2,304 01-28-2015, 02:11 PM
Last Post: automation2012
  How to make QTP take the value of a formula in a spreadsheet? utestqa 1 3,133 07-06-2013, 04:13 PM
Last Post: Ankur
  Cannot find the "[ WebButton ]" object's parent "[ Page ]" (class Page) sumitparolkar@gmail.com 4 5,090 05-03-2013, 11:53 PM
Last Post: agarwl.anurag

Forum Jump:


Users browsing this thread: 1 Guest(s)