I am trying to automate e few simple processes on the client side of a web service in our internal net. The little program is supposed to handle a few simple clicks, that everyone has to do. The automation works, yet the very first step is driving me nuts. I can´t log into the service.
Here is the button on the site:
<a tabindex="0" class="x-btn x-unselectable x-box-item x-btn-default-small" id="button-1083" role="button" aria-disabled="false" aria-hidden="false" style="margin: 0px; left: 2px; top: 0px; width: 145px; right: auto;" hidefocus="on" unselectable="on" data-componentid="button-1083">
<span class="x-btn-wrap x-btn-wrap-default-small " id="button-1083-btnWrap" role="presentation" style="table-layout: fixed;" data-ref="btnWrap" unselectable="on"><span class="x-btn-button x-btn-button-default-small x-btn-text x-btn-button-center " id="button-1083-btnEl" role="presentation" data-ref="btnEl" unselectable="on"><span class="x-btn-icon-el x-btn-icon-el-default-small " id="button-1083-btnIconEl" role="presentation" data-ref="btnIconEl" unselectable="on">
</span><span class="x-btn-inner x-btn-inner-default-small" id="button-1083-btnInnerEl" data-ref="btnInnerEl" unselectable="on">Login</span></span></span></a>
I can find the button on the website with
Document.getElementById("button-1083")
but I can´t simulate the "click".
Any help is appreciated greatly.