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.
The only solution can be the Desktop automation to open folder and take screenshot and with OCR command read the name of files.
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.
What other methods exist to do this?
You can have UIVision call a script with XRun to get the names directly and you’ll have to try it but you may be able to OCR it also but not sure how accurate that will be