DEFAULT_FLAGS).inputChars("software testing");
button_search_btnGif().click();
//Verify these three books are returned
//in the first results page
TestingComputerSoftware_textVP().performTest(2.0, 20.0);
LessonsLearnedInSoftwareTestinVP().performTest(2.0, 20.0);
HowToBreakSoftware_textVP().performTest(2.0, 20.0);
//Exit
browser_htmlBrowser(document_bookpoolDiscountCompu(),
MAY_EXIT).close();
}
}
在我查看這段測試腳本時,我看到了某些我想要能夠在許多其它腳本 --執行一個搜索(圖1)-- 中做的東西。有三行代碼用于搜索:在qs 域上的點擊,用于我們的搜索標準的 inputChars,以及在搜索按鈕上的點擊。軟件測試
文章來源于領測軟件測試網 http://www.kjueaiud.com/