Forum Discussion

AnandKiran's avatar
AnandKiran
Frequent Contributor
16 years ago

Is there a possibility to pop up Input Box using Java script in SOAP UI 3.0

Hi Ole, Can any one let me know whether is it possible to display a Input Text Box in SOAP UI 3.0 using Java script. Please let me know if you have already done this. Regards Anand
  • AnandKiran's avatar
    15 years ago
    I found the solution use Java Swing (      import javax.swing.*;) in your script to enable this functionality
     
    Then use the below code to get an input box.
    String name=JOptionPane.showInputDialog("Enter your name pls.");

    Hope this answers your issue.



    Regards
    Anand