ContributionsMost RecentMost LikesSolutionsRe: Testing .NET desktop application based on Magic xpa Colin_McCrae I've tried to add grid'classename to every component category independently that exist by default in object mapping setting so I can find the correct one, and it seems that the Microsoft Controls/WinForms/DataGridView is the nerest one that I could find. For every other component type, it gives me more exceptions in type relative properties when I track my object in Object Spy Re: Testing .NET desktop application based on Magic xpa baxatob Here is a screenshot of the source of the problem Re: Testing .NET desktop application based on Magic xpa The problem with that snippet as I think is that the wValue or ClickCell method is based somehow with the rowCount property, Re: Testing .NET desktop application based on Magic xpa Please baxatob can you give me a short script to well inderstand what i sould do and thanks in advance Re: Testing .NET desktop application based on Magic xpa Thanks Colin_McCrae and baxatob for your replies and your interests, The solution I am trying to test is not developped by our company, so like you I have no idea what classname they use or what Magics xpa is based on, accoding to what I've seen in object properties I guess it is a custom grid because every time I scroll down to the end list the grid looks for more older data and fill the grid so it an infinite scrolling and I think that make magics xpa grid a custom component. the properties that I get gives me the columns count and the rows count(using the property virtualItemCount), but what I think is that methods like wValue or ClickCell used some Row count in their implemtation so without having the property wRowCount those methods cannot work. I think as a solution I can hard code row count value suing vertualItemCount's value, To do this i wrote ; Grid.wRowCount = Grid.VirtualItemsCount; and i think that i do it wrangly because it gives me error, baxatob please can you help me to do it right Re: Testing .NET desktop application based on Magic xpa Thanks Colin_McCrae, Actually there are some other properties that gives the row number like you can see in the picture, so I think that this can help me to get the values I need from the cells of my table. Excuse me because I am beginner in scripting, using the code given by baxatob It gives me a problem because of the wRowCount that is not defined, can you please show me other ways to extact the values from the table. Re: Testing .NET desktop application based on Magic xpa Hello Guys, Thanks for all your replies, they were very helpful, I tried to add the classname to object Mapping setings : Microsoft controls -> WinForms -> DatagridView and that gaves me more properties, adding to that I used advanced view, the result was that I am able to detect columns number, I think according to what was said, I can't map the needed cell using "Object Spy", but it can the cell value can be accessible by developing some scripts, will try to access the value needed by scripting still one problem i don't know how to solve it according to this new properties, the second verification, i have to verify for every item in the table the quantity and the final price with data in an Excel file, and according to the properties, there is an exception in the wRowCount, how can i loop my table and extract cell values without having rowCount value that will help in loop setting Testing .NET desktop application based on Magic xpa Hello everyone, I am a starter in automation test with TestComplete, I could automate the first test case for my web application without problem, but when I start testing our desktop application I had some problems with recognation object in object mapping. The application SUT is a .NET desktop application based on Magic xpa Application Platform As you can see in attached image I have a control table with a list of rows that present my commands, what i am trying to do is to verify the total value for my first row, the problem is that TestComplete can only detect the full table as a single element and cannot access to table cells, can some one help me to resolve this issue.