I am trying to programmatically skip a test in TestComplete. What code do I need to write to set the vb script test as not executed in TestComplete? thank you
Try Log.Error ("Some error message") and change the Project properties to stop the test on error.
Is something like Runner.Halt possible?
Runner.Halt
The Halt method stops the execution of the script and puts in the test log the line with the error indicated by ErrorMsg .The method stops the entire test run, that is, for example, if you are performing a test on a project or project package, the method stops the entire project or project package.
The Halt method stops the execution of the script and puts in the test log the line with the error indicated by ErrorMsg .
Halt
ErrorMsg
The method stops the entire test run, that is, for example, if you are performing a test on a project or project package, the method stops the entire project or project package.
Log.Error statements cause an error programmatically and fail the test.
Example: -
Log.Error "Any error message"
Source: https://habr.com/ru/post/1487055/More articles:Skip general list in constructor ObservableCollection - genericsDjango: get the value of a database object in a template using Ajax - jqueryUITableView UIRefreshControl does not show its view for the first time - iosThreads complete, but the loop does not end - multithreadingHow to make my RefreshControl appear during ViewDidAppear - iosConstructor WCF / Ninject / Default (no parameter) - c #How to make a collection in modern OpenGL without gluUnProject? - openglhttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1487058/angular-binding-objects-to-select&usg=ALkJrhgNdOYn2KdemafQl57uhL7HODhDtQUsing GLM UnProject - c ++reading unicode from xls in python - pythonAll Articles