Outlook\Insert File\Unable To Add Path

Bug reports.
Wayne_Fletcher
Posts: 13
Joined: Thu May 05, 2016 10:16 am

Outlook\Insert File\Unable To Add Path

Post by Wayne_Fletcher » Fri Mar 06, 2020 12:26 pm

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.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 6036
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Outlook\Insert File\Unable To Add Path

Post by odklizec » Fri Mar 06, 2020 12:43 pm

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 ;)
FileInput.png
FileInput.png (66.77 KiB) Viewed 171 times
Pavel Kudrys
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

Wayne_Fletcher
Posts: 13
Joined: Thu May 05, 2016 10:16 am

Re: Outlook\Insert File\Unable To Add Path

Post by Wayne_Fletcher » Tue Mar 10, 2020 10:09 am

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.
Attachments
Input.jpg
Input.jpg (26.86 KiB) Viewed 148 times

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 6036
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Outlook\Insert File\Unable To Add Path

Post by odklizec » Tue Mar 10, 2020 10:27 am

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 ;)
Pavel Kudrys
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

Wayne_Fletcher
Posts: 13
Joined: Thu May 05, 2016 10:16 am

Re: Outlook\Insert File\Unable To Add Path

Post by Wayne_Fletcher » Wed Mar 11, 2020 3:12 pm

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.