Forum Discussion

Ravik's avatar
Ravik
Super Contributor
7 years ago

Java Table: .FindRow() method not working in TC

Hi All,

 

I am trying to use .FindRow() to search a record in java table but its not working its throwing error .

 

rowno = JavaTable.FindRow(ColIndex, "Value to search") 

 

Actually I am trying to search a specific value in java table. could you please help me how I can search record in java table.

 

Thanks

Ravik

2 Replies

  • shankar_r's avatar
    shankar_r
    Community Hero

    Hi,

     

    FindRow possible parameter is

     

    tbl_JavaObject.FindRow(0,"valuetofind");

    tbl_JavaObject.FindRow("name","valuetofind");

     

    It is working for me, Can you share what value you are passing in ColIndex