日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

英语翻译软件测试简历,如此翻译-2 - Victor's Testing Career - 51Testing软件测试网 51Testing软件测试网-软件测试人的精神家园...

發布時間:2024/8/1 编程问答 32 豆豆
生活随笔 收集整理的這篇文章主要介紹了 英语翻译软件测试简历,如此翻译-2 - Victor's Testing Career - 51Testing软件测试网 51Testing软件测试网-软件测试人的精神家园... 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

為了應付技術面試,這些日子正在惡補TestDirector/QualityCenter的知識。除了查看TD/QC自帶的資料以外,也瀏覽了網站和論壇上面的一些文章。前兩天看到了一篇帖子,標題很吸引人“TD中Case的復用”。細細讀來,發現文中的不少句子都很別扭。看到的是通篇中國字,連接起來卻不像通順的中國話!遇到這種情況,我會很自然的聯想到文章可能譯自外文資料。按照文中的關鍵字上網搜索一下,果然這篇文章是譯自TD用戶手冊的一個章節。簡單的一段文字,翻譯成這個樣子。把譯文和原文都貼出來,對比一下看看多少錯誤。

[譯文] TD中Case的復用

在你設計的測試步驟里,可以調用其他手工測試。當你運行測試時,測試步驟中調用的測試作為這個測試的一部分。這種方法很有用,例如,如果你使用了測試模板,你就可以在不同的測試中重復使用。

為了增加一個測試的適應性,你可以在測試中添加參數,然后在測試中調用它。參數是一個變量,它可以替換特定的測試中分配給它的一個定值。你可以根據調用它的測試或一個測試集在不同的場所下來改變參數的值。

例如,你可以創建一個“Login_Template”,它記錄了當啟動應用程序時登錄的用戶名及密碼信息。你需要在多個測試的開始調用這個“Login_Template”。但在一些案例中,你需要用不同的用戶比如administrator

登錄。因此你要創建兩個參數<

name>>和<>,根據不同的調用“Login_Template”的測試來改變這些參數的值。如果所有的調用都是使用一個用戶登錄,你可以為這個參數的用戶及密碼設置一個默認值。

[注:這段話翻譯的最離譜,亂七八糟的內容已經絲毫看不到原文的思路了。]

這個部分包括了下面幾個方面:

一、創建測試模板

在test plan

tree中你可以定義一個手工測試為測試模板。一個測試模板通常包含了參數,它可以被不同的測試調用。

注意:把一個測試設成一個測試模板來使用只是一個過濾的目的。你不需要設置一個測試為測試模板僅僅為了能被調用或添加參數。

To create a

template test:

在test plan tree中右擊一個測試, 選擇Template Test.

一個方框會加到手工測試圖標的上,這就表明現在它是一個測試模板。

二、添加參數

你可以在一個手工測試的步驟的descrīption 或expected results中添加一個參數。

To add a parameter:

1. 在Design Steps標簽中, 把焦點放在一個步驟的Descrīption 或Expected Results 中,就可以添加參數了。

2. 點擊Insert Parameter 按鈕。打開參數屬性對話框。

3. 輸入一個Parameter

Name,點擊OK。一個新添加的參數的語法是<>。

三、調用含參數的測試

當你在design steps中調用一個包含參數的手工測試時,你可以為這個參數賦值。

To call a test with parameters:

1. 在Design Steps標簽中, 點擊New Call to Test

按鈕。打開Select a Test 對話框。

2. 默認只會顯示template tests。如果你要選擇的測試不是測試模板,清除Show only

Template Tests。

3. 選擇你要調用的帶參數的手工測試。打開一個顯示被調用的測試中包含的參數的對話框。

4. 在Value

列,輸入每個參數的值,點擊OK。

5. 在Select a Test 對話框上點擊OK。這個調用作為一個鏈接插在design

steps中,在調用的測試里會顯示出這個參數所賦的值。

注意:

