The cornerstone of test automation is the premise that the expected application behavior is known. When this is not the case, it is usually better not to automate.

测试自动化的基石的前提是预期的应用程序的行为是已知的。当不是这种情况下,最好不要进行自动化。

Unstable design

不稳定的设计

There are certain applications that are
inherently unstable by design.For example, a weather-mapping system or one that
relies on real-time data will not demonstrate sufficiently predictable results
for automation. Unless you have a simulator that can control the
inputs,automation will be difficult because the expected results are not
known

有某些固有的不稳定性所设计的应用程序。例如,天气映射系统或依赖于实时数据的一个不将演示自动化充分可预知的结果。除非你有一个仿真器,它可以控制输入,自动化会困难,因为不知道预期的结果。

Also, if you can’t control the application
test environment and data,then automation will be almost impossible. The
investment required to develop and maintain the automated tests will not be
offset by the benefits, since repeatability will be doubtful.

同时,如果你不能控制应用的测试环境和数据,那自动化几乎是不可能的。开发和维护的自动化测试所需投资将不被利益所抵消,因为重复性将是值得怀疑的。

If your application is highly configurable,
for example, or has other attributes that make its design variable, then either
forget automation or focus on implementing only selected configuration profiles.
Whatever you do, don’t try to reproduce all of the configurability of the
application into the test library, otherwise you will end up with excessive
complexity, high probability of test failure, and increased maintenance
costs.

如果你的应用是高度可配置的,例如,或具有使其设计变量的其他属性,然后要么忘了自动化或侧重落实唯一入选的配置文件。不管你做什么,不要尝试重现所有的应用程序到测试库的可配置性,否则就会落得过于复杂,测试失败的概率很高,而且增加了维护成本。

Inexperienced testers

没有经验的测试人员

If the person(s) automating the test are
not sufficiently experienced with the application to know the expected behavior,
automating their tests is also of doubtful value. Their tests may not accurately
reflect the correct behavior, causing later confusion and wasted
effort.Remember, an automated test is only as good as the person who created
it.

如果自动化测试的人不是足够经验与应用程序知道预期的行为,自动化测试也是价值令人怀疑。他们的测试可能没有准确反映正确的行为,导致后来的混乱和浪费的精力。请记住,一个自动化的测试只是创建它的人一样好。

If you have inexperienced testers who are
new to the team, they make the best manual testers because they will likely make
the same mistakes that users will. Save automation for the experts.

如果你新加入团队的是有经验的测试人员,他们做的最好的手动测试因为他们将模拟出用户所犯的相同的错误。他们可以作为储备自动化专家。

Temporary testers

临时测试人员

In other cases, the test team may be
comprised primarily of personnel from other areas, such as users or consultants,
who will not be involved over the long term. It is not at all uncommon to have a
“testfest” where other departments contribute to the test effort. But because of
the initial investment in training people to use the test tools and follow your
library design, and the short payback period of their brief tenure, it is
probably not time or cost effective to automate with a temporary team. Again,
let them provide manual test support while permanent staff handles
automation.Again, let them provide manual test support while permanent staff
handles automation.

在其他情况下,测试团队可能主要是从其他领域,不会在长期参与的人员如用户或顾问组成。这不奇怪,比如在其他部门的“测试牛人”对测试工作作出了贡献。但在初始投资在训练人员使用测试工具,并按照你的设计库,获得短期投资和回收,这不是临时的自动化团队可以做到的。再次,让他们提供手动测试支持,同时有长期工作的人处理自动化。

Insufficient
time,resources

没有足够的时间,资源

If you don’t have enough time
or resources to get your testing done manually in the short term, don’t expect a
tool to help you. The initial investment for planning, training and
implementation will take more time in the short term than the tool can save you.
Get through the current crisis, then look at automation for the longer
term.

如果你没有足够的时间和资源,让您的测试在短期内手工完成,不要指望一个工具来帮助你。规划,培训和实施的初期投资将花费更多的时间,在短期内手工测试比使用工具更能为您节省时间和资源。度过当前的危机,再看看自动化为更长期。

Keep in mind that automation is a strategic
solution, not a short term fix.

请记住,自动化是一个战略性的解决方案,而不是一个短期的修复。

