How to add custom grid to object maaping list programmatically ?
My application has custom grid where it's base type is System.Windows.Forms.DataGrid . I am unable to access w** properties of the grid. i can add this in Tools -> current project properties -> Object Mapping. But there are few applications that i have to test which have there own custom grids of the same base type. So it would be easier for me to use the same script if i map the grid object in script. Or is there any way that i can get convert custom grid to it's base grid type so that i can use it's properties?
Select the Derived Classes check box in the Object Mapping. This way you won't have to add each grid class individually - they will be detected automatically.
You can also make this change in Tools > Default Project Properties too, so that it will be automatically added to all new projects you create.