Claudinho
Katalon Ambassador
02/20/2018

'invalid element state Element is not currently interactable and may not be manipulated'

After a 'purchase' that I am automating, I am redirected to this Paypal page. I can navigate with 'click' through the fields username and password withour problem. But when I try to 'send text' I get an error 'invalid element state Element is not currently interactable and may not be manipulated'. However I can fine write the credentials and password by hand and successfully login to the site.

REMARK: In my script I am not yet clicking on "Log In" I am still trying to figure out how to write the password in the password field.

Can anyone explain how this can be solved or what the problem is?

https://www.sandbox.paypal.com/cgi-bin/webscr?useraction=commit&cmd=_express-checkout&token=EC-7S0746246L0053422#/checkout/login ;

Upvote
Quote

Comments

  • Claudinho
    Katalon Ambassador
    02/21/2018

    Am I the only one having problem inserting the password in the password field?

    There are plenty of questions in different fora regarding ok to insert in any field for example userid but not in password field, it is like dead, it seems to be a security protection.

    Googling in Selenium communities it seems to be a very frequent problem regarding password fields. In a Selenium community i found with exact the same symptoms as i have the explanation:

    "there are 2 inputs for password, the first one is not visible and the second is visible. I should enter the password in the first input. After I click on the box manually, the html code changes and the first input for password becomes visible (display:inline) and the second changes to display:none."

    In another thread in this forum there is a solution which I have not been able to put to work:

    https://forum.katalon.com/discussion/2547/in-the-run-it-s-not-typing-the-password-what-we-have-entered-in-the-record-mode-please-explain


    Please someone explain how to write password to a password field like Paypal above.
    Upvote
    Quote
  • Rostyslav Biliaiev
    Katalon Apprentice
    03/23/2018
    Use (WebUI.delay(3)) before the call to the element that shows the error.
    Upvote
    Quote
  • Megha Gusain
    Katalon Apprentice
    07/11/2018
    @"Rostyslav Biliaiev" - Thanks a lot. I added the delay of few second and it worked for me. 
    Issue that I was facing was similar to the one stated above. I was unable to input value in username/password field on login screen.
    Upvote
    Quote
  • Kolapo Bankole
    Katalon Apprentice
    09/20/2018
    @"Rostyslav Biliaiev" Thanks. Adding WebUI.delay(3) before the call that shows the error worked for me. Ive been stuck on this for about 2 weeks now.
    Upvote
    Quote
This discussion has been closed.
Not the answer you're looking for? Consider subscribing to Business support.