Dan raised this issue in the comments of deprecated blog article https://johnnado.com/pyqt-qtest-example/.
This may be a duplicate of #4.
Dan
December 13, 2020 @ 11:50 am
Helpful tutorial thanks! Does anybody know a good way to test the getSaveFileName() dialogs? For example, you click File -> Save As – and then a modal dialog appears asking for the location and name of the file you want to save. When completed we should be able to assert a new file has been created somewhere (or at least the dialog generated a path). Is there anyway to complete this using unittest and QTest? Thanks!
Dan raised this issue in the comments of deprecated blog article https://johnnado.com/pyqt-qtest-example/.
This may be a duplicate of #4.
Dan
December 13, 2020 @ 11:50 am
Helpful tutorial thanks! Does anybody know a good way to test the
getSaveFileName()dialogs? For example, you click File -> Save As – and then a modal dialog appears asking for the location and name of the file you want to save. When completed we should be able to assert a new file has been created somewhere (or at least the dialog generated a path). Is there anyway to complete this using unittest and QTest? Thanks!