Team System Developer Center >
Visual Studio Team System Forums
>
Visual Studio Team System 2010 Beta2
>
Is there any way to retrieve childobjects and data from cells for control type "Client"
Is there any way to retrieve childobjects and data from cells for control type "Client"
VSTS is identifying the entire rows and columns as a single grid control object in our application.As we want to retrieve data from cells for that object.Is there any method available to retrieve Childobjects,data from cells(rows and Columns) for the control type "Client".I have listed down the properties of the control type Client for your reference
Control Type : Client
Technology Name : MSAA
Friendly Name : gridControl1
Name : gridControl1
Control Name : c_gridControl- Moved byEdwer FangMSFTThursday, October 29, 2009 9:36 AM (From:Visual Studio Web Performance and Load Testing)
All Replies
- Is this realted to creating a web test or web app development?
Blog - http://blogs.msdn.com/slumley/default.aspx - Hello,
It seems you have posted in wrong place as this forum is for web and load test of Visual Studio. You may verify your issue to find the right place like related language forum or ASP.NET forum.
Thank you for your understanding.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Send us any feedback you have about the help from MSFT at fbmsdn@microsoft.com. - This is related to User Interface testing using CodedUItest performed in VSTS 2010 Beta 1 Version
Please let me know in which forum should I post the queires related to User Interface testing using CodedUItest in VSTS 2010 - Hello,
I am moving this post to 'Visual Studio Team Sysetm 2010 beta 2' Forum so you can get better and quicker response as beta 1 forum has been replaced with it.
Thank you for your understanding.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Send us any feedback you have about the help from MSFT at fbmsdn@microsoft.com. - Hi Senthil,
Can you try to locate your Grid Control using UISpy.exe http://msdn.microsoft.com/en-us/library/ms727247.aspx and see if it is accessible ?
Coded UI Test builder tool can't locate controls which are not accessible using Accessibily APIs.
BTW We do have APIs for retrieving childrens of a control . You can refer UITestControl.GetChildren() API for that. Once you have UITestControl object for children you can get the data for them too. - Thanks Aditya,but I can locate only the rows and drop downs in that Gridcontrol using UI spy but there are few Label names in my gridcontrol which is not accessible again.
Please tell us how to use UI spy with VSTS 2010
i.e For automating I want to use Coded UI test builder tool for identifying some controls and UI SPy for identifying some other controls.so how do I write code to use both CodeUI test and UI SPy in VSTS - Hi,
Is this is Windows Form DataGrid or WPF DataGrid. We support only Winforms and WPF datagird by default. For any other custom control one will need to write a plugin to support automation using Codeduitest on that.
See post :- http://social.msdn.microsoft.com/Forums/en-US/vsautotest/thread/f18f99ce-0f12-49ee-a76f-b1ce2486722a for more info.
Thanks
Siddhartha - Hi Siddhartha,
It is a Synchfusion grid control.These grid controls are identifed by Synchfusion software.Is there any way to identify these controls(Labels,rows,drop downs) using CodedUI test with the help of Synchfusion Software.If it is possible how should we do that and how we should write the code for identifying the Synchfusion gricontrols - Senthil - we won't support identification of these controls out of the box. As Siddhartha mentions, you'll need to write a different plugin to identify these controls: http://social.msdn.microsoft.com/Forums/en-US/vsautotest/thread/f18f99ce-0f12-49ee-a76f-b1ce2486722a
http://blogs.msdn.com/anutthara- Proposed As Answer byAnutthara - MSFTModeratorTuesday, November 17, 2009 2:42 PM


