maumrm
6 years agoContributor
File Explorer during Web Testing
Is there a best practice for how to navigate/select/open files during automation testing of web applications?
I have a test that during the application a file needs to be loaded. When the test selects the button which brings up the file explorer window to navigate/select/and load the file it works while on my machine. But once I run the test on a VM it no longer works even though the file is on an accessible drive and the window opens once clicked in the application.
The error I receive is "The combo box items "All Files (".") not found.". This occurs even though the window is there. I also included a screen shot of the step in TestComplete. The "dlgChooseFileToUpload" step is where this test fails on the VM.
Thanks,
Mike