The easiest way to create expectations is to tell QMTest that you expect future results to be the same as the results you just obtained. Save the results of your test run by choosing from the File menu. QMTest will prompt you for a file to use to store the results of your test run. If you exit QMTest, you can reload this file to recover your test results without rerunning the tests.
You can also use this file to set QMTest's expectations. Choose from the File menu and provide the same file name that you used when you told QMTest when you asked it to save your results earlier.
Then, QMTest will redisplay the test results, but now you will see that there are no unexpected failures; the current results match your expectations.
You can also manually edit expectations. Click on the Expectation link next to a particular test to set the expectation. To set the expectation for exec1 back to PASS, click on the Expectation link next to exec1, choose PASS, and click the button. You will see that now the exec1 failure is unexpected again. You can save your expectations by choosing from the File menu.