Forum Discussion

kandy1984's avatar
kandy1984
Contributor
6 years ago
Solved

Developing standards in C# .NET so that its easier to test in TC

Hi, Im going to start testing a new application that the developers have start developing. As a TC user, what are the coding standards that i can ask the developers to incorporate so that testing c...
  • AlexKaras's avatar
    AlexKaras
    6 years ago

    Hi,

     

    Yes, stable and unique object names is something that is of primary importance.

    Additionally, you may discuss and establish some naming conventions (or other means provided by .Net) for UI data controls (input fields, comboboxes, checkboxes, grids, tabs, etc.) and their respective labels.

    Having this in place will make you able to, for example, search for some label (e.g. 'Customer ID') and enter data into corresponding field. Or find all mandatory combo-boxes on a tab and iterate through them with elegant logging.