Forum Discussion

AAN's avatar
AAN
Contributor
13 years ago

Data Grid - Adding Methods + Programming

Hi there,



I've been having probelms with automating adding a new row to a data grid.



And a recommendation has come through to adding a method to properties to the specific row in the grid, the row # properties, maybe saying something in the method like: grid.go.to.last.



My question really is - does the above require programming knowledge to do so.



Baring in mind our application is WPF (.NET).





With Kind Regards,

Aneez Nabi.

  • Aneez,


    To add a method or property to a grid control, you need to have some programming skills. This task is typically done by developers, not by testers. They add the needed method or property to the control, recompile the application and then the added method or property becomes available to TestComplete.


    As far as I know, you are testing a WPF application that has a Developer Express grid control. TestComplete supports this control and gives access to its methods and properties. Most likely, you already have everything that is needed and don't have to add any method and property to the control.


    Could you tell what you are trying to do? What for do you need a special method/property? Maybe we'll find a simpler solution.