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
9 Answers, 1 is accepted
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
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...
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
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
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... ?
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
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
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