gpt4 book ai didi

c# - 如何使用 UIMap Coded UI Test Builder 进行本地测试

转载 作者:行者123 更新时间:2023-11-30 16:15:34 25 4
gpt4 key购买 nike

我一直在尝试测试一个简单的 webforms ASP.NET 网站应用程序,并在 Visual Studio 2010 中遇到了 UIMap 工具。但是我不知道如何正确使用它,而且它似乎永远无法工作。

  • 我是否需要在录制时以 Debug模式运行我的应用程序?
  • 生成测试后,是否可以通过任何方式直观地查看正在执行的步骤?
  • 我应该在开始录制之前打开浏览器,还是应该在开始录制后打开浏览器并以这种方式浏览页面?
  • 我可以使用 Chrome 作为浏览器,还是必须是 IE?
  • 使用双屏会影响测试的运行吗?

感谢您的帮助!

最佳答案

Do I need to be running my application in debug mode while recording?

没有。您不能同时使用 Visual Studio 的调试/ Release模式和记录。单独启动应用程序。这有一个很大的优势,即您可以使用一组测试来测试我们应用程序的不同版本。

Once the test is generated is there any way of visually seeing the steps as they are being performed?

没有。你可以从试运行中得到一个日志,当然你可以看到自己的试运行,但是没有静态图形……老实说,我从来没有错过过这样的功能。

Should I have the browser open before I begin recording, or should I do that once I start and browse to the page that way?

你可以随心所欲。当然你可以记录浏览器的启动。我们之前启动浏览器,因为浏览器启动并不是测试的一部分。

Can I use Chrome for the browser, or does it have to be IE?

At the moment IE is the forced browser.但是有ways使用其他浏览器。

Does using Dual Screens affect the running of the test?

没有。双屏一切正常。但是不要忘记当测试运行时你不能使用你的鼠标和键盘 - 你会对抗 CUIT ;)。对于长 CUIT,我们使用单独的 PC。

以下是一些可能对您有帮助的链接:

关于c# - 如何使用 UIMap Coded UI Test Builder 进行本地测试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19439366/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com