如果你在調用測試的時候不為參數賦值,當你把測試加入測試集或運行測試時會提示你要給參數賦值。

6.

在調用的測試中編輯參數的值,右擊調用的測試選擇Called test parameters。在Called Test Parameters

對話框中為參數重新賦值,點擊OK。

[原文] ,Page 132

Calling a Manual Test with Parameters

In your test

design steps, you can include a call to a manual test. When you run the test,

the test steps include the steps from the called test as part of the test. This

is useful, for example, if you have template tests that you want to reuse in

different tests.

In order to increase the flexibility and power of a test, you can add

parameters to the test and to the tests that call it. A parameter is a variable

that replaces a fixed value and can be assigned a value from outside the test in

which it is defined. You can change the value of a parameter in a test according

to the test that is calling it, or for different instances of a test in a test

set.

For example, you can create a template test “Login_Template” which logs in

a user with a specific password when you start your application. You need to

call this test at the beginning of each test. In some cases, you will want to

log in as a regular user while in others, you will need to log in as the

administrator. You can therefore create two parameters, <

name>> and <>, and change the value according to the

type of test that is calling “Login_Template”. If the most common login is a

regular user, you can set the default values for the parameters to a regular

user name and password.

This section includes the following parts:Creating a Template Test

Adding a Parameter

Calling a Test with Parameters

Creating a Template Test

You can define any manual test

in the test plan tree as a template test. A template test generally includes

parameters and is called by different tests.

Note:Setting a test as a template test is used for

filtering purposes only. You do not need to set a test as a template test in

order to be able to call it or add parameters.

To create a template test:

Right-click a test in the test plan tree, and

choose Template Test. A box is added around the manual test icon to indicate

that it is now a template test.

Adding a ParameterYou can add a parameter to the

descrīption or expected results of a manual test step.

To add a

parameter:

1 In the Design Steps tab, place the cursor in the Descrīption box

or Expected Results box of the step to which you want to add the parameter.

2

Click the Insert Parameter button. The Parameter Properties dialog box

opens.

3 Type a Parameter Name, and click OK. The new parameter is added to

the step using the syntax <>.

Calling a Test with Parameters

You can assign a value

to a parameter when you add a call to the manual test containing the parameter

in your design steps.

To call a test with parameters:

1 In the Design

Steps tab, click the New Call to Test button. The Select a Test dialog box

opens.

2 By default, only template tests are displayed. If you want to choose

a test that is not a template test, clear Show only Template Tests.

3 To

search for a specific test in the tree, type the name (or part of the name) of

the test in the Find box and click the Find button. If the search is successful,

TestDirector highlights the test in the tree.

4 To refresh a test in the

tree, select the test and click the Refresh Selected button.

5 Select the

manual test with parameters that you want to call. A dialog box opens,

displaying the parameters contained in the test you are calling.

6 In the Value column, type or change the value for each parameter, and

click OK.

7 Click OK in the Select a Test dialog box. The call is inserted as

a link in your design steps, and the values assigned to the parameters in the

called test are displayed.

Note: If you do not assign values to parameters when creating a test call, you

will be prompted to do so when you create a test to call your test call, when

you add your test to a test set, or when you run your test.8 To edit the values you assigned to the parameters in the called test,

right-click the test call and select Called test parameters. Type the new values

you want to assign to the test parameters in the Called Test Parameters dialog

box, and click OK.

9 To use two different parameter values for the same test,

create two separate test calls, assigning two different values to the parameter

in the called test.

[感想]沒有人想當衛道士。真的希望把原文翻譯成這樣的人和轉貼這樣文章的人多讀讀譯文,避免誤導了文章的讀者。也希望聰明的讀者能夠利用網絡搜索的便利條件多閱讀原文,避免浪費時間。

總結

以上是生活随笔為你收集整理的英语翻译软件测试简历,如此翻译-2 - Victor's Testing Career - 51Testing软件测试网 51Testing软件测试网-软件测试人的精神家园...的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。