軟件測試工具之QTP中的Test Object Model

發表于:2009-09-17來源:作者:點擊數: 標簽:軟件測試qtpQTPModelTEST
軟件測試工具之 QTP 中的Test Object Model 軟件測試工具 About Understanding the Test Object Model 關于了解測試對象模型 QuickTest tests your dynamically changing application by learning and identifying test objects and their expected propertie
軟件測試工具之QTP中的Test Object Model  軟件測試工具

About Understanding the Test Object Model

  關于了解測試對象模型

  QuickTest tests your dynamically changing application by learning and identifying test objects and their expected properties and values. During recording QuickTest analyzes each object in your application much the same way that a person would look at a photograph and remember its details.

  QuickTest 通過記住和標識測試對象及其預期的屬性和屬性值,對動態更改的應用程序進行測試。在錄制期間,QuickTest 對應用程序中每個對象進行分析的方式與一個人看一張圖片然后記住其細節的方式大致相同。

  In the following narrative you will be introduced to the concepts related to the test object model and how QuickTest uses the information it gathers to test your application.

  在以下敘述中,將向您介紹與測試模型相關的概念,以及 QuickTest 如何使用它所收集的信息來測試應用程序。

  1、Understanding How QuickTest Learns Objects While Recording

  了解 QuickTest 如何在錄制時記住對象

  QuickTest learns objects just as you would.

  QuickTest 像您那樣記住對象。

  For example, suppose as part of an experiment, Jonny is told that he will be shown a photograph of a picnic scene for a few seconds during which someone will point out one item in the picture. Jonny is told that he will be expected to identify that item again in identical or similar pictures one week from today.

  例如,假定作為實驗的一部分,Jonny 被通知將向他展示一張野餐場景的圖片,時間為幾秒鐘,在此期間,將會有人指出圖片中的一個項目。自今天起一周后,Jonny 需要在相同或相似的圖片中再次識別出該項目。

  Before he is shown the photograph, Jonny begins preparing himself for the test by thinking about which characteristics he wants to learn about the item that the tester indicates. Obviously, he will automatically note whether it is a person, inanimate object, animal, or plant. Then, if it is a person, he will try to commit to memory the gender, skin color, and age. If it is an animal, he will try to remember the type of animal, its color, and so forth.

  在看到圖片之前,Jonny 自己開始為測試做準備,考慮對于測試者指出的項目,需要記住該項目的哪些特征。顯然,他將自動記住該項目是人、無生命物體、動物還是植物。如果是人,他將嘗試記住其性別、膚色和年齡。如果是動物,他將嘗試記住其類型、顏色等。

  The tester shows the scene to Jonny and points out one of three children sitting on a picnic blanket. Jonny notes that it is a caucasian girl about 8 years old. In looking at the rest of the picture, however, he realizes that one of the other children in the picture could also fit that description. In addition to learning his planned list of characteristics, he also notes that the girl he is supposed to identify has long, brown hair.

  測試者向 Jonny 展示場景,并從三個坐在野餐毯上的孩子中指定一個。Jonny 注意到這是一個 8 歲左右的白種女孩。但在查看圖片中的其他內容時,他意識到圖片中的另一個孩子也符合這種描述。除了記住計劃的特征列表以外,Jonny 還記下自己應該識別出的這個女孩留著褐色的長發。

 

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

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