测试ClickOnce应用程序

编程入门 行业动态 更新时间:2024-10-12 03:17:23
本文介绍了测试ClickOnce应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

您将使用哪种方法在多个用户之间测试ClickOnce应用程序的新版本(与当前版本并列)?是否有任何最佳做法(特别是因为应用程序依赖于不同的服务器来运行SQL / Web服务的实时/测试版本等)。

What method would you use for testing a new version of a ClickOnce application (side by side with the current version) amongst multiple users? Are there any best practices (especially as the applications depend on different servers for the live/test versions of SQL / web services etc).

我们使用内部DNS进行设置 http://application.ourdomain.test 网站来测试基于Web的应用程序。从地址栏中显而易见,您已登录到测试站点,而只是更改了连接字符串,以强制该部署连接到我们的测试SQL Server。有什么办法可以近似?

We use internal DNS to set up application.ourdomain.test sites to test web based applications. It's obvious from the address bar that you're logged into a test site and it's just a change to the connection string to force that deployment to connect to our test SQL server. Is there any way to approximate this?

推荐答案

对于ClickOnce部署测试,我们设置了一些虚拟机,并让测试人员使用远程桌面。 VM桌面背景为丑陋的颜色,并用大胆的红色字母说 TESTING。

For ClickOnce deployment testing, we set up a few virtual machines and have testers connect using remote desktop. The VM desktop backgrounds are an ugly color and say "TESTING" in big bold red letters.

此外,如果用户要执行以下操作,我们所有的应用程序都会显示警告消息连接到生产数据库以外的任何对象。

Also, all of our applications display a warning message if the user is about to connect to anything but the production database.

更多推荐

测试ClickOnce应用程序

本文发布于:2023-11-07 16:00:12,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1566877.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   测试   ClickOnce

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!