When not to automate 什么时候不进行自动化的更多相关文章

  1. Power Platform之Power Automate新增RPA功能

    ​ 什么是RPA RPA( Robotic Process Automation 机器人流程自动化软件),是一种新型的人工智能的虚拟流程自动化机器人.RPA的核心是通过自动化.智能化技术来“替代人”进 ...

  2. 流程自动化RPA,Power Automate Desktop系列 - 不讲武德的Windows10内置应用

    简介 Power Automate Desktop 扩展Power Automate中的现有机器人流程自动化(RPA)功能,并使您能够自动化所有重复的桌面流程. 使用预生成的拖放操作或记录您自己的桌面 ...

  3. The Automated Testing Handbook 自动化测试手册简介

    Learn what works, what doesn't and why. The Automated Testing Handbook is a practical blueprint for ...

  4. 专访|HPE测试中心总监徐盛:测试新思维-DevOps,持续测试,更敏捷,更快速

    2016年7月22日,「HPE&msup软件技术开放日」将在上海浦东新区,张江高科技园区纳贤路799号科荣大厦小楼2楼举办,msup携手HPE揭秘全球测试中心背后的12条技术实践. 徐盛:HP ...

  5. SharePoint Online 触发 Outlook 邮件内审批

    前言 我们在做SharePoint Online项目时, 经常会有客户问,我们能否在通知邮件中快速完成审批,而不是需要在邮件中打开系统,然后在系统中审批? 答案肯定是可以的,来!安排! 正文 1.我们 ...

  6. How To Automate Disconnection of Idle Sessions

    ***Checked for relevance on 30-Apr-2012*** goal: How to automate disconnection of idle sessions fact ...

  7. How to automate Microsoft Word to create a new document by using Visual C#

    How to automate Microsoft Word to create a new document by using Visual C# For a Microsoft Visual Ba ...

  8. Using git-flow to automate your git branching workflow

    Using git-flow to automate your git branching workflow Vincent Driessen’s branching model is a git b ...

  9. Implement a deployment tool such as Ansible, Chef, Puppet, or Salt to automate deployment and management of the production environment

    Implement a deployment tool such as Ansible, Chef, Puppet, or Salt to automate deployment and manage ...

随机推荐

  1. WPF之RichTextBox丢失光标仍然选中文本

    描述:开发中完成了一个类似于Word的悬浮工具栏功能,选中文本之后可以自动弹出一个工具栏.可以修改字体.字体大小等功能,问题来了,我发现当去进行操作的时候原本选中的RichTextBox的内容的颜色会 ...

  2. CentOS Mysql自动备份 .txt

    http://fly.b3log.org/articles/2011/10/25/1319505473928.html MySql数据库备份: 说明:我这里要把MySql数据库存放目录/var/lib ...

  3. 几百万的数据,mysql快速高效创建索引

    有一个问题,一张表有3百万条记录,随着时间的增加,记录量会更多,此时查询速度很慢.在创建此表前没有未相应字段添加索引,所以此时需要为表添加索引.但是因为数据量大的原因,索引添加不成功,想了很多办法,终 ...

  4. tomcat报警告 An attempt was made to authenticate the locked user

    有好多这样的警报怪怪的,一分钟抛一次,大概抛了10分钟,停止 有 Anattempt was made to authenticate the locked user "root" ...

  5. php去除数组中重复数据

    <?php /** * 去除数组中重复数据 * by www.jbxue.com **/ $input = array("a" => "green" ...

  6. cdoj 1324 卿学姐与公主 线段树裸题

    卿学姐与公主 Time Limit: 2000/1000MS (Java/Others)     Memory Limit: 65535/65535KB (Java/Others) Submit St ...

  7. ural1238. Folding(记忆化)

    1238 这算模拟加记忆化吗 找bug找了2个多小时..记忆化部分好想 就是字符串处理部分挫了 一个个复制模拟 各种修改查找 #include <iostream> #include< ...

  8. 在单机Hadoop上面增加Slave

    之前的文章已经介绍了搭建单机Hadoop, HBase, Hive, Spark的方式:link 现在希望在单机的基础上,加一个slave. 首先需要加上信任关系,加信任关系的方式,见前一篇文章:li ...

  9. poj 2773(容斥原理)

    容斥原理入门题吧. Happy 2006 Time Limit: 3000MS   Memory Limit: 65536K Total Submissions: 9798   Accepted: 3 ...

  10. UVa 340 Master-Mind Hints

    蛋疼的题目描述,看了好长好长时间才看懂,题目本身是很简单的. Designer给出一串长度为N的Code,Breaker用Guess来破译. 对于两串数字,如果有同一列相等的数字,那么叫做strong ...