In 9.3 when in outlook 2016 unable to put the path to the document.
To recreate: Outlook 2016 / Windows 10 Enterprise 1909 build
New Email \ Attach File
At the top, left of the Search box, it should say something like "This PC > Documents"
In Ranorex clicking in there and doing a Delete seems to work but Ranorex is unable input the a path such as c:\temp\ (that was an example). There is a lot of flashing around the area as if something is happening but no text appears.
I found this unexpected behavior in an existing script and in a newly created script run on the same machine.
Could somebody at Ranorex try to duplicate it please.
If you need more info please let me know.
Outlook\Insert File\Unable To Add Path
-
- Posts: 13
- Joined: Thu May 05, 2016 10:16 am
Re: Outlook\Insert File\Unable To Add Path
Hi,
Have you tried to insert file name (including path) directly to File Name input? I'm using this approach in all my projects, where I need to attach/manipulate files and it works without a problem. True, I'm not using outlook in my tests, but Insert File dialog is basically the same system dialog, used anywhere else in Windows
Have you tried to insert file name (including path) directly to File Name input? I'm using this approach in all my projects, where I need to attach/manipulate files and it works without a problem. True, I'm not using outlook in my tests, but Insert File dialog is basically the same system dialog, used anywhere else in Windows

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
-
- Posts: 13
- Joined: Thu May 05, 2016 10:16 am
Re: Outlook\Insert File\Unable To Add Path
Thanks for the reply and yes that does indeed work. Except you can also type it in the above field but you can't get a key sequence to input it in.
Not ideal if you testing that input point.
Not ideal if you testing that input point.
- Attachments
-
- Input.jpg (26.86 KiB) Viewed 346 times
Re: Outlook\Insert File\Unable To Add Path
Hi,
Well, I think that the upper field is not intended to be used for adding files? It's just a search field with context search, hence there may be some flashing. You must carefully prepare and evaluate the xpath for this input. However, because this input is a part of system form, you don't really have to "test" such field?
Seriously, you don't need to waste a time finding a solution for a system form. Simply use whatever (simplest) way to add the files, using system form. And easiest and most reliable way is the one I described before 
Well, I think that the upper field is not intended to be used for adding files? It's just a search field with context search, hence there may be some flashing. You must carefully prepare and evaluate the xpath for this input. However, because this input is a part of system form, you don't really have to "test" such field?


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
-
- Posts: 13
- Joined: Thu May 05, 2016 10:16 am
Re: Outlook\Insert File\Unable To Add Path
Appreciate the feed back and workaround. Unfortunately we need to test that that input field as we use it for changing directories and to different network paths and I can confirm that in 9.2.1 it still works perfectly.
So the issue is looking like it is a bug in 9.3 losing loses focus.
So the issue is looking like it is a bug in 9.3 losing loses focus.