Store - xType - pathname changed

Hello, I am creating one test where I upload document.
First I store path:
{
“Command”: “store”,
“Target”: “c:\Users\hauserto\tom4s\TEST\Kantu\Upload_FILETYPES\”,
“Value”: “global_C_FILES”
}

then I use it like this when entering path + filename into windows system dialog:
{
“Command”: “XType”,
“Target”: “${global_C_FILES}testDocumentType.docm”,
“Value”: “”
}

But the xType command write this into windows system dialog:
c:\Users\hausertoom4s\TEST\Kantu\Upload_FILETYPES\testDocumentType.docm

it should be this:
c:\Users\hauserto\tom4s\TEST\Kantu\Upload_FILETYPES\testDocumentType.docm

Is it because \t == TABULATOR and it is removed from xType insert?

What I can do with this?

When I do it directly (not using variable to store patht) - it is working:
{
“Command”: “XType”,
“Target”: “c:\Users\hauserto\tom4s\TEST\Kantu\Upload_FILETYPES\testDocumentType.docm”,
“Value”: “”
}

Thank you


Best regards
Tomas

I’ve tried and I also know the same problem.

Issue confirmed. The problem “only” shows if the \t is inside a variable . This way it escaped our QA :slight_smile: => will be fixed asap

test macro:

{
  "Name": "xtype1",
  "CreationDate": "2020-2-4",
  "Commands": [
    {
      "Command": "pause",
      "Target": "1000",
      "Value": ""
    },
    {
      "Command": "XType",
      "Target": "d:\\tmp\\test\\test.wav",
      "Value": ""
    },
    {
      "Command": "store",
      "Target": "d:\\tmp\\test\\test.wav",
      "Value": "path"
    },
    {
      "Command": "XType",
      "Target": "${KEY_ENTER}",
      "Value": ""
    },
    {
      "Command": "XType",
      "Target": "${KEY_ENTER}",
      "Value": ""
    },
    {
      "Command": "XType",
      "Target": "${path}",
      "Value": ""
    }
  ]
}

Thank you, looking forward to it

Update: This issue can now be solved with store | false | !stringEscape, see UI Automation Open-Source Selenium IDE plus additional features, iMacros alternative