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)
admin
June 27, 2025, 11:34am
2
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
admin
July 15, 2025, 10:14am
6
Can you please post a video of the macro running/not working? Maybe we can spot the issue then.
uiuser
July 16, 2025, 10:47am
8
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
uiuser
July 17, 2025, 7:30am
11
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
uiuser
July 17, 2025, 8:41am
14
0:24
element is clicked but doesn’t open
try desktop automation
if it doesnt open
extract href and open url
uiuser
July 17, 2025, 8:44am
16
manually click link and share url
or record video
also record video of element html
uiuser
July 17, 2025, 9:03am
19
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": ""
}