Hi, you can use the Desciptive Programming for this issue.

use Creationtime or Window handle to instruct QTP to perform the
task.


On Nov 20, 12:46 am, Boobhathi Raj Sadasivam
<[email protected]> wrote:
> Am not pretty much sure about your requirement.. but the followng may
> helpful...
>
> 1. usually, We used to close the first browser ( if first browser opens new
> one )..
> 2. If you want both shd be opned... then get hwnd property and use DP for
> handling this..
>
> 3. Guess, OR will not helpful for this requirement... .
>
> Please try it out and let me know if you come up with someting..
>
> thanks
>
> Kind Regards,
> Boobhathi Raj
>
> On Thu, Nov 19, 2009 at 9:26 PM, SpaceMarine 
> <[email protected]>wrote:
>
>
>
> > "Smart" Identification is enabled as is the default. if i disable it,
> > QTP fails to locate either Page.
>
> > On Nov 18, 9:46 pm, Roman Zilber <[email protected]> wrote:
> > > > am I missing something!?
>
> > > Smart identification?
>
> > > On Wed, Nov 18, 2009 at 3:38 PM, SpaceMarine <[email protected]
> > >wrote:
>
> > > > hello,
>
> > > > i am using QTP 9.0 to test a Web app in IE 6. this web app has two
> > > > different IE windows open -- the first opens the second. each has a
> > > > different Title, Url, and Height.
>
> > > > the problem -- QTP's Object Respository is identifying them as the
> > > > same exact window. that is, when i pick either one from the OR and
> > > > click "Highlight in Application", they highlight the exact same
> > > > window.
>
> > > > this is illogical to me, since in the OR's "Object Properties" pane i
> > > > have added custom Description Properties for Title, Url, and Height
> > > > values. they are different. and yet...it continues to highlight the
> > > > same windows.
>
> > > > in the OR my object tree looks like so:
>
> > > > Object Repository
> > > >    - MyBrowser (class: Browser)
> > > >        - Screen1 (class: Page)
> > > >        - Screen2 (class: Page)
>
> > > > ...am I missing something!? How can I force QTP to understand these
> > > > are two *different* windows!?
>
> > > > thanks,
> > > > matt
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > > > "QTP - HP Quick Test Professional - Automated Software Testing"
> > > > group.
> > > > To post to this group, send email to [email protected]
> > > > To unsubscribe from this group, send email to
> > > > [email protected]<mercuryqtp%2bunsubscr...@googlegrou­ps.com>
> > <mercuryqtp%[email protected]<mercuryqtp%252bunsubscr...@googl­egroups.com>
>
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/MercuryQTP?hl=en
>
> > --
> > You received this message because you are subscribed to the Google
> > "QTP - HP Quick Test Professional - Automated Software Testing"
> > group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]<mercuryqtp%2bunsubscr...@googlegrou­ps.com>
> > For more options, visit this group at
> >http://groups.google.com/group/MercuryQTP?hl=en- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

Reply via email to