storeXpathCount doesn't work

storeXpathCount in 2 macros CafeF-CorpContact-SSC-Law, CafeF-CorpContact-SSC-CBTT doesn’t work when I run them automatically. When I test it with (play to this point) function, it works

Thank you so much!

HOSE.zip (1017 Bytes)
CafeF-CorpContact-SSC-CBTT.json (5.2 KB)
CafeF-CorpContact-SSC-input-ticker.json (3.8 KB)
CafeF-CorpContact-SSC-Law.json (5.2 KB)

Can we run these macros here? It seems some kind of login is required?

That strange. I see no reason why it would work while testing but not in a regular macro run. Can you maybe post a video of this situation?

I found the reason.

I run them in a virtual deskop. So, the click link command at line 26 in CafeF-CorpContact-SSC-input-ticker file doesn’t work
How can I fix?

I chose Destop Automation in Vision tab in setting. But it doesn’t fixed

hello. is there anyone help me please. Thank you so much

hello. is there anyone help me please. Thank you so much

Can you please post a video of the macro running/not working? Maybe we can spot the issue then.

CafeF-CorpContact-SSC-Law.json

    {
      "Command": "storeXpathCount",
      "Target": "xpath=/html/body/div[1]/form/div[1]/div/div/div/div[3]/div/div/div/div/table/tbody/tr/td/div/div[1]/div/div/div[1]/div/div/div/span/div[2]/div/div/div/div[2]/table/tbody/tr",
      "Value": "row1",
      "Description": ""
    }

CafeF-CorpContact-SSC-CBTT.json

    {
      "Command": "storeXpathCount",
      "Target": "xpath=/html/body/div[1]/form/div[1]/div/div/div/div[3]/div/div/div/div/table/tbody/tr/td/div/div[1]/div/div/div[1]/div/div/div/span/div[3]/div/div/div/div[2]/table/tbody/tr",
      "Value": "row2",
      "Description": ""
    }

xpath needs fix

The starting script is CafeF-CorpContact-SSC-input-ticker. The second is CafeF-CorpContact-SSC-Law, the third is CafeF-CorpContact-SSC-CBTT

I though before the problem is storeXpathCount. But the true problem is the click link command at line 26 in CafeF-CorpContact-SSC-input-ticker file which doesn’t work

P/S: Please the admin changes thread name to The click link command doesn’t work

I see 23 lines only

click xpath will need fix
you can change to desktop automation if that’s easier for you, provided element is visible

I changed. But it hasnt fixed

(post deleted by author)

0:24
element is clicked but doesn’t open
try desktop automation
if it doesnt open
extract href and open url

cant find href

cant find href

manually click link and share url
or record video

also record video of element html

https://congbothongtin.ssc.gov.vn/faces/task-flow-com-detail/DetailPage

(post deleted by author)

you need to recreate png file with boxes
choose any filename

I tested it with different search results
it worked for them even if image text is different

    {
      "Command": "XDesktopAutomation",
      "Target": "true",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "XClickRelative",
      "Target": "vl4p6h_dpi_120.png",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "XDesktopAutomation",
      "Target": "false",
      "Value": "",
      "Description": ""
    }


vl4p6h_dpi_120

it doesn’t work :joy::joy::joy::joy::joy: