I am creating some VTs in Testpartner and I want to use Error handling however I have some questions on this can anybody help me on this
1.how does the errorhandling works? does this error handling works in general for one step? or we have to error handle every step in the VT
2. If the error handling works through out the test how do we handle the unique errors
eg:specific example I have is... I have to search for a patient if not found then I have to create a new pat..
which makes me keep the script in the loop
step 20 is : found the pat
step 12 is : search again
when I am trying to handle this situation I got a warning from TP saying this may result in a infinite loop
just trying to run the scripts with out intrruption
Can you explain a bit more what you are trying to do? It seems that you are running a script and having it loop against an active data sheet
From your description it seems like you are trying to make sure all of the patients on the list are in your database, not perform testing... I have had to leverage testpartner to do similar things in the past and it is possible, although sometimes awkward and cumbersome
Have you tried calling up the patient, perform a check to see if the name exists, create an if statement and run the create patient steps within the if statement?
"I think when you spread the wealth around, it's good for everybody." -- Toledo, Ohio, Oct. 12, 2008