Active Topics Memberlist Calendar Search Help | |
Register Login |
One Stop Testing Forum : Testing Tools @ OneStopTesting : SilkTest @ OneStopTesting |
Topic: exception handling in Silk Test |
|
Author | Message |
Rupa
Newbie Joined: 04Apr2007 Online Status: Offline Posts: 1 |
Topic: exception handling in Silk Test Posted: 04Apr2007 at 5:27am |
When ever you execute any Testcase in Automation 2 things are always mandatory.Prevalidation or v...
Post Resume: Click here to Upload your Resume & Apply for Jobs |
|
IP Logged | |
ram7vasu
Newbie Joined: 22Nov2007 Location: India Online Status: Offline Posts: 29 |
Posted: 08Jan2008 at 3:11am |
If a testcase fails during the test execution (for ex, if the expected value doesn't match the actual value in the verification statement), SilkTest by default calls its built-in recovery system, which: > Terminates the testcase > Logs the error in the results file > Restores your application to its default base state in preparation for te next test case. Commands: Using do...except Raise Command In addition to use buil-in exceptions, you can define your own exceptions and generate them using the raise statement Reraise Command You can also use do...except to perform some custom error handling, then use the reraise statement to pass control to te recovery system as usual When ever you execute any Testcase in Automation 2 things are always mandatory.
Now during execution any other window/ browser is poping up etc, then those are called exception's, and that needs |
|
RAM SAKSOFT
|
|
IP Logged | |
ram7vasu
Newbie Joined: 22Nov2007 Location: India Online Status: Offline Posts: 29 |
Posted: 08Jan2008 at 3:12am |
If a testcase fails during the test execution (for ex, if the expected value doesn't match the actual value in the verification statement), SilkTest by default calls its built-in recovery system, which: > Terminates the testcase > Logs the error in the results file > Restores your application to its default base state in preparation for te next test case. Commands: Using do...except Raise Command In addition to use buil-in exceptions, you can define your own exceptions and generate them using the raise statement Reraise Command You can also use do...except to perform some custom error handling, then use the reraise statement to pass control to te recovery system as usual When ever you execute any Testcase in Automation 2 things are always mandatory.
Now during execution any other window/ browser is poping up etc, then those are called exception's, and that needs |
|
RAM SAKSOFT
|
|
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.