Hi all ,
Can we pass our testcase ,without putting and assert rule?and one more thing is that can we make device name dynamic during definig our testbed?
Test cases are indeterminate until at least one analysis is performed. I would think making a test case default to pass would be misleading as you would not know if any analysis was actually performed or not.
However, if you wanted to do this, there is a Global Event called OnProcedureOpen that is executed at the start of any procedure. By default, there is are no rules executed for this event. You could create a "PassTestIfNotAlreadyFailed" rule that would set the status to Pass on initial entry into the procedure. Be careful to use "PassTestIfNotAlreadyFailed" as this Global Event will get called for every procedure in your test case. If you use "PassTest" you could overwrite a "Failed" status and artificially pass a failed test.
On the question of dynamic device naming in the test bed, the answer is no. The idea behind this name is it is generic so that you can switch testbeds without having to edit your test case to change the device name in the test case.
Having said that, I'd be curious as to why you would want to change the name. There may be another method to achieving your goal that is more portable and maintainable.
No one has followed this question yet.