Trouble with Automated Test Editing Input Field Value

1 Answer 44 Views
General Discussions Test Execution
Jamie
Top achievements
Rank 1
Jamie asked on 12 Mar 2024, 08:23 AM

Hi there,

I’m trying to change a number in a test on a website. It should update to a new number, but it keeps using the old one. I can’t show pictures because of security rules.

Thanks for any help you can give!

Steven
Top achievements
Rank 2
Iron
commented on 12 Mar 2024, 03:34 PM

Clicking the 'Delete' key on my keyboard was creating a test step that said - "Enter Text 'Delete' in 'ParentSignatureText'".

I was presented with 2 ways to solve this:

  1. Create a Manual Step and perform the required manipulation.
  2. Use a similar solution to what is presented here:  https://www.telerik.com/forums/best-way-to-clear-htmlinputtext

Hope this helps.

SSq

Jamie
Top achievements
Rank 1
commented on 13 Mar 2024, 05:11 AM

Clicking the 'Delete' key on my keyboard was creating a test step that said - "Enter Text 'Delete' in 'ParentSignatureText'".
I was presented with 2 ways to solve this: Publix Passport
Create a Manual Step and perform the required manipulation.
Use a similar solution to what is presented here:  https://www.telerik.com/forums/best-way-to-clear-htmlinputtext
Hope this helps.

Thanks for your help. I will try this if it does not work then I will ask for your help again. 

 

1 Answer, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 14 Mar 2024, 11:21 AM

Hello Jamie,

Let me step into this conversation and share some additional details. 

It will be essential to know the type of step recorded for the action that enters the number. Is this an 'Enter text' step? 

If yes, that step always clears the existing text before typing the new one. So, if you have troubles with that step, I will recommend you to take the time to enhance the test with suitable and sufficient wait and verify steps. The execution delays are also an option. You can check this blog post which describes some scenarios how to use that kind of steps. 

Let us know if you need any additional assistance.

Regards,
Elena
Progress Telerik

Virtual Classroom is the free self-paced technical training portal that gets you up to speed with Telerik and Kendo UI products including Telerik Test Studio! Check it out at https://learn.telerik.com/.
Tags
General Discussions Test Execution
Asked by
Jamie
Top achievements
Rank 1
Answers by
Elena
Telerik team
Share this question
or