Developing standards in C# .NET so that its easier to test in TC
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 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.
Sudha
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
Sriram
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Thanks,
Carson
Click the Accept as Solution button if my answer has helped
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
/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.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
