Test Item
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2019
01:36 AM
12-24-2019
01:36 AM
Test Item
Hi Team,
I am trying to Check or Uncheck the Project Test Item using Code.
Can any one tell me ow to do it.
Solved! Go to Solution.
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2019
05:45 AM
12-24-2019
05:45 AM
You can't. A Test Item is what determines whether or not something is running. You can't "check or uncheck" it as part of code because it is already potentially running.
May I ask what you're trying to achieve? Perhaps there's a different way.
Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2019
04:26 AM
12-27-2019
04:26 AM
Hi @Mr_Bro , TestComplete allows checking if a test item is enabled and, therefore, executed when the project is run. Read more about this property here.
tristaanogre is correct – there's no way to change this option programmatically. If you could let us know what you are trying to achieve, we might provide you with another approach.
Sonya Mihaljova
Community and Education Specialist
