Forum Discussion

Vidya_Sivadas's avatar
Vidya_Sivadas
New Contributor
16 years ago

Problem with SoapUI extension

Hi,

I am building a module as a soapui extension which uses the SoapUITestCaseRunner class.The menu for this extension is added on the popup on right click of the root "Projects" in the left panel.The module works fine untill the run method in the above mentioned class is called.After that the menu is disappearing from the "Projects" popup.Please help me if anybody knows the reason.

Thanks in advance..

Regards,
Vidya

3 Replies

  • Hi,

    Ya..I have done whatever mentioned in http://www.soapui.org/architecture/extensions.html.

    I am getting the extension menuitem on right click of "Projects" which represents the workspace.
    If I click the menuitem,my extension dialog popups up.But I am using run() of SoapUITestCaseRunner in the extension dialog.After that if I close and right click the workspace "Projects" my menuitem has disappeared from the list.


    Please help me to resolve this issue..

    Waiting for your earlier response...

    Regards,
    Vidya
  • csadler's avatar
    csadler
    New Contributor
    Guys,

    I believe the docs are wrong at: http://www.soapui.org/architecture/extensions.html
    Well, more accurately, the docs are correct for 1.7.6 but incorrect for 3.5.

    I just had a problem with my listeners when upgrading from 1.7.6 to 3.5.
    I found this message from someone else on here: http://www.eviware.com/forums/index.php?topic=2188.0
    I was having the same problem as this guy - I needed to change the method signatures from
    public void beforeRun(TestRunner testRunner, TestRunContext runContext) {

    to
    public void beforeRun(TestCaseRunner testRunner, TestCaseRunContext runContext) {


    It helps to put the @Override tags in to spot this problem.

    Perhaps Vidya is having the same problem?

    Could someone from eviware verify this, and maybe correct this "extensions.html"?

    Regards,

    CSadler