Ask a Question

Desktop Telerik Gridview - How to get cell's value

SOLVED
Gone2TheDogs
Occasional Contributor

Desktop Telerik Gridview - How to get cell's value

I have the following code, but wValue is not recognized. How do I get a cell's value from a Telerik Datagrid?

 

 

GridCellValue = Aliases.Purchasing.frmPurchasingMenu.MdiClient.frmPoShipDateMaint.pnlData.tabMain.tpgTracking.RadGroupBox5.dgvTracking.wValue(0,2)

 

Unable to find the object wValue(0, 2). See Details for additional information. 18:09:07 Normal 11.27 

1 ACCEPTED SOLUTION

Accepted Solutions
Marsha_R
Community Hero

Re: Desktop Telerik Gridview - How to get cell's value

This may be of some use:

https://support.smartbear.com/testcomplete/docs/reference/test-objects/controls/desktop/telerik/wpf/...


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

View solution in original post

3 REPLIES 3
Marsha_R
Community Hero

Re: Desktop Telerik Gridview - How to get cell's value

This may be of some use:

https://support.smartbear.com/testcomplete/docs/reference/test-objects/controls/desktop/telerik/wpf/...


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

View solution in original post

Gone2TheDogs
Occasional Contributor

Re: Desktop Telerik Gridview - How to get cell's value

So, I found that if the Telerik Gridview's Cell is editable, I had to double-click on the cell to put it in edit mode, then I was able to get the nValue. If the Gridview Cell was read-only, the cell was 'NEVER' highlighted by the object identifier, but that I could use the checkpoint - Extra properties - nValue - and put in the row column location. This method doesn't work with an editable cell because the nValue property doesn't exist. I thought that was odd. I know I'm new to TestComplete (been programming for 30 years though), and might be missing something.

Marsha_R
Community Hero

Re: Desktop Telerik Gridview - How to get cell's value

TestComplete just reads the properties that are there.  That seems to be a choice that Telerik made in their design.  You might check their documentation to confirm.  


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
cancel
Showing results for 
Search instead for 
Did you mean: