Question
3
Replies
1958
Views
Posted: February 9, 2016
Last activity: February 16, 2016
Automated Unit Testing - v7.1.7 - unable to create unit test cases
We are unable to create the the unit test and unable to update the clipboard to add the validate rule for expected results.
Attached screen shot for your reference
Raised an SR for this issue SR-A17516
Test Case rules cannot be created through standard 'New' rule form. Have to be created in context of rule instance for which you want to create test cases.
This is what help says:
Because test cases exist only in the context of unit testing a specific rule, you initiate creation of a new Test Case by clicking the Record Test Case button from the Test Cases tab of the rule you want to unit test. After running your unit test, click the Save Test Case button. In the Create form for the rule, you enter a name and a short description; the name that you enter is stored as the Purpose key part of the Test Case.
NOTE: You must have the AutomatedTesting privilege to be able to create Test Cases. For information about how to enable this privilege, see About Automated Unit Testing.
e.g.: for Activity rule you can create a test case by clicking 'Record new test case' button:
Murali...