XType Running, But Not Working

Hello,
I can’t seem to get XType to work.
But it dosn’t seem to be failing, the logs say - “Executing: | XType | ${KEY_DOWN} | |” and the rest of the macro runs as normal.

It just doesn’t seem to actually run the XType command.

{
      "Command": "click",
      "Target": "xpath=//td[14]/input",
      "Value": "",
      "Targets": [
        "id=b3qee",
        "xpath=//*[@id=\"b3qee\"]",
        "xpath=//input[@id='b3qee']",
        "xpath=//td[14]/input",
        "css=#b3qee"
      ],
      "Description": ""
    },
    {
      "Command": "type",
      "Target": "xpath=//td[14]/input",
      "Value": "${price}",
      "Description": ""
    },
    {
      "Command": "XType",
      "Target": "${KEY_DOWN}",
      "Value": "",
      "Description": ""
    },

So as it stands, the script clicks on my element, puts the ${price} into the element, then runs the xtype command, but doesn’t actually do anything.

Any help or suggestions would be welcome.
Thank you in advance :slight_smile:

Can you post a video of the macro running?

Also, replace the first “type” with “xtype” → is the price entered correclty?

Hi, Changing the first type to xtype resulted in no price being entered.
But once again it does not fail, it just simply hangs on the xtype step for a second as if it is doing something. then proceeds on with the rest of the macro.

Attached is a video gif of the script running.
Animation

(UPDATE) the DemoXType macro runs perfectly.
So xType is working. just not on my macro.

From the video, it seems the spreadsheet does not have the focus. Could that be?

=> Change this click to XClick:

image

Does it work then?

I can’t see the video well but you can try after entering the value to click ${KEY_ENTER} or ${KEY_TAB} to change the cell