Ask a Question

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


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


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 can be made easier using TC. For example, should i ask them to have a standard and unique name for all WPF controls so that namesmaaping can be easier?


Pls give me advise so that building up a testing environment for this application can be of ease in TC.


Thanks for helping me.


Occasional Contributor

Hi Sudha,


If you are going for automation.

1. Just develop or create a Test  framework for that application in the name of variables using standard control names.

2. It is the best way to understand by both testers and Developers.


Thank and Regards,


Community Hero

If they can provide standard and unique names for the controls, that will help out tremendously. It's also good practice to have an open communciation with them, and be informed of any changes to the controls that are coming. 


Click the Accept as Solution button if my answer has helped



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.


  /Alex [Community Champion]
[Community Champions] 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 Champions]
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 Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
Showing results for 
Search instead for 
Did you mean: