18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
Automating Ext JS(Sencha) Charts
Hi All,
We have our GUI in EXT JS using the Sencha Framework, we had success with identifying most of the Sencha objects using Sahi but the challenge here is to identify and validate the Ext JS Chart . Sahi looks at the entire chart as one object but cannot recognize the data in it. Also it would be great if we can validate the tooltip(with text values) when we hover over the Sencha graph/chart.
Any help is highly appreciated.
We have our GUI in EXT JS using the Sencha Framework, we had success with identifying most of the Sencha objects using Sahi but the challenge here is to identify and validate the Ext JS Chart . Sahi looks at the entire chart as one object but cannot recognize the data in it. Also it would be great if we can validate the tooltip(with text values) when we hover over the Sencha graph/chart.
Any help is highly appreciated.
Answers
the problem is that these charts are alot of layered and absolute divs which contain _canvas elements. Without knowing which canvas represents which element you can't really check on elements of the chart. The sahi controller is no great help here, you have to look up the _div identifiers in the source code. Let's hope the ids are static
Regards
Wormi
The issue here is that the entire Chart is in just one single Div ID.. and sahi is not able to see any thing inside that div.