How to get file names of files present in one folder

selenium-ide

#1

I am having pdf’s in one folder and now I would like to get those file names in one variable and have to use it for further.


#2

The only solution can be the Desktop automation to open folder and take screenshot and with OCR command read the name of files.


#3

Of course its a workaround but you could create a batch-file which reads the folder and creates a simple csv-file with all the pdf-names in it. After that you could start ur test via command-line.
https://ui.vision/kantu/docs (command line api)
The created csv-file could be read with the CSVRead-command in kantu.
https://ui.vision/kantu/docs/selenium-ide/csvread