I am trying to do the system testing in QT created application. I have encountered the below problem. Open menu action in my application triggers a QFileDialog. I have handle(pointer) for the same. But i am not sure how to select the required file and trigger the open action.
Below things i have tried:
fileDial->setDirectory("xxxx");
fileDial->selectFile(xxx");
fileDial->fileSelected("xxxx");
fileDial->selectNameFilter("xxx");
and note that i haven't get any action for the
fileDial->findChildren<QAction*>().