Interesting problem, i will look into this by tomorrow morning.
Right now i am little bit confused
On 29 Oct 2014 20:09, "Nick Little" <n14lit...@gmail.com> wrote:

> Hi,
>
> I have a script that is giving me one problem that I can't figure out. I
> make the following call and it returns 9; however, when I spy the object
> and look at the number of rows it contains I get 10. Why the discrepancy?
>
> JavaWindow(window).JavaTable(table).GetROProperty("Rows")      'This
> returns 9, Object Spy shows 10.
>
> I've tried to use RowCount to get around it, but that doesn't work. Also,
> just for debugging purposes, I did:
>
> JavaWindow(window).JavaTable(table).GetCellData(9, 0)     '9 is,
> obviously, the 10th object given zero-based index.
>
> and this did give me a value so it obviously can get data from the 10th
> row, but the GetROProperty("Rows") does not return the right number of
> rows.
>
> Any suggestions?
>
> --
> --
> 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 MercuryQTP@googlegroups.com
> To unsubscribe from this group, send email to
> mercuryqtp+unsubscr...@googlegroups.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 Groups
> "QTP - HP Quick Test Professional - Automated Software Testing" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mercuryqtp+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
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 MercuryQTP@googlegroups.com
To unsubscribe from this group, send email to
mercuryqtp+unsubscr...@googlegroups.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 Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mercuryqtp+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to