Forum Discussion
4 Replies
- TanyaYatskovskaSmartBear Alumni (Retired)
Hi Maheshillur,
It makes sense to try to map your control under the XtraGrid control that has a special support in TestComplete. You will need to use the Object Mapping feature for this. Please refer to the Object Mapping ( http://smartbear.com/viewarticle/73545/ ) article for more information.
By using this approach, you may not get access to some features provided by the control. Thus, I would recommend that you create your own functions to test the Pivot Grid control - you can call the control's native methods and properties in TestComplete.
- MaheshIllurOccasional Contributor
Hi Tanya,
Thanks for the reply!
I did follow this approach earlier and was able to read cells values under the grid. But here my concern is the items present on ColumnArea , RowArea sections of Pivot grid are not accessible by any of methods.
At present I am trying to right click on them using x,y co ordinates which i got based by recording method.
I have attached snapshot , I need to perform click operations on highlighted items. As I am new to testcomplete,could you please help me here.
Regards
Mahesh Illur
- TanyaYatskovskaSmartBear Alumni (Retired)
Hi Maheshillur,
You need to analyze the control’s documentation to learn the methods or properties you can use. I’ve found this article containing the main properties that affect the field’s functionality. You can call any of them from TestComplete. Explore your grid in TestComplete’s Object Browser window to find them. To make sure that you see all properties in the window, you need to activate the Advanced View mode and enable the Show hidden properties option. Please read the Basic and Advanced View Modes ( http://smartbear.com/viewarticle/71396/ ) article for details.
Also, I recommend that you refer to our How To section where you can find many TestComplete samples demonstrating how the tool can work with third-party controls: http://support.smartbear.com/viewarticle/8986/