Ask a Question

code for remove log window doesn't work anymore in version 1.7.6

rdebie
Contributor

code for remove log window doesn't work anymore in version 1.7.6

Hello there,

When i remove a log window i got the follow error:

groovy.lang.MissingMethodException: No signature of method: com.eviware.soapui.support.log.InspectorLog4JMonitor.indexOfTab() is applicable for argument types: (java.lang.String) values: {"jetty log"}



The code below did work in the version 1.7.5
I use the code below:


def RemoveLogWindow( WindowName )
{
  def logArea = com.eviware.soapui.SoapUI.logMonitor;
  if ( logArea != null )
  {
      // seach for logwindow
      def ix = logArea.indexOfTab( WindowName );

      if ( ix > 0 )
      {
        logArea.remove( ix );
      }
  }
}


RemoveLogWindow( "jetty log" );


How can i resolve the problem.

Regards,

Raymond Wiertz
The Netherlands
3 REPLIES 3
omatzura
Super Contributor

Hi Raymond,

hmm.. unfortunately this is not currently possible in the 1.7.6 version.. I'll have it fixed in the upcoming snapshot

sorry for the inconvenience..

regards,

/Ole
eviware.com
rdebie
Contributor

Is it still posible to create my own log window?

Regards,

Raymond Wiertz
omatzura
Super Contributor

Hi Raymond,

yes..

logMonitor.addLogArea( title, loggerName, isDefault )

is still available.. the javadocs are at

http://www.soapui.org/apidocs/com/eviwa ... nitor.html

regards!

/Ole
eviware.com
cancel
Showing results for 
Search instead for 
Did you mean: