How Can I Evaluate Two Test Result in The Same Test
Anthony B.
Baltimore, MD

Sep 12, 2011
6 Posts

How can I evaluate two test result in the same test

I am trying to evaluate two TestResult the same test. Ateasy only evaluate the last TestResult.



Solution Available
DrATEasy (Ron Y.)
Mission Viejo, CA

Sep 12, 2011
263 Posts

Re: How can I evaluate two test result in the same test


if TestStatus=PASS ! in this example if failed don't need to evaluate the second, You can change to =FAIL depends on the logic you need

if you also need to print test results to the log you can add print before the GetLogString() call.

There is also another way if you want just to repeat the test. See TestExec.prj - when you run the SelfTest.prg (test 1.1 DMM) it will repeat the test several times and displays in the test log test # column .1/ .2 etc for each repeat. This example in v8.

Please Note
You need to have a M@GIC account to participate in the Forums.
Not yet registered on our website? Click here to register today!

All content, information and opinions presented on the Marvin Test Solutions User Forums are those of the authors of the posts and messages and not Marvin Test Solutions'. All attachments and files are downloaded at your own risk. [Read More]