Contributions
Re: Getting RowCount for DataTbl Grid
tristaanogre wrote: Ok, the class (DataTbl) is not a recognized or supported class in TestComplete which is why you are running into those limitations. Can you provide more details about this class? What type of component is it? Etc? You might be able to map it in Object Mapping to go along with other table classes. As it is, RowCount is not an exposed property on tje object so you won't be able to get to it without some additional work. Hi Robert, as far as I know its just standard grid fromMscomctl.ocx. I will attempt to ask the developer of the product. I am not sure how to go about Object Mapping, is there anything you can point me towards? Cheers2.8KViews0likes1CommentRe: Getting RowCount for DataTbl Grid
tristaanogre wrote: Whatbaxatobandshankar_rsaid concerning row count... I feel generally obligated to point out that the purpose of the Aliases is so you can reference an object without having to reference the entire hierarchy of objects. For example, in what you noted, you probably are not ever going to interact directly with either the MDIClient object or the WndRTI_PrC12 object. So, you can, in your Alias editor, "drag" the tables to be direct children of the MenuPayroll and bypass those middle objects. The Mapping itself maintains the hierarchy and other relationships, but the Alias then makes the object identification much more manageable and human readable. Thanks. Ive just been through and moved everything around in the Name Mappings so its a little more intuitive.2.8KViews0likes0CommentsRe: Getting RowCount for DataTbl Grid
So I have tried Aliases.MyApp.MenuPayroll.MDIClient.wndRTI_PrCl2.EditTbl.EditTable.wRowCount but I get: Unable to find the object wRowCount. See Additional Information for details. The object with the specified attributes does not exist. Possible causes of the error Tested object: Aliases.MyApp.MenuPayroll.MDIClient.wndRTI_PrCl2.EditTbl.EditTable () As you can see from the attached those properties aren't exposed.2.9KViews0likes0CommentsGetting RowCount for DataTbl Grid
Hi There. I am on my first day of using TestComplete. I have set up a basic Keyword test where I am entering data into a grid. The grid shows up as "Aliases.MyApp.MenuPayroll.MDIClient.wndRTI_PrCl2.EditTbl.EditTable and has a WndClass of "DataTbl". I am trying to figure out how I get the count of the number of rows in the grid. Thanks Andrew3.1KViews0likes10Comments