自動化測試工具TestComplete7介紹

發表于:2009-07-31來源:作者:點擊數: 標簽:工具自動化
5月,Automated公司的TestComplete7發布了,展現了很多令人激動的新特性,TestComplete7的口號是: The Easiest TestComplete Ever. Script-free testing for new users. Power-packed features for savvy testers. Ease of use and low price for all. 誓要

5月,Automated公司的TestComplete7發布了,展現了很多令人激動的新特性,TestComplete7的口號是:

  The Easiest TestComplete Ever.

  Script-free testing for new users.

  Power-packed features for savvy testers.

  Ease of use and low price for all.

  誓要改變大眾對其一貫的印象,把自己打造成“物美價廉”,功能強大而又簡單易用的自動化測試工具形象。

  也來關鍵字驅動測試

  TestComplete一直缺少像QTP一樣的關鍵字測試功能,這讓很多初學者感覺其使用的難度較高?,F在好了,TestComplete 7 增加了關鍵字測試功能,實現其“Script-free testing for new users”的諾言。

  美中不足的是關鍵字測試與腳本代碼不能互相轉換,這多少有點讓人跌眼鏡,看來Automated公司還需要努力加強這方面的功能。作為彌補,TestComplete 7 支持在腳本代碼中調用關鍵字測試,例如:

  Sub Main

  ' Enter your code here.

  KeywordTests.Test1.Run

  End Sub

  同時也支持在關鍵字測試視圖中調用腳本里定義的過程,例如,對于如下腳本:

  Sub TestCase1

  Msgbox "this is TestCase1"

  End Sub

  可以在關鍵字視圖中通過“Run Script Routine”進行調用。

  調用函數也是同樣的做法,例如對于如下函數:

  Function Add(a,b)

  c = a + b

  Add = c

  End Function

  同樣可以在關鍵字測試中調用,調用時輸入參數值即可。

 

原文轉自:http://www.anti-gravitydesign.com

国产97人人超碰caoprom_尤物国产在线一区手机播放_精品国产一区二区三_色天使久久综合给合久久97