How can we handle exception in RATIONAL FUNCTIONAL TEST in order to do data driven test without stopping it even exception is rised.Here my problem is while play back the script it works fine as long as it gets valid data records from the pool.but when exception arises when it takes invalid data record from the data pool.Then without testing the remaining records in the datapool log record will be created and it stops play back.If any one of you know how to handle this please let me know.

Showing Answers 1 - 2 of 2 Answers

dinesh.maddisetty

  • Jun 16th, 2006
 

  

    During retesting or data driven testing ,we generally test the same test script with multiple data.during  the data driven testing,if in case the checkpoint fails in the test script,then the whole execution fails .so in order to over come this we use a option called SILENT MODE option in the winrunner,this silent mode option shall run the script even though the check point fails for some data.IN  fact it leaves the false data behind and carry on the work with the precise data....

  Was this answer useful?  Yes

dno

  • Sep 12th, 2007
 

You can exploit your script by hard-coding the exception handler.

Capture the error message that comes out then do conditioning in your script.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions