Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to clear Editor log and Trace Log when using Automation Instrument

I am using Automation Instrument to test out my iOS app. I was wondering how can I delete my old log messages from the Editor log and Trace Log?

The only way I know is to close my Profile window, open a new one and load in my JavaScript files in again. But there must be a simpler and smarter way to do this.

like image 534
SimpleApp Avatar asked Nov 21 '25 00:11

SimpleApp


1 Answers

Unfortunately There is no simple or smarter way to do this yet. You need to restart the instruments IDE to clear the editor log. Alternatively you can wrap your code b/w logstart and logpass/logfail methods as below.

//Begin UIALogger.logStart("Script start");

/* your test code ....... */

//End UIALogger.logPass() or UIALogger.logFail() or UIALogger.logIssue()

With this you can make editor log grouped under a collapsable anchor and look less clumsy.

like image 128
Vaasu Avatar answered Nov 24 '25 09:11

Vaasu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!