I hope you can replicate this.
- I have a button with < a JavaScript> inside and looks like it’s clicked with Kantu but does not trigger anything.
- It works if I click it manually.
- Also When I record the click, the kantu script generated does not work either.
The Kantu scripts I tried and none of them are working:
{
“Command”: “click”,
“Target”: “xpath=//*[@id=“duel_select_0_right”]/img”,
“Value”: “–> [ > ] < --”,
“Description”: “”
},
{
“Command”: “click”,
“Target”: “xpath=//div[@class=“zen-mbs text”]”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “click”,
“Target”: “xpath=//a[@id=“duel_select_0_right”]”,
“Value”: “”,
“Description”: “”
}
The button:
< div class=“zen-mbs text”>
< a href=“javascript:if%20%28%21document.getElementById%28%27duel_select_0%27%29.disabled%26%26%20%21document.getElementById%28%27duel_select_1%27%29.disabled%29%20%7Bduel_select_0Var.beforeMoveRight%28%29%3B%3Bwindow.editPage_DLBEInstance.instMoveOption%28document.editPage.duel_select_0%2C%20document.editPage.duel_select_1%2Cwindow.editPage_DLBEInstance.emptyLabel%2C%20%5B%5D%2C%20null%2Cwindow.editPage_DLBEInstance.emptyLabel%2Cfalse%2Cnull%2C%27editPage_duel_errorMsg%27%29%3B%7D”
id=“duel_select_0_right”>
< img src="/img/s.gif" alt=“Add” class=“rightArrowIcon” title=“Add”/>
< /div>