mardi 29 septembre 2015

Selecting checkbox which is on shockwave flash and does not have any id in html code

I am working on website where it is a graph of traffic and it has shockwave flash which has some checkboxes after selecting them it performs some operations for example selecting 'subscribed bandwidth' shows bandwidth line on that traffic graph. Problem is there is no element in html code to interact with it.I am using selenium webdriver with python.Below is html code for that

<div id="chartContainer">
 <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="LineChart" height="830" width="100%">
     <param name="flashVars" value="use_1024=false&amp;dataMultFactor=1000">
     <param name="movie" value="swf/AryakaCharts.swf?version=26128">
     <param name="wmode" value="transparent">
     <param name="quality" value="high">
     <param name="bgcolor" value="#869ca7">
     <param name="allowScriptAccess" value="sameDomain">
     <embed src="swf/companyCharts.swf?version=26128"  quality="high" bgcolor="#869ca7" 
     name="LineChart" id="LineChart" align="middle" play="true" height="830"  width="100%"   wmode="transparent" flashvars="use_1024=false&amp;dataMultFactor=1000"   loop="false"allowscriptaccess="sameDomain"  type="application/x-shockwave-flash">
 </object>
</div>




Aucun commentaire:

Enregistrer un commentaire