We would like to protect our concrete huts from floods, earthquakes and neighboring countries (Sept 11 attacks) by building from foundation and solid pillars on top. Test automation projects also get attacked and mostly devastated in the wake of following reasons:
我們想通過建造地基和上面結實的柱子來保護我們的混凝土房子以擋住洪水,地震和鄰國的攻擊(9.11攻擊)。測試自動化項目也會被攻擊并且在以下的原因發生之后會被大部分破壞:
Low commitment from top management because of mis-matched expectations由于和期望不匹配導致來自最高管理層的低承諾
Test cycle delayed, so take out people from test automation projects to avoid jeopardizing release dates.測試周期延期了,因此從測試自動化項目中抽出一些人以避免危害到發布日期
Development cycle skids, but you still want to deliver the product as per the promised date, skip (or) do less testing which results in wiping out test automation project.開發周期減速了,但是你仍然想在許諾的日子里交付產品,忽略(或)少作些測試,然而那導致徹底毀滅了測試自動化項目。
Effort for test automation is under estimated because of the lack of test automation tool expertise which ends up killing test automation project由于缺乏那些測試自動化工具技術,測試自動化的工作量被低估了,最終害死了測試自動化項目
Mis-fit of the test automation tool with the application under test results in not able to automate the critically and most generally used features of the application and thus loosing the faith in test automation測試自動化工具和所測應用程序的不適宜導致不能自動化程序中關鍵的和最常用的功能,并因此失去了對測試自動化的信心。
……If you would like to see your test automation projects finishing with celebrations, make sure that you do you homework on the foundation and pillars.
如果你想看見你的測試自動化項目以慶祝的方式結束,那么確信你在地基和柱子上做了準備工作。
Foundation:
建造一個堅實的地基Build a firm foundation…Test automation is an investment, set the right expectations for management which clearly show cases the ‘bang for the buck’. Test automation spearhead is responsible for educating stake holders about the investment & benefits of test automation and making commitments with them regarding resources, changes that need to be incorporated in the ‘Development & test process’ and development tools for successful implementation and sustaining the test automation initiatives.
測試自動化是一項投資,為那些清楚展示‘貨真價實’例子的管理層設置正確的期望。測試自動化前鋒人員負責在測試自動化的投資和收益方面教育股東,并且為了成功的實施和維持測試自動化的主動性,要同他們在資源,需要在‘開發和測試過程’中的合作而做的改變及其工具開發方面達成承諾。
Pillars:
構造結實的柱子Construct solid pillars…
Tool:
Selecting the right tool which suits the technology using which you develop your products and customizing it for the specific needs is the key. Loads of wealthy information is available in this knowledgeable world which assists organizations in picking up the right test automation tool and evaluation vendors.
選擇正確的工具是關鍵,它要適合你開發你產品所使用的和為特殊需要而定制的技術。在這個知識淵博的世界里有許多大量的信息,它們可以在選擇正確的測試自動化工具和評估供應商方面為組織提供幫助。
Methodology:
Get your methodology in place, which gets integrated with the development and test process seamlessly. Test automation methodology should assist in selecting the right tests to automate, architecture of test suite, providing aids in calculating the return on investment, coding guidelines, test automation project deliverables, test suite execution, delivery and maintenance mechanism. Methodology also should provide the templates, check lists and guidelines for the above-mentioned things.
在適當的地方放置你的方法學,它要和開發以及測試過程無縫地結合起來。 測試自動化方法學應該在選擇正確的要自動化的測試,測試包的架構,在計算投資回報提供援助,編碼指南,測試自動化項目交付物,測試包執行,交付和維護機制上方面提供幫助。 方法學也應該提供模板,檢查表和有關上述事項的指南。
Infrastructure:
Ø Make sure that you have application under test installed in an environment which is only available only for the people who are on the board of test automation project, so that others will not meddle with test data.
確信你將所測試應用程序安裝在了一個只提供給在測試自動化項目中人員訪問的環境里,因此其他人將不會亂動測試數據。
Ø Dedicated machines should be available for the test automation runs.
應該有為執行測試自動化的專用機器
Ø Treat test automation suite likes any other sellable product. Package it with installer for easy delivery and installation
把測試自動化包象其他可銷售的產品一樣對待。為了更容易交付和安裝,用Installer程序打包它。
Ø Procure enough space on a hard disk drive to store all the information about test automation suite for easy accessibility and availability.
為了容易訪問和實用性,獲得足夠的硬盤空間以存儲測試自動化包的所有信息
文章來源于領測軟件測試網 http://www.kjueaiud.com/