TFS2010 测试用例中的富文本测试步骤'文本?
我目前正在评估 Microsoft 的 Test Manager 2010 TestStep Editor 控件中的限制的可能解决方案,我想知道是否有人知道是否以及如果是这样,如何将富文本写入步骤的“操作”和“预期结果”字段?据我所知,它需要 'ParameterizedString< /a>' 作为输入,但我不确定 MSDN 在说“[...]代表具有嵌入参数的字符串。[...]”时指的是哪些参数(或 MTM TestRunner 可以处理)。
I am currently evaluating possible solutions to limitations in Microsoft's Test Manager 2010 TestStep Editor control and I was wondering whether anyone knows if and if so, how you can write richtext to the Action and Expected Result fields of a step? As far as I saw it takes a 'ParameterizedString' as input, but I am not sure what parameters MSDN refers to (or the MTM TestRunner can handle) when saying "[...]Represents a string that has embedded parameters.[...]".
预期结果字符串是由空格、分号或逗号分隔的字符串名称列表。您可以输入类似以下内容:@Test、@Cart、@Book 或 @Test @Cart @Book。
您无法将 HTML 添加到预期结果参数或操作;但是,我不确定是否会将其描述为限制。您认为需要采取什么行动才能做到这一点。操作通常是“单击此”或“转到此处”您是否只想为操作的某些部分提供更强的视觉队列?
这是一篇文章,描述了预期结果部分:
The Expected Results string is a list of string namees delimited by spaces, semi-colons or commas. You can enter something like: @Test, @Cart, @Book or @Test @Cart @Book.
You can't add HTML to the Expected Result parameters or the action; however, I am not sure I would describe this as a limitation. What action were you thinking you would need to be able to do this. Actions are typically "Click this" or "Go to here" Did you just want a stronger visual queue for certain parts of the action?
Here is an article that describes the intent with the expected results section: