Forum Discussion
TanyaGorbunova , Thanks for your reply.
I have checked the object browser. For data Grid object there are only 4 sections Standard, MFC, Actions, Open App Objects.
In object browser there is no Debug Agent or RTTI sections with the list of properties and methods.So does this mean that application is not compiled with debug info.?
When I object spy the grid, it shows clickcell method. Its syntax is given as clickCell(Row as integer, column as object, shift as object) I have confusion about second parameter. In testcomplete documentation they have mentioned that for this second parameter give column name or index.But if we give column name or index it gives syntax error. So what should we pass for this parameter
Tanya,
Could you please provide any input on my above comment?
Thanks and Regards,
Swati Nadage
- TanyaYatskovska10 years agoSmartBear Alumni (Retired)
Hi,
If the application was properly prepared, you should see all available properties and methods listed in the "Rogue Wave Stingray Objective Grid (C++) Support" ( http://smartbear.com/viewarticle/55651/ ) help topic. Can you post here an example of your ClickCell call?
The following should work:
//JScript var grid = //… obtain the grid object grid.ClickCell(0,0); grid.ClickCell(1,"ColumnName");
- swati_nadage10 years agoContributor
I trid clickCell method same as you have given. But its giving syntax error for second parameterie column object. am using TestComplete 9.20. For clickCell method second paramter requires column object. But I am not understanding as a column object what should I pass. TestComplete identifying grid as whole, not indivisual cells and rows.
- TanyaYatskovska10 years agoSmartBear Alumni (Retired)
Hi,
Hmmm. What Stingray grid version is used in your application? TestComplete 9 supports only ver. 10.4.
Related Content
- 2 years ago
- 10 years ago
- 12 months ago
Recent Discussions
- 2 days ago