RE: Upload from desktop/ drive

Answered

Can you please tell me how to upload a file from desktop to my application? I tried to get xpath for the “upload” icon. But I am not able to. I am getting some ‘Adobe Flash Player’ settings options if i right  click. I have attached the screenshot of the issue that i am facing. Please help.

RE: Upload from desktop/ drive

swathirajan Train Asked on November 20, 2014 in Selenium WebDriver.

Hi Swathi

you can try manually with some key strokes   if that works..??

on November 20, 2014.

Hi Ankit,

Thanks for your response.
Do you mean to use key strokes with third party tools of Slenium such as Autoit??
Or is there any other tool/ solution for doing?

on November 20, 2014.

hi
yes i mean use robot class if possible by keystrokes

on November 20, 2014.

Friend plese explian in detail… i didnt get wt u mean by Keystrokes n all…

on November 22, 2014.
Add Comment
5 Answers

Hi Swathi

There are various plugins and extensions available in chrome and firefox that will help you in getting the xpath if you are unable to get that by right click.
I use Xpath helper in Chrome and that gives me the xpath of the element by just moving my mouse over the element(there is no need to even click on the element sometimes)

RE: Upload from desktop/ drive

And the results will be shown like this

RE: Upload from desktop/ drive

Hope this will help you

Train Answered on November 20, 2014.
Add Comment

Your Answer

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