• Getting and keeping management commitment获得和保持管理层的承诺


    There are three types of management commitment needed for successful test automation: money, time and resources. And it is just as important to keep commitment as it is to get it in the first place! Keep in mind that test automation is a project that will continue for the life of the application under test.

    若想要测试自动化成功,必须有三种管理承诺:金钱,时间和资源。第一要务是保证对此的承诺!请记住,自动化测试是一个项目,该自动化项目一直持续在在整个项目生命周期中。

    Commit money

    投入资金

    Acquiring a test automation tool involves spending money for software, training and perhaps consulting. It is easier to get money allocated all at once instead of piece meal, so be careful not to buy the software first then decide later you need training or additional services. Although the tool itself may be advertised as “easy to use”,this is different from “easy to implement”. A hammer is easy to swing, but carpentry takes skill.

    采集测试自动化工具,包括花钱的软件,培训和咨询可能。这是比较容易获得分配的,而不是零碎一次全部的钱,所以要小心,不要先买软件再后来,再决定你需要的培训或其他服务。虽然工具本身可以标榜为“好用”,但是这跟“容易实现”是不同的。锤子容易摆动,但木工需要的是技能。

    Do a pilot

    做一个试点

    Just because the money is allocated all at once, don’t spend it that way! If this is your first time to automate, do a small pilot project to test your assumptions and prove the concept. Ideally, a pilot should involve a representative subset of your application and have a narrow enough scope that it can be completed in 2-4 weeks.

    只是因为钱被分配一次,不要这样!如果这是你第一次来做自动化,做一个小的试点项目来测试你的假设和证明的概念。理想情况下,试点项目应该包括你的代表性的应用程序的子集,需要足够小到它可以在2-4周内完成。

    Take the time to carefully document the resource investment during the pilot as well as the benefits, as these results can be used to estimate a larger implementation. Since you can be sure you don’t know what you don’t know, it is better to learn your lessons on a small scale. You don’t learn to drive on a freeway!

    花时间去仔细记录试点项目投入的资源是有好处的,因为这些数据将作为大项目预估依据。既然你可以确信你不会知道你了解的,所以从试点项目中学习是非常有必要的,正如你不会在高速上面学开车。

    Commit time

    承诺时间

    All too often tools are purchased with the expectation that the acquisition itself achieves automation, so disappointment sets in when results aren’t promptly forthcoming. It is essential to educate management about the amount of time it takes to realize the benefits,but be careful about estimating the required time based on marketing literature: every organization and application is different.

    很多时候被购买的工具被寄予了可成功实现自动化的期望,所以当没立刻达到效果时往往会失望。至关重要的是,要让管理层了解实现的好处,但要小心关于估算所需的时间,基于营销文学所花费的时间量: 每个团队和应用程序都是不同的。

    When you ask for time, be clear about what will be accomplished and how it will be measured.

    当你寻求时间计划时,要清楚将完成什么和如何衡量它。

    Commit resources

    承诺资源

    Remember that even though test automation saves resources in the long run, in the short term it will require more than a manual process.Make sure management understands this, or you may find yourself with a tool and no one to implement it.

    请记住即使测试自动化长远来看可以节约资源,在短期内它将需要超过一个手动过程。确保管理层明白这一点,否则你会发现自己只有一个工具,却没有人去实现它。

    Also be sure to commit the right type of resources. As further described in the Test Team section of this Handbook, you will need a mix of skills that may or may not be part of your existing test group.Don’t imagine that having a tool means you can get by with less skill or experience: the truth is exactly the opposite.

    也一定要提交正确类型的资源。在本手册的测试团队部分将进一步描述,您需要综合的技能可能会或可能不是您现有的测试组所拥有的。不要以为有一个工具,意味着你可以用较少的技能或经验:事实正好相反。

    Track progress

    进度跟踪

    Even though benefits most likely won’t be realized for several months, it is important to show incremental progress on a regular basis - monthly at the least. Progress can be measured in a number of ways: team members trained on the tool, development of the test plan, test requirements identified, test cases created, test cases executed, defects uncovered, and so forth.

    即使在几个月内可能仍然看不到效果,重要的是至少定期或每月都可以显示增量进度。可以在大量的方法来衡量进展情况: 团队成员在工具上的培训、 开发测试计划,查明的测试需求,创建的测试用例,执行测试用例,缺陷发现,等等。

    Identify the activities associated with your test plan, track them and report them to management regularly. Nothing is more disconcerting than to wait for weeks or months with no word at all. Also, if you run up against obstacles, it is critical to let management know right away.Get bad news out as early as possible and good news out as soon as you can back it up.

    确定你的测试计划相关的活动,跟踪和报告给管理层定期。什么是更令人不安的比等待几个星期或几个月没有在所有的字。同时,如果你碰到的障碍,关键是要让管理层知道吧。得到坏消息出尽可能早的好消息,只要你能备份它。

    Adjust as you go

    根据自身情况不断调整

    If one of your assumptions changes, adjust the schedule and expectations accordingly and let management know right away. For example, if the application is not ready when expected, or if you lose resources, recast your original estimates and inform everyone concerned. Don’t wait until you are going to be late to start explaining why. No one likes surprises!

    如果你假设的一个改变,调整作息时间,并期望因此而让管理层了解的时候了。例如,如果应用程序还没有准备好,当预期,或者如果你失去了资源,重铸你原来的估计,并告知大家关注。不要等到你要迟到了,开始解释为什么。没有人喜欢惊喜!

    Plan for the long term

    长期计划

    Be sure to keep focus on the fact that the test automation project will last as long as the application under test is being maintained.Achieving automation is not a sprint, it is a long distance run. Just as you are never through developing an application that is being actively used, the same applies to the test library.

    一定要注意一个事实,测试自动化项目会随着测试的应用程序是被保持。实现自动化不是短跑,它是一个长距离跑。就像你从未通过开发一个应用程序正在积极使用,同样适用于测试库。

    In order for management to manage, they must know where things stand and what to expect. By letting them know up front what is needed, then keeping them informed every step of the way, you can get their commitment and keep it.

    为了管理层来管理,他们必须知道的东西的立场,会发生什么。让他们知道,前面需要的是什么,然后让他们了解每一步的方式,你可以得到他们的承诺,并保持它。

  • 相关阅读:
    Java利用QRCode.jar包实现二维码编码与解码
    javax.servlet不存在问题的解决
    订单号生成规则
    Koa处理url
    网站追踪技术:前端持久化evercookie
    网站追踪技术:“帆布指纹识别”canvas fingerprinting
    Typescript类、命名空间、模块
    TypeScript 基础类型、变量声明、函数、联合类型、接口
    webpack中的hash、chunkhash、contenthash区别
    不刷新网页修改url链接:history.pushState()和history.replaceState()新增、修改历史记录用法介绍
  • 原文地址:https://www.cnblogs.com/Ann-L/p/4514420.html
Copyright © 2020-2023  润新知