Hi all,
I'm new with Test Advantage, I have a question about GetRowCount() for Infragistics ultragrid control. Per help document, 'to get the number of rows in the root band pass in "Nothing" as the parent rows', But if I pass "Nothing" as argument for GetRowcount(), I will get a compile error says 'Nothing cannot be resolved'. My statement as below:
System.out.println("Row count: "+dTransactionstable().GetRowCount(Nothing));
Is there any syntax error in my statement? How does GetRowCount() work in RFT?
Thanks,
David
Hi David,
It looks like you are using Java code so you need to use the equivelence of Nothing which is null. So you should use the following:
System.out.println("Row count: "+dTransactionstable().GetRowCount(null));
let me know if you have any question.
Regards,
Ammar