How do you attach File on a page?

Answer Posted / anupam

There are two ways to attach file:
1. Using sendkeys command and pass the file path parameter.
2. Using third party tool AutoIT . There are some prerequisite configuration and import the exe file into the project and call executable file by process builder will work perfectly.

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How you can switch back from a frame?

550


How you can login into any site if it’s showing any authentication popup for password and username?

614


How to connect a database in selenium?

556


How to iterate through options in test script?

606


What does a right-pointing green triangle at the beginning of a command in side indicate?

1101






What is the command line we have to write inside a .bat file to execute a selenium project when we are using testng?

640


Mention what are the capabilities of selenium webdriver or selenium 2.0?

595


What difference do you make between soft vs. Hard to say in selenium?

555


Explain how you can debug the tests in selenium ide?

593


Explain the difference between implicit wait and explicit wait.?

566


How to handle https website in selenium? Or how to accept the ssl untrusted connection?

542


Mention what is desired capability? How is it useful in terms of selenium?

564


What are the different Selenium components?

593


How do you upload a file using selenium webdriver?

3125


What kind of testing does selenium support?

561