Forum Discussion

Novari-QA's avatar
Novari-QA
Frequent Contributor
7 years ago

Trigger new TestsCase from the same testcase

Within TestComplete, the test logs and reports are divided by test cases, in a sense. Is is possible to trigger during run time of a single test case to split the logs?  

For example
Var X = 1;
Log.Message(X);

/// HERE I WANT TO SPLIT MY RESULTS, as if i right clicked a different test and ran it

Var Y = 2;
Log.Message(Y);


My issue is that I have multiple tests within a single test, and i want to reports to output like it was run as multiple sets instead of a single large one.

1 Reply

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    Using the built in reports from TestComplete (pie charts, "test cases passed", etc) not necessarily.  Those are based upon the TestItem configuration of the project.

     

    However, look into using Log.AppendFolder and Log.PopFolder.  These create tree layers within your log that roll up results.