编码Web测试问题 [英] Issue with Coded Web Test

查看:72
本文介绍了编码Web测试问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



< span style ="">  当我尝试使用Coded web test记录我的Web应用程序时,它显示在错误下面

 When I try to record my web application with Coded web test, it displayed below error


"未检测到任何控件。验证正在测试的应用程序是使用4.0或更高版本的Silver light程序集构建的,并且引用

" No controls were detected . Verify that the application under test is built using Silver light assemblies with 4.0 or greater and that a reference to the


< span style ="font-family:Calibri"> Microsoft.VisualStudio.TestTools.UITest.Extension.SilverlightUIAutomationHelper.dll程序集已添加到项目中。欲了解更多信息,请参阅https://go.microsoft.com/fwlink/linkid=204562


银色灯已安装在我的M / C中,当我录制时我没有遇到错误我的网络性能测试测试。

Silver light is already installed in my M/C and I am not getting above error when I record my tests with Web Performance Tests .


我的问题是我们为什么会这样仅针对编码UI测试的上述问题?

My questions is why we are getting the above issues for Coded UI tests only ?


我有几点澄清。

I have few more clarifications.


I have used web tests for functionality and regression tests in VS 2008. Are we no longer using Web Tests (Web performance tests) for the functionality testing in 2010 .


1.我们是否只需要使用Coded UI进行功能测试?2008年,我们还没有触及Coded UI,因为它需要C#或vb.neT

1. Do we need to use only Coded UI for functionality testing? In 2008, we haven’t touched Coded UI as it needed lot of coding skills in C# or vb.neT


2.我看到2010年Web性能测试(LIKE If& For循环逻辑)中实现了许多新功能,这些新功能是否仅对Load
或性能有用我们在Web性能测试中创建方案时进行测试吗?

2. I see there are lot of new features implemented in Web Performance tests (LIKE If & For loop logic) in 2010, Are this new features will be useful for only Load or performance testing when we create the Scenarios in Web Performance tests ?


3.是否有人使用此工具进行自动化,因为我没有看到任何查询的快速响应?

3. Is anybody using this tool for automation as I haven’t seen the fast responses for any of my queries?


4.为什么微软正在构建需要编码知识的测试工具?我们能否期望微软在不久的将来能够满足我们的要求
进行回归和功能测试?
< span style ="color:#333333;行高:125%; font-size:12pt">

4. Why Microsoft is building testing tools that require coding knowledge? Can we expect any testing tool from Microsoft in near future that fulfills our requirement for regression and functionality testing?


为什么他们可以像其他一些需要较少编码知识的测试工具那样构建工具?其他工具也需要开发背景但是这些工具
只需要脚本语言,这对于QA来说更容易一些测试团队了解与c#或vb.net比较

Why can’t they build the tool like some other testing tools that require less coding knowledge? Other tools also need development background but those tools need only scripting language which is somewhat easier for the QA Testing team to understand compare to c# or vb.net

SR

SR

推荐答案

您可以随时使用Web性能测试进行功能测试。编码的UI更适合客户端操作和验证,因为Web测试只能在http层工作。

You can always use web performance tests for functional testing. Coded UI are better for client side actions and validations since web test only work at the http layer.

当涉及到负载测试时,你只能依靠web测试,因为编码UI的限制每运行1 VU代理。

When it comes to load testing, you can only rely on web tests becuase beacuse of the limitation of coded UI to run 1 VU per agent.

要使用silverlight扩展,您需要安装FP2,请参考

http://blogs.msdn.com/b/vstsqualitytools/ archive / 2010/11/16 / visual-studio-2010-feature-pack-2-pre-requisite-hotfix-details.aspx

To work with silverlight extension, you will need to install FP2, please refer http://blogs.msdn.com/b/vstsqualitytools/archive/2010/11/16/visual-studio-2010-feature-pack-2-pre-requisite-hotfix-details.aspx

谢谢,

Anuj


这篇关于编码Web测试问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