Answered by:
I am not able to get all properties of C1TrueDBGrid like row count column count etc. Also Coded UI test records new row everytime. This grid is used in our application. Anyone can help me?

Question
-
I am not able to get all properties of C1TrueDBGrid like row count column count etc. Also Coded UI test records new row everytime. This grid is used in our application. can anyone help me?
Arun Rathiya- Edited by ArunRathiya Friday, September 30, 2011 6:20 AM
Thursday, September 29, 2011 5:01 PM
Answers
-
Please provide additional info. What type of datagrid is it? Winforms/WPF/Silverlight ? Describe your scenario, what you intent to record and what is being generated in the recorded script.
Thanks,
~ Tapas
- Marked as answer by Shubhra Maji MSFTMicrosoft employee, Moderator Friday, November 4, 2011 11:18 AM
Monday, October 17, 2011 6:03 AM
All replies
-
Please provide additional info. What type of datagrid is it? Winforms/WPF/Silverlight ? Describe your scenario, what you intent to record and what is being generated in the recorded script.
Thanks,
~ Tapas
- Marked as answer by Shubhra Maji MSFTMicrosoft employee, Moderator Friday, November 4, 2011 11:18 AM
Monday, October 17, 2011 6:03 AM -
Closing this thread as no further information was providedFriday, November 4, 2011 11:18 AMModerator
-
I have a scenario...
I use the recording capabilities of CodedUI to record this:
public void RecordedMethod1_IN_GridTest() { #region Variable Declarations WinEdit uIItemEdit = this.UIItem3INAdjustmentEntWindow.UIItem41212Window.UIItemEdit; WinCell uILocationDescRow0Cell = this.UIItem3INAdjustmentEntWindow.UIRow0Row.UILocationDescRow0Cell; WinClient uIC1TrueDBGrid1Client = this.UIItem3INAdjustmentEntWindow.UIC1TrueDBGrid1Window.UIC1TrueDBGrid1Client; WinEdit uIItemEdit1 = this.UIItem3INAdjustmentEntWindow.UIItemWindow.UIItemEdit; WinCell uILocationRow0Cell = this.UIItem3INAdjustmentEntWindow.UIRow0Row.UILocationRow0Cell; WinButton uICloseButton = this.UIViewpointV6Window.UICloseWindow.UICloseButton; #endregion System.Threading.Thread.Sleep(3000); // Type '04/11/12' in 'Unknown Name' text box uIItemEdit.Text = this.RecordedMethod1_IN_GridTestParams.UIItemEditText; // Click 'Location Desc Row0' cell Mouse.Click(uILocationDescRow0Cell, new Point(15, 11)); // Type 'L' in 'C1TrueDBGrid1' client Keyboard.SendKeys(uIC1TrueDBGrid1Client, this.RecordedMethod1_IN_GridTestParams.UIC1TrueDBGrid1ClientSendKeys, ModifierKeys.None); // Type 'Loc' in 'Unknown Name' text box uIItemEdit1.Text = this.RecordedMethod1_IN_GridTestParams.UIItemEditText1; // Click 'Location Row0' cell Mouse.Click(uILocationRow0Cell, new Point(68, 11)); // Click '&Close' button Mouse.Click(uICloseButton, new Point(31, 10)); }
And, when I play it back it can't find the grid. The grid is one of these:
Help!
Thursday, April 12, 2012 11:43 PM