Script to upload a file in selenium IDE

Script to upload a file in the selenium IDE or How to automate a file upload using selenium

+4
source share
1 answer

you can use

selenium.type("xpath of text box","path of your file") 

Command = type
target = xpath_of_text_box
value = Path_of_your_file

Example:

 selenium.type("id=cvfile", "D:\\Automation\\resume.doc"); 
+5
source

Source: https://habr.com/ru/post/1401570/


All Articles