Password input is empty in a request

5 posts, 0 answers
  1. Ivan
    Ivan avatar
    15 posts
    Member since:
    Jul 2016

    Posted 03 Oct 2016 Link to this post

    There is a simple login form with a password input field (a username is a default).

    So, when I type the password by hand using a keyboard I have a correct submit request where the password corresponds which I enter.

    But when I start a test from Telerik Test Studio with a step Enter text "password" in InputPassword
    and click a login button the submit request has the password empty.

    angular.element("#inputPassword")[0].value returns the valid value.

    Control type for InputPassword  is HtmlInputPassword.
    HTML of the form and submit function code are attached.

    Please help. Where is a problem?

  2. Ivan
    Ivan avatar
    15 posts
    Member since:
    Jul 2016

    Posted 04 Oct 2016 in reply to Ivan Link to this post

    I have found the answer. You should enable the SimulateRealTyping property.
  3. Boyan Boev
    Admin
    Boyan Boev avatar
    1072 posts

    Posted 04 Oct 2016 Link to this post

    Hello Ivan,

    I am happy that you have found the solution.

    SimulateRealTyping acts as a real user against the browser and the application.

    If you need further assistance please let us know.

    Regards,
    Boyan Boev
    Telerik by Progress
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  4. parkway
    parkway avatar
    2 posts
    Member since:
    Jun 2017

    Posted 13 Jun in reply to Ivan Link to this post

    I guess the situation of mine is different from you. I tried to input the password and the blank became empty too. I have enabled the SimulateRealTyping property but it just became nothing no matter of using the keyboard by hand or the browser automatically. Lately I tried to reset my password and it against for my password is too simple without few special characters.( The original password was not set by me) so I had to ask help for the Safest Password Manager that I searched on the Internet and it gave me one. I tried this one to reset and it passed. I tried to log in again with the new one but I still can not make it. The last reason I can think of was my speed of PC cause there was too many files that inflected a lot.I tried to press them as ZIP and it became better. I just want to say the speed of my PC made these situation too many times, there is nothing wrong with the software and it works well. I just need somewhere safe to be my Best Password Keeper cause I need to encrypt every ZIP files.

     

  5. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    608 posts

    Posted 16 Jun Link to this post

    Hi,

    Thank you for reaching us out. 

    To double check what might be going worng with typing the password you could run the test with annotations toggled on (please refer to point 5 of this article). This will highlight the target elements of each step and will allow you to better understand if the execution is too fast and an execution delay is required or the password field is not correctly located and its find expression needs to be changed

    Please let me know if there is any issue with Test Studio that you are facing! Thanks! 

    Regards,
    Elena Tsvetkova
    Progress Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
Back to Top