Forum Discussion
- rajeshthomasContributorDo anybody have any options to find whether the particular test case is enabled / not?
- Anonymous
Hi Rajesh,
I think TestItemObj.Enabled is what you are looking for. Is there anybody who has an example of how to use the property in JScript? - rajeshthomasContributorHi Tanya,
Thanks for your assistance. I am actually using the same script you have mentioned with some modification. But still it is too big when I see with my requirement.
For example: I just want to find out that "TC_001_45666" is Enabled or Not". Your script gives me the whole tree of test case and all its property.
With my limited knowledge in scripting, i have modified the script in such a way that it can directly give me the answer whether the mentioned test cases is enabled or Not.
But i know this is longest method to find out it. Can you please help me in finding the shortest method to find whether the particular test case ("e.g. TC_001_45666") which i ask is enabled or not.
Note: Attached my script in a Zip file
regrads
Rajesh Thomas