Select "Mix Lines" in the resource, that way all the lines are mixed and thus it will have a random line. Or you can use javascript to mix the array list using function shuffle to get a better constant randomization. I believe there's also the option "Shuffle List" under the "List" option
Open File Result Manual Control Bug ?
-
When trying to use "Open file result" in "Manual browser control" mode it doesn't work if you run the script.
It only works in record mode.
The logic is this : Open File Result (an image) ==> Manual Browser Control (when the image upload icon is clicked the command doesn't upload the image) -
@bogdan said in Open File Result Manual Control Bug ?:
When trying to use "Open file result" in "Manual browser control" mode it doesn't work if you run the script.
It only works in record mode.
The logic is this : Open File Result (an image) ==> Manual Browser Control (when the image upload icon is clicked the command doesn't upload the image)I can't reproduce the error, can you record a video?
-
Made an example
Select a folder with an image and on w3schools url click "choose file"
Run it in "Record" and "Run" to see the differences -
@bogdan said in Open File Result Manual Control Bug ?:
Made an example
Select a folder with an image and on w3schools url click "choose file"
Run it in "Record" and "Run" to see the differencesEverything works correctly. Or did you mean that the files specified in the "Open File Result" action should be loaded with manual control? But it's illogical.

-
@bogdan said in Open File Result Manual Control Bug ?:
@Fox Yes, "Open File Result" action should be loaded with manual control.
That's what i meantBut manual control means working with the BAS browser as with a regular browser. Try to enable manual control after clicking on the file download.