Service Virtualization

  • 1.  Selenium Builder how to close browser?

    Posted Oct 17, 2016 02:35 AM

    Hi!

    We're trying out the devtest seleniumbuilder integration and it works OK, but my problem is that I need to close the browser between each test. Now the browser remains open after the test has ended.

    I trried to import this (found in an other thread)

    {

         type : "Close"

    }

    but importing this to DevTest is not possible (the import fails).

    Any other ideas?

    DevTest 9.5.1

    Stack

    java.io.IOException: Could not parse script.
    at com.sebuilder.interpreter.factory.ScriptFactory.parse(ScriptFactory.java:88)
    at com.sebuilder.interpreter.IO.read(IO.java:64)
    at com.itko.lisa.glass.SeleniumScriptToLisaBuilder.getScript(SeleniumScriptToLisaBuilder.java:98)
    at com.itko.lisa.glass.SeleniumDlg.populateJSONEditor(SeleniumDlg.java:422)
    at com.itko.lisa.glass.SeleniumDlg.access$200(SeleniumDlg.java:80)
    at com.itko.lisa.glass.SeleniumDlg$2.itemStateChanged(SeleniumDlg.java:149)
    at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1223)
    at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1280)



  • 2.  Re: Selenium Builder how to close browser?

    Broadcom Employee
    Posted Feb 15, 2017 11:57 AM

    The browser should close after the test case has ended.  What browser are you using?