Setting a value to text box

10 posts, 0 answers
  1. Bhagyashree
    Bhagyashree avatar
    2 posts
    Member since:
    Aug 2016

    Posted 05 Aug Link to this post

    Hi,

    I am new to Telerik test studio.

     

    For a registration page, am entering the email field and also extracting the input value, it is passing and while script execution also it is visible that the value is being entered in the field. But when register button is clicked, it displays error that email field is not entered.

     

    How come it is not being passed, when it is visible in the application while running that it is being entered.

     

    Please help

     

  2. Abdul
    Abdul avatar
    7 posts
    Member since:
    Mar 2016

    Posted 08 Aug Link to this post

    Same Issue here. I was able to pass and enter the value in text field but when I clicked on Login button, application is not accepting the entered value and instead considering as there is no value in text field and throwing validation error

     

    @Telerik Team ... Please help us on this

  3. Chris
    Chris avatar
    18 posts
    Member since:
    Oct 2015

    Posted 08 Aug in reply to Bhagyashree Link to this post

    Do you have some type of server/asynchronous validation that may be preventing you from proceeding passed the Register button click? Reason I ask is maybe the return call from the verification has not came back yet (maybe to see if that email is available/exists) and maybe you have to do a "Wait" for the call to come back. Not too sure if this will help but would like to know how you got around this issue...

     

     

  4. Chris
    Chris avatar
    18 posts
    Member since:
    Oct 2015

    Posted 08 Aug Link to this post

    Also make sure the element/text field you're checking the value for is the correct one; you may be targeting the wrong element which could explain why it's acting like a value doesn't exist... ?
  5. Nikolay Petrov
    Admin
    Nikolay Petrov avatar
    81 posts

    Posted 10 Aug Link to this post

    Hi Bhagyashree,

    Thank you for your interest in Test Studio.

    Depending on the application after recording the step with text input the one have to check from test step properties - "SimulateRealTyping" option. This will trigger if any events are attached to the input.

    Let me know if that works for you.

    Regards,
    Nikolay Petrov
    Telerik by Progress
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  6. Abdul
    Abdul avatar
    7 posts
    Member since:
    Mar 2016

    Posted 11 Aug in reply to Nikolay Petrov Link to this post

    Well, the element is identified properly by telerik but only during run time after we set the value and click on run, value was not identified by application and instead giving us notification to enter the value in field although its there (Strange !!!)

    Also I am giving wait statement before and after setting the value in text field. I don't think that would cause any problem while setting value in field.

    "SimulateRealTyping" option is also NOT helping. It's entering character by character of string value in text field but after run, notification again pops up asking us to enter the value in field.

     

    Attached the screenshot for understanding scenario

     

  7. Chris
    Chris avatar
    18 posts
    Member since:
    Oct 2015

    Posted 11 Aug Link to this post

    That is strange. Looks like your validation message is looking for a number... is that a general error message? maybe the value type is somehow being saved as a string rather than an integer... ?

  8. Nikolay Petrov
    Admin
    Nikolay Petrov avatar
    81 posts

    Posted 16 Aug Link to this post

    Hello Abdul,

    After you enter the value, where do you click to trigger the validation of the text? Try to enable this "Click" step property "SimulateRealClick". It will trigger the event responsible to this value validation as well.

    The entered values always are interpreted as strings first. The developer in the background application logic have to parse it to a number explicitly. In this case I think the value is not taken at all - that's why the validation can't pass.

    Is it possible to reproduce this on a public facing application? If so - share the link, please.

    Let me know if this solves the issue.

    Regards,
    Nikolay Petrov
    Telerik by Progress
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  9. Abdul Khader
    Abdul Khader avatar
    22 posts
    Member since:
    Feb 2016

    Posted 25 Aug in reply to Nikolay Petrov Link to this post

    Hi Nikolay,

     

    I tried with the provided workaround and made the developers look into this, but still no go.

    Even they do not have solution to this

     

    Can i create a support ticket to fix this issue right away so that i can share my screen and explain you more. Unfortunately i am not allowed to share the credentials or application related things outside network

     

    Thanks

  10. Nikolay Petrov
    Admin
    Nikolay Petrov avatar
    81 posts

    Posted 30 Aug Link to this post

    Hi Abdul,

    Next thing to try is to record a "Click" step - outside the element and place it in the test before the validation step. The purpose of this step will be to loose the focus of the input element. This will trigger events that will set its value to the entered one and the validation step should pass.

    Try this - if it does not work and you want to add more specific details as video of application log - open a ticket, please.

    Let me know if this helps.

    Regards,
    Nikolay Petrov
    Telerik by Progress
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top