Could we add new rules to QC?Rules object do not have the post message,but we can have access to predefined rules in qc and can retrieve the description.
I create a test in Test plan and create a test set in test lab using the test created in test plan.The test is linked to a requirement in requirement module.
If i change the status of the test set to n/a it does not get reflectec in requirement.the status property of req object is read only and thus statements like objReq.status="N/A" would not allow and have syntax error .
Could i define a rule like if the status of the test /test set is n/a change the status of the associated req to n/a.Can i write a rule in qc of my own?
If by rule you refer to a new event in the QC Workflow then you can try looking for one that fits you.
Do this by using the ActionCanExecute function in the Workflow's Common Scripts. It will be annoying since it will pop-up messages for almost all actions so make sure to place it within an IF statement that limits the message to your specific user.
In this function add a temporary msgbox displaying the name of the action like then you can see if there are events that you can use in order to introduce your customized functions.
Just keep in mind that many times there is no event that fully matches your requirement so you will still need to "think creatively" and look for a workaround that suits your needs.