I have created a Test case TC1 and a sub test ST1. TC1 calls ST1 at several places.
Below are the operations I m doing:
- Getting the classname attribute of an element in TC1 which I am storing it in a variable called Class_Name_Attribute, and is set as input parameter
- Passing element as a parameter to the sub test, and mapping to the input parameter called Class_Name_Attribute_Subtest. I have added a if condition in subtest based on the parameter set.
- In this scenario the sub test gets skipped. Not sure why it is getting skipped, as the skipped test cases are greyed out in test project report
- Changed the parameter to output parameter in sub test, ST1. ST1 is failing with the error “Requested to set the value of sub-test output parameter "Class_Name_Attribute_Subtest"to test parameter “Class_Name_Attribute”, but “Class_Name_Attribute_Subtest” is never set!”
Kindly help on this. Let me know if you need further info on this