lunedì 13 febbraio 2012 14:27
We did a lot of changes in our process model and update it around each quarter year. To be sure that the process model was correctly changed according to the spec document, we want to do automated testing. For this we want to use the Coded UI Testing - clicking through the Work Item mask in TFS Web Access.
We know, calls to the API model would be easier and all the rules are also checked. As there are also changes in the UI controls, we need / want to go this way. As our first tests showed, it is not possible to test the WIT UI masks without any special code. The CUIT framework cannot locate the dynamically created controls (e.g. setting the value for the "System.Title" field is not possible). We did try to do some java scripting and inserting it via the CUITe extensions. But for this we need to dive deep into the DOM and HTML code, which should not be needed for black-box testing.
Did you ever tried CUIT testing of TSWA? Are there any hints and tipps, and is it planned to make testing easier in the future?
Tutte le risposte
mercoledì 15 febbraio 2012 03:06Moderatore
Thanks for your post.
I am currently looking into this issue, and will give you an update as soon as possible.
John Qiao [MSFT]
MSDN Community Support | Feedback to us
venerdì 17 febbraio 2012 19:59ProprietarioThis is not tested/supported scenario. For more information regarding supported configuration please see the following MSDN page:
Supported Configurations and Platforms for Coded UI Tests and Action Recordings
It appears that in your specific case you will be best served by using unit testing.
Trevor Hancock (Microsoft)
Please remember to "Mark As Answer" the replies that help.
martedì 28 febbraio 2012 15:40
I'dont find any entry on the 'Supported Configurations' page, that TFS Web Access cannot be tested. As far as I know, is TFSWA a ASP.NET application and should be testable through IE9. Or do I miss something?