Hi Viijay:

I recently ran into a web element containing everything for a grid and the
following is what I did.

str =
Browser("").Page("").Frame("").WebElement("").GetROProperty("innertext")

and saved that to a file so I could look at it.

The beginning and the end of the str had junk that I did not care about so I
did a couple of splits to just leave my data in one array element.

A row consisted to a number (link), and five columns.  One of the columns
was an ID of the form YYYY1234567.  Did another split on the"YYYY" so that I
could do a search looping through each element of the array and using InStr
to find which row had my value.

This worked very nicely even though it looks ugly.


Parke

On Tue, Jul 28, 2009 at 2:45 AM, Vijjay M <[email protected]> wrote:

> Hi,
>
> I have an application which has ActiveX Grid and values are present in this
> grid.
> Now QTP recognises this whole grid as one object (web element), i have many
> rows in this grid and i want to select one row or one particular value,
> which i m not able to do it.
>
> Can anyone suggest me with any COM object model or do we need to install
> any add-in for this.
>
> Pls Advise,
>
> Thanks,
> Vijjay
>
> >
>

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