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

Why do you need session handling while working with selenium?

462


Explain me how can we capture screenshots in selenium?

474


Can we test apis or web services using selenium webdriver?

547


What is listeners in selenium webdriver?

557


How to verify if the checkbox/radio is checked or not?

461






Tell us what kind of keyboard operations can be performed in selenium?

472


Tell me do you know a way to refresh browser by using selenium?

453


Why to use testng with selenium rc?

517


What is the testng.xml file used for?

503


How do I launch the browser using webdriver?

498


How many test cases you have automated per day?

493


What programing language is most useful for creating selenium evaluations?

491


How does u get the width of the textbox?

505


How to handle dropdowns in selenium?

635


How to download a file in selenium webdriver?

489