RE: How to upload an Image using selenium webdriver?

Answered

Hi All,
I am facing the issue while uploading an image into website using selenium. I tried with the simplest solution  which we identify the locator of the upload button and pass the Path of the file.But it is not working for me as the attribute type=button not type=file..
Is there any workaround for this.. Please let me know if anyone has the solution other than using AutoIT.

HTML snippet is :
<input id=”dzuploadbttn class=”pink-button type=”button name=”dzuploadbttn value=”Upload style=”display: block;>

here is the site
https://www.designerexchange.com/       —–>click on Sell To US  —>

I did not find the click on Sell To US, please let us know the page as well on which we will get this button.

on November 5, 2014.
Add Comment
4 Answers

I don’t know how to set profile picture in registration.can you please help me this

Default Answered on March 7, 2017.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.