Log Summary Tab
Adam B.
Appleton, WI

May 21, 2013
6 Posts

Log Summary Tab

I have a lengthy test, and at the end of the test I want the Test Exec to automatically switch to the test summary tab.  (Likewise, it should switch to the ALL tests tab when starting a new test).  I cannot seem to find the right commands to do this.

Additionally, I'd like the Print Log button to print either the ALL log or the summary depending on which tab is enabled.  An acceptable compromise  would be to make a Print Summary button, but I have not found a command to do this either.

So far, the only command I've found to accomplish these goals is the below to ensure Log Failures are enabled:
TestExec.SetOption(ateOptionsLogFailuresInSummary,TRUE)

Solution Available
DrATEasy (Ron Y.)
Mission Viejo,

May 21, 2013
235 Posts

Re: Log Summary Tab

Use the following in System.OnEndProgram:

tab: ATab

tab=TestExec Log Get Control(ateLogSummary).Container
tab.ActivatePage(1)

Adam B.
Appleton, WI

May 22, 2013
6 Posts

Re: Log Summary Tab

Thanks Ron,

I was able to make my own print button to print the log summary.

Surprisingly, to change back to the ALL tab I used:

tab=TestExec Log Get Control(ateLogSummary).Container
tab.ActivatePage(0)

Adam



Please Note
You need to have a M@GIC account to participate in the Forums.
Not yet registered on our website? Click here to register today!

All content, information and opinions presented on the Marvin Test Solutions User Forums are those of the authors of the posts and messages and not Marvin Test Solutions'. All attachments and files are downloaded at your own risk. [Read More]