Current time: 03-04-2021, 09:53 AM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to click on signIn button
11-22-2018, 06:21 PM
Post: #1
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
Find all posts by this user
Quote this message in a reply
Post Reply 

Forum Jump:

User(s) browsing this thread: 1 Guest(s)