Forum Discussion
No, while declaring the variables, the values should be within the quotes...
Columns= new Array ("param1","param2");
Values=new Array("SUB","TEST");
But while finding, if you are using a variable name, avoid using the quotes...
RowIndex = Grid2.FindRowByMultipleValues(Columns, Values);
TestComplete manual has vast examples... the below is for Find method.
You can also refer w3school for JavaScript help...
Thanks.. If I declare values in quotes, i get java run time error "sub" is not defined.
I went through find methods and used the find row method. it works good. but currently i need to search the records that matches more than one columns in a a row.
So was using this method:FindRowByMultipleValues .
I will check in w3 schools. Thanks alot for responding.
- msap8 years agoFrequent Contributor
any other suggestions would be appreciated.
for searching row giving two or more than two column values.