Hello everybody,
I’m setting up a cross-browser test procedure on a web application and I encounter problems with open file dialogs.
Dialogs have different names in each browsers, so my recording module does not recognize them when I switch from one to another.
Is there a way to deal with this?
Thanks in advance, have a nice day !
Cross-browser test
Re: Cross-browser test
Hi,
This is a common issue with web browsers
The best solution is to find common xpath for all browsers and store it in repo. The ideal approach is to open all browsers you are working with, then open individual Spy per each browser and then try to find common attributes in all Open File dialogs.
BTW, if you want to open/load files, all you need is the xpath for 'file' input element and OK button. Don't mess with clicking inside OpenDialog. That's waste of time. Simply enter the path to file you want to open and press OK.
This is a common issue with web browsers

BTW, if you want to open/load files, all you need is the xpath for 'file' input element and OK button. Don't mess with clicking inside OpenDialog. That's waste of time. Simply enter the path to file you want to open and press OK.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration