Unable to click on signIn button

Hi All,

We are trying to implement launch, login, search and logout scenario in our script. We have an application where SignIn button is enabled after the user enters credentials. This happens as Javascript enables or disables the SigIn button by changing the property of class attribute from button_disable to button. But we could see navigation error although button is enabled. After enabling the button, we are not able to click on login button.

Here is the code for js and signIn click.

execAndWait document.getElementById(“button_signin”).setAttribute(“class”, “button”);
clickAndWait id=button_signin class=button
submitForm id=login_form

Test Result:

Best Regards,
Alok Kumar