Login Button not enabled after the password is set in the text field.

4 posts, 0 answers
  1. Naga
    Naga avatar
    15 posts
    Member since:
    Apr 2012

    Posted 20 Jun 2012 Link to this post

           I have scenario where we have to enter username,password and then click on Login button.But unfortunately after the username is set and the password is set the login button is not enabled,however it is working fine if we are manually entering the text.Can you please let us know if there is a way where we can enter the text character by character to get the login button enabled.

  2. Anthony
    Anthony avatar
    19 posts

    Posted 20 Jun 2012 Link to this post

    Hello Naga,

    You will need to simulate real typing in your code. See here for more information.

    Here's an example against Bing.com. Note that you should have a simulated mouse click into the field first:

    HtmlInputText t = Find.ById<HtmlInputText>("sb_form_q");
    Manager.Desktop.KeyBoard.TypeText("Telerik", 50, 100);

    All the best,
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  3. Niranjalee
    Niranjalee avatar
    2 posts
    Member since:
    May 2012

    Posted 02 Jan 2014 Link to this post


    I am having a similar issue. When I fill all the fields in the form the 'Finish' button is still disabled. As mention above its working fine when I key in the data.

    I need to use data binding on this form as I need to enter multiple records. As I know, data binding is not possible on coded steps, is there any other method I can do this?

  4. Velin Koychev
    Velin Koychev avatar
    88 posts

    Posted 07 Jan 2014 Link to this post

    Hello Niranjalee,

    It seems that you need to trigger some events. You should be able to do this if you try to enable/disable the test step property SimulateRealTyping or SimulateRealUser for the typing test steps.  You should be able to invoke the proper event also in a coded step. Please check out our documentation in order to get detailed information.

    You should also be able to use databinding in a coded step. You can read this article for a similar solution with coded step. 

    If you continue to experience any issues, please provide us with a copy of your test and if it is possible grant us access to your application so we can reproduce the issue on our end and give you a solution.

    Looking forward to hearing from you.

    Velin Koychev
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top