.Net datagrid questions
New user here evaluating TC for testing a .Net windows application.
I need to be able to:
- click a given row number
- right-click a cell in given column name
I've looked at the datagrid sample and, while I can follow the logic in using get_item2, I can't figure out how to click on the grid. Can anyone help?
Re: .Net datagrid questions
You will have to evaluate their coordinates using the native grid's properties, fields and values. Please refer to the control's documentation or ask the application developers how this can be done. Once you get the coordinates, you can use either the gridObj.Click method or the Sys.MouseDown and Sys.MouseUp methods.
If you want us to create an example for you, please tell us which scripting language you prefer and which grid control is used in your application. We would really appreciate it if you sent us (email@example.com) a sample application containing the grid.
Save on AutomatedQA Products