ChristopheC
13 years agoContributor
Problem with Project.TestItems
Hello,
I have a problem with the following example demonstrates how to obtain the list of project test items and how to post the name of the currently running test item to the log.
Sub Test
Dim TestItems
…
Set TestItems = Project.TestItems
Call Log.Message("The " & TestItems.Current.Name & " test item is currently running.")
…
End Sub
When I run current routine without enable debugging, i have an error and when I run current routine with enable debuging (Step by step), i don't have error (see attached file).
I have the same problem with TestComplete et TestExecute 9.20.2460.7 and 9.30.3373.11.
Thank you to take time to reply us.
Best regards,
Christophe
I have a problem with the following example demonstrates how to obtain the list of project test items and how to post the name of the currently running test item to the log.
Sub Test
Dim TestItems
…
Set TestItems = Project.TestItems
Call Log.Message("The " & TestItems.Current.Name & " test item is currently running.")
…
End Sub
When I run current routine without enable debugging, i have an error and when I run current routine with enable debuging (Step by step), i don't have error (see attached file).
I have the same problem with TestComplete et TestExecute 9.20.2460.7 and 9.30.3373.11.
Thank you to take time to reply us.
Best regards,
Christophe