Forum Discussion
6 Replies
- msapFrequent Contributor
Columns= new Array ("param1","param2");
Values=new Array("SUB","TEST");
RowIndex = Grid2.FindRowByMultipleValues("Columns", "Values");not working as findrowbymultiplevalues method gives an error. FindRowByMultipleValues("Columns", "Values");object not found.
any ideas.
- SaravanaKumar_NContributor
Could you try this... RowIndex = Grid2.FindRowByMultipleValues(Columns, Values);
Double Quotes should be the issue here - [Grid2.FindRowByMultipleValues("Columns", "Values");]
- msapFrequent Contributor
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_NContributor
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...
Related Content
Recent Discussions
- 3 days agovladd1