Active Topics Memberlist Calendar Search Help | |
Register Login |
One Stop Testing Forum : Testing Tools @ OneStopTesting : SilkTest @ OneStopTesting |
Topic: TestCaseEnter, TestCaseExit |
|
Author | Message |
tanushree
Senior Member Joined: 04Apr2007 Online Status: Offline Posts: 2160 |
Topic: TestCaseEnter, TestCaseExit Posted: 12Oct2007 at 5:59am |
I've written an appstate as follows:
[-] appstate WinZipState () [-] if (GetTestCaseState()==TCS_ENTERING) [-] if !(WinZip.Exists ()) [ ] WinZip.Start("C:\Program Files\WinZip\WINZIP32.exe") [-] if (GetTestCaseState()==TCS_EXITING) [ ] // AboutWinZip.Close () [-] if WinZip.Exists () [ ] WinZip.File.Exit.Pick() Real simple. If WinZip is not already running, run it. When the test case has completed, exit. What happens is all of this code gets executed in sequence and the code in the testcase with the appstate of 'WinZipState' never gets executed. Post Resume: Click here to Upload your Resume & Apply for Jobs |
|
IP Logged | |
Forum Jump |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
© Vyom Technosoft Pvt. Ltd. All Rights Reserved.