Awesome, thanks!

On Thursday, October 30, 2014 11:40:26 AM UTC-5, Akhalesh Yadav wrote:
>
> 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" <[email protected] <javascript:>> 
> 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 [email protected] 
>> <javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> 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 [email protected] <javascript:>.
>> 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 [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 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to