chicks
13 years agoRegular Contributor
Accessing values in Test Item page
My understanding is that I can run either a project or a single test item from the command line. However, I can't run a group item from the command line. So, I end up writing a function corresponding to my Group item which essentially just lists the items in the group item separately.
e.g.
function run_webServiceTests_withBrowser() {
runTest( wsTest_addCardLater, " WS - add Card Later");
runTest( wsTest_sendMeACard, "WS - Send me a card");
runTest( drive_WS_signupWithCard, "WS - Signup with cards");
runTest( wsTest_singleStep_SignupNoCard, "WS - Single Signup - No Cards");
runTest( wsTest_singleStep_Signup_WithCard, "WS - Single Signup - With Cards");
runTest( wsTest_adminPortal_signup_WithCard, "WS - Admin Portal Registration - With Cards");
}
So, my actual question is: Is there an easy way to grab the test item names and function calls from the project file, so that I don't end up manually retyping this information ? I know that it's in the .mds file but not simply enough to parse out.
Thanks, Curt Hicks
e.g.
function run_webServiceTests_withBrowser() {
runTest( wsTest_addCardLater, " WS - add Card Later");
runTest( wsTest_sendMeACard, "WS - Send me a card");
runTest( drive_WS_signupWithCard, "WS - Signup with cards");
runTest( wsTest_singleStep_SignupNoCard, "WS - Single Signup - No Cards");
runTest( wsTest_singleStep_Signup_WithCard, "WS - Single Signup - With Cards");
runTest( wsTest_adminPortal_signup_WithCard, "WS - Admin Portal Registration - With Cards");
}
So, my actual question is: Is there an easy way to grab the test item names and function calls from the project file, so that I don't end up manually retyping this information ? I know that it's in the .mds file but not simply enough to parse out.
Thanks, Curt Hicks