How can i read data from an object(Jtable) to verfay that its found .

Showing Answers 1 - 2 of 2 Answers

vinod

  • Oct 16th, 2006
 

if u want to read object from javatable

apply recmethod and sqasetproperty and use properties of object for eg row  count

this is eg for  row count from java table

Result=sqagetproperty(RecMethod & ";;Type=JavaTable;Index=1", "rowCount", cntBeforeAdd)

  Was this answer useful?  Yes

Mohanish Mishra

  • Feb 25th, 2007
 

If u want to read the inner data in a Java Table then follow the steps
1.get the table index number by using robots's "object data or object property"

then use the following command
SQAGetproperty "Html table;Index 5,"Inner text",strvar"
where "strvar" is the string that will store all the text data inside that table
now u can verify bu using
SQAconsolewrite strvar

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions