Hello, Since I am too limited by the way tests are run in the View>Organize Tests panel, I was happy to find I can code my own run logic by accessing TestItems by scripting ( https://support.smar...
Run the test hold by a TestItem
dorian
8 years agoRegular Visitor
You are right, I can do that. But I find it much more easier/faster to organize tests items with a GUI : I can move items up/down, drag to create new tests, create new tests groups with a click, and what I use the most is enable/disable some test items to debug or select what part of tests I want to run.
In fact, the first thought I had was : instead of TestItems and KeywordTests which are similar yet can't be used the same way, it would be much more logical and clean to have a generic Test object, which is sub-classed as KeywordTest, or ScriptTest, or TreeTest. A TreeTest being just a tree structure with enable/disable checkboxes and come with a GUI (but can also be accessed by script). See: a KeywordTest can be already a list of other KeywordTest, which can be enabled/disabled (via right click menu), we just miss the variation with a tree instead of a list.
This way you can call a TreeTest in a KeywordTest or all kind of nesting you want, and use the checkbox GUI to enable/disable or organize any kind of object you want. But I understand this is not how TestComplete was designed and implement it now would maybe require lot of change.
Related Content
- 6 years ago4m4d3u5
- 4 years agoRio_Intrepid
- 5 years agoleonmoto