Hi all,

I'm trying to use storeXPath in groovy.

My code looks like that :

    void tests(){

        webtest "test", {

            invoke url: "http://...";, description: "Go to test website"
            storeXPath xpath:'//div[2]', property:'result'
            println("#result")
            println("$result")
        
         }    
    }
       
But I get :

#result
null

So how can I get the result?


_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to