Forum Discussion

DMc-Cabe's avatar
DMc-Cabe
Occasional Contributor
11 years ago

webdriver interaction?

hi there

i'm using groovy to create a selenium webdriver instance in order to automate the uploading of a file. This is working correctly, after the upload the web page redirects to an output page in json format. I'm trying to read this output in order to use one of the data points created from the upload as an input property for a subsequent jdbc step. Is it possible to do something like this with soapui and groovy?

can I pass the webdriver/json output into a new Xmlholder and reads the nodes in that way, if so would you have an example of how I can do this please?

thanks in advance
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,
    The Groovy scripting support is out of scope for our support offering.
    That said, you should be able to capture the response data point using the selenium web driver and set a property on the jdbc teststep.
    Here you can find details about how to set the properties through Groovy script: http://www.soapui.org/Scripting-Propert ... ricks.html

    Best Regards,
    Prakash
    SmartBear Sweden