Important: Please read the Qt Code of Conduct -

QTest and QFileDialog

  • I'm using QTest to test a GUI application.

    I would like to simulate my application containing a QFileDialog::getExistingDirectory(). How can I interact with the QFileDialog in my test to simulate that I have entered a path and call the "Choose" button without doing it manually ?

    Thank you

Log in to reply