Hi,

I am automating a third party grid in my application. Many of the
methods that can be performed on that control, can be done only with
Native objects. Few objects in the application, are actually not
visible to the QTP to add them to OR, as its a kind hierarchy in which
they exist . There are grids that exist inside another grid and this
kind of Hirarchy continues. I am getting those objects like this

objGrid.Children.Item(0).Children.Item(1)... and so on...

Many of the actions are now performed by using FireEvent in the native
object. Sometimes inspite of having a proper event object, no actions
are performed on the application. These actions, Methods are working
with QTP Test objects.

Now Since this Hierarchy is got from Native objects, I wanted to
convert them to QTP Test objects.

Thanks in Advance,
Prasanna.


On Sep 9, 6:01 am, Roman Zilber <[email protected]> wrote:
> Why do you need that?
>
> On Thu, Sep 8, 2011 at 9:06 AM, QTP MASTER <[email protected]>wrote:
>
>
>
>
>
>
>
> > Hi any idea on this? I am still searching for answers.
>
> > Thanks,
> > Prasanna.
>
> > On Sep 6, 2:04 pm, Prasanna Narayanan Srinivasan
> > <[email protected]> wrote:
> > > Hi All,
>
> > > My automation involves automating of a third party control, which can be
> > > handled only through Native object's Properties, methods and Events.
>
> > > Now I want to convert those  Native objects to QTP Test Objects. When I
> > > convert the Object in the following way, its only upto Page it works and
> > not
> > > more than that.
> > > Please let me know, if anybody know how to do this.
>
> > > Example :
>
> > > Set objBrowserNative=Browser("").Object
> > > Msgbox Browser(objBrowserNative).Exist  *' Returns True*
>
> > > Set objBrowserPageNative=Browser("").Page("").Object
> > > Msgbox Page(objBrowserPageNative).Exist  *' Returns True*
>
> > > Set objEditNative = Browser("").Page("").WebEdit("").Object
> > > Msgbox WebEdit(objEditNative).Exist   *  'Returns False*
> > > Msgbox Browser("").Page("").WebEdit(objEditNative).Exist   *   'Returns
> > > False*
>
> > > Please let me know, as to how to retrieve QTP Test Object using Native
> > > Object.
>
> > > *With Best Regards,
> > > Prasanna Narayanan S*
>
> > --
> > 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

-- 
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