How to make a file wait for selection

I run a very large number of browser jobs concurrently with this.
But when I use the file automation function,
Debugging starts in the browser,
Indicates very high CPU usage.

So it opens the file selection window, the file selection is my own.
However, the file selection window appears.
If no file is selected, it will go to the next command line.

Can make it wait for me to select a file?

i’ve tried

    {
      "Command": "click",
      "Target": "id=qa_bt_import_settings",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "assertElementPresent",
      "Target": "???????",
      "Value": "",
      "Description": ""
    }

—> Even when file selection is complete
I couldn’t use this because the environmental factors didn’t change.

{
  "Command": "click",
  "Target": "id=qa_bt_import_settings",
  "Value": "",
  "Description": ""
},
{
  "Command": "assertText",
  "Target": "id=qa_bt_info_td",
  "Value": "some text",
  "Description": ""
}

-----> When I attach a file, the text change appears in the page element,
but assertText only checks if the text is correct
Just run the next command

Can i make it wait for the file selection to finish?

thank you

I suggest that you make a loop that extracts the input box text with store Value. If there is a value <> “” then continue.

See also: