Hi,

I need to know how to convert the value returned by an XPath variable groovy.

Example.

        storeXPath (xpath:ROW_COUNT_XPATH, property:'cantidad')
        def cantidad = '#{cantidad}'
        alert     text:'cantidad de proveedores = '+cantidad

When displaying the alert, presents "2", but when I try to convert an integer to groovy, it gives me an error because it can not convert


'#{cantidad}'

thanks



Jose Antonio Avila


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

Reply via email to