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.
Flash application not working with sahi!
Hi
I am trying to test a site where i select seats of a map. But no matter what i select on the map, or click at any other button the recorder records:
_click(_div("var flash_txt = \"TokenName=sToken&TokenValue=1%2Cbf1c8919%2C4e8091f0%2CD0C1D519-A165-4472-A37B-D7779FC4BF89%2CLfdTmbtvJ2NfBNXZJHnnuzlepGY%3D&SeatOutlineBrightness=-60\";"));
OR
_click(_div("seatMap"));
OR
_click(_div(14));
Due to this playback fails. Is there a solution to this??
Or will sahi not support this?
Would selenium support this as we use both?
I am trying to test a site where i select seats of a map. But no matter what i select on the map, or click at any other button the recorder records:
_click(_div("var flash_txt = \"TokenName=sToken&TokenValue=1%2Cbf1c8919%2C4e8091f0%2CD0C1D519-A165-4472-A37B-D7779FC4BF89%2CLfdTmbtvJ2NfBNXZJHnnuzlepGY%3D&SeatOutlineBrightness=-60\";"));
OR
_click(_div("seatMap"));
OR
_click(_div(14));
Due to this playback fails. Is there a solution to this??
Or will sahi not support this?
Would selenium support this as we use both?
Comments
"The key lies in building the XML Object. If you look at the image, EMBED object stores the entire content of what gets painted in the chart.
We need to capture this info, build XML Object, parse it and use it as required. You should be able to relate 'Business logic' of the graph with the XML data. For example, what does X axis indicates is stored in variable called categories. Then with XML parser we need to read value of categories.
//to capture EMBED tag you may use
$data = _call(document.getElementsByTagName("embed"))[$chartIndex].getAttribute("flashvars");
// create XML object
$dom = new XML($data);
// No of ploted point on x axis
$xAxisLength = $dom.graph[0].descendants("categories")[0].descendants("category").length();"