如何將同一個(gè)testcase執行多次? 軟件測試
對于有經(jīng)驗的自動(dòng)測試SQA工程師來(lái)說(shuō),很容易就可以解決該問(wèn)題:建立一個(gè)main()函數,然后放置一個(gè)循環(huán)在里面。下面這個(gè)可以工作的4Test例子,在main函數的循環(huán)中就直接調用了test case
[-] testcase Winrunner() appstate none
[ ] Print ("HP WinRunner license and maintenance codes are available only from HP web site")
[-] main()
[ ] int jCount = 100
[ ] int j
[-] for (j=1;j<=jCount;j++)
[ ] Winrunner()
延伸閱讀
文章來(lái)源于領(lǐng)測軟件測試網(wǎng) http://kjueaiud.com/