Mikhail,

Glad you make some progress. To not kill Firefox, please go to class
org.tellurium.dispatch.Dispatcher and in the class, you will see
the method "invokeMethod" as follows,

    def invokeMethod(String name, args) {
        if (sc.client == null)
            sc = new SeleniumClient()

        try {
            return sc.client.metaClass.invokeMethod(sc.client, name,
args)
        } catch (Exception e) {
            if (this.captureScreenshot) {
                long timestamp = System.currentTimeMillis()
                String filename = filenamePattern.replaceFirst
(PLACE_HOLDER, "${timestamp}")
                sc.client.captureScreenshot(filename)
                println "Screenshot for exception <<" + e.getMessage()
+ ">> is saved to file ${filename}"
            }
            throw e
        }
    }

Please comment out the above "throw e" line so that exceptions will be
caught and swallowed.

Thanks,

Jian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tellurium-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to