cancel
Showing results for 
Search instead for 
Did you mean: 

Help needed with scripting interface to current test log during test run

SOLVED
Highlighted
Regular Contributor

RE: Help needed with scripting interface to current test log during test run

Ok, those don't help. The methods above are for the current script that is being executed not the project, lol. Some more searching indicates that SmartBear support suggests creating global variables to count all these events as I was doing! 



http://smartbear.com/forums/f74/t49367/log-errcount-log-wrncount/





Highlighted
Valued Contributor

RE: Help needed with scripting interface to current test log during test run

Also an interesting issue. I guess I don't see this because my scripts are organized in a hierchary? I really only have one testitem that calls 1 script and that main script drives all other scripts. I suppose you could add the Log.ErrCount/Log.WrnCount to each one and add them into a global variable. The problem with counting errors in the events is that the events, OnLogError for example, will not fire if a run time error is encountered.

''-Praise the sun and Give Kudos.''
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors