Password input is empty in a request

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

    Posted 03 Oct 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
    3 posts
    Member since:
    Jul 2016

    Posted 04 Oct 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
    1043 posts

    Posted 04 Oct 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
     
Back to Top