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)
|
How to make Browser and Page objects generic (undependent of title/etc)
|
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
How to make Browser and Page objects generic (undependent of title/etc) - by MGMN - 07-31-2008, 02:27 PM
RE: How to make Browser and Page objects generic (undependent of title/etc) - by surya_7mar - 07-31-2008, 02:32 PM
RE: How to make Browser and Page objects generic (undependent of title/etc) - by MGMN - 07-31-2008, 05:54 PM
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| How to make QTP Script to work when system gets locked? | ramkumarad | 6 | 13,670 |
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,814 |
05-27-2015, 06:29 PM Last Post: akhandesh |
|
| Local script to make compatible with QC | automation2012 | 1 | 2,650 |
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,575 |
07-06-2013, 04:13 PM Last Post: Ankur |
|
| Cannot find the "[ WebButton ]" object's parent "[ Page ]" (class Page) | sumitparolkar@gmail.com | 4 | 5,791 |
05-03-2013, 11:53 PM Last Post: agarwl.anurag |
|