Forum Discussion

agreen53's avatar
agreen53
Occasional Contributor
13 years ago

Programmatically generating tests

As the title implies I am attempting to programmatically generate test suites, cases and steps. My issue is at the test step level, where it requires the ability to generate an XFormDialog to fill in the test step values (HTTP status codes and the like). I receive a nullpointer exception when it attempts to generate a dialog.

Can someone point me in the direction of how to enable the XFormFactory class to function appropriately or offer a work around? I have seen the post on using [protocol]://[user]:[pass]@[path] and System properties, but do not understand where that tied into XFormFactory. So, if someone understands how that works could you please explain it for me?

Thank you,

A Green

2 Replies

  • agreen53's avatar
    agreen53
    Occasional Contributor
    Also if it matters, I am using Soap 4.5.1 jar and editting my soap project with WsdlProject object. Not a lot of information out there on how to appropriately edit a soap project using java.
  • agreen53's avatar
    agreen53
    Occasional Contributor
    Nevermind, I just figured out that I needed to prepare the UI using SwingSoapUICore. My problem is now fixed.