I have a macro that runs correctly in Kantu. Once I 'Export as HTML (plus autorun) it gets stuck on the last step and get the error below.
timeout reached when looking for element ‘//*[@id="highcharts-4"]/div/div/div[4]’
It is then unable to run in Kantu after that as well. I can delete and recreate and it will run fine. The Source View (JSON) looks exactly the same so I am not sure what is causing the problem. My macro sets a filter in Highcharts and then ‘Downloads Data’ from a ‘Chart context menu’. I have mostly been working with the Chrome extension and I recently tried with Firefox and I still have the same error.
Sure thanks for replying. I uncheck the US box before I start recording the Macro. The first step is to select ‘US’ (1). I then go to Chart context menu > Download Data (2). The macro works in Kantu but it fails when I export it to HTML. After I export to HTML it will no longer work in Kantu like before.
Nice quest =)
I thought it would be easier.
I see the problem: the link appears only when you click on icon. Before that link doesn’t even exist on page.
In old selenium i would try mouseOver* and mouseDown* command, but here it is only mouseOver available and it doesn’t work.
(To be honest, i tried in old SeIDE 2.9.1 and it works worth here - i couldn’t click anywhere at all.)
I tried visual assert and to click on #efp. That works only when i manually scroll icon into visual area =)
Otherwise it clicks on a menu bar. So the scroll to top makes a bad trick with visuals here.
My testcase:
Hello, team (@TechSupport ) and TS (@jrix ) .
What was the solution here?
I have some kind of similar situation now, and need some hints how to scroll element into view.
Thanks in forward.
Yep, that’s a good idea, i also found it as a solution - just to click on block background to center the element.
It solves the problem actually, thanks.