html - Get Element by Name/ID -


i trying automate logging website run report our ticking system.

i able login , system. having issue clicking report button.

i have tried many many many variations no success.

this html code report button.

<td class="navigation" nowrap="" valign="bottom"><span id="tab_view4" class="off" onmouseover="this.classname='on'" onmouseout="if(iviewtype!=4) this.classname='off'"><a href="/swiseweb/null.html" target="spider2" onclick="return changeview(4);"> 

report bananna

i have tried

$ie.document.getelementsbyname("tab_view4").submit() $ie.document.getelementsbyname("tab_view4").submit() $ie.document.getelementsbyname("tab_view4").click() $ie.document.getelementsbyid("tab_view4").click() 

id , name different attributes. element id="tab_view4" use $ie.document.getelementbyid("tab_view4") (without "s" ids supposed unique in html document).


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -