Forum Discussion
Could you try this... RowIndex = Grid2.FindRowByMultipleValues(Columns, Values);
Double Quotes should be the issue here - [Grid2.FindRowByMultipleValues("Columns", "Values");]
RowIndex = Grid2.FindRowByMultipleValues(Columns, Values);
i changed the 2nd lin too :
Values=new Array(COUNTRY,asa);
instead Values=new Array("COUNTRY","asa");
i tried this , still gives an error Unable to find the object FindRowByMultipleValues(null, null).
- SaravanaKumar_N6 years agoContributor
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...
- msap6 years agoFrequent Contributor
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.
- msap6 years agoFrequent Contributor
any other suggestions would be appreciated.
for searching row giving two or more than two column values.
Related Content
Recent Discussions
- 2 days agovladd1