Hi,

this looks to me as if Webtest works as expected. Your script references the div (id=product-image-input-file-1), where you cannot set any value. To upload your picture, you should reference the id of your input field:
setInputField htmlId: "imageUrl1", value: "listingImage.jpg"

Cheers,
Stefan


Am 23.01.2012 13:29, schrieb mascis:

Hi,

I'm trying to input a photo for a test product but can't get it work.
Webtest says: "Found div when looking for input".
My input is: "setInputField htmlId: "product-image-input-file-1", value:
"listingImage.jpg"" (groovy).

Firebug describes element:

<div id="product-image-input-url-1" class="product-image-input-url">
<label for="test">Photo URL:</label>
<input id="imageUrl1" type="text" value="" name="imageUrls">
</div>
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to