Problem in overwriting values of text fields

Ranorex Spy, Recorder, and Studio.
varun
Posts: 110
Joined: Mon Jul 23, 2012 5:52 am

Problem in overwriting values of text fields

Post by varun » Tue Oct 23, 2012 6:32 am

Hi Support,

I recorded a test case in which, in a Text Box first I selected whole value of text box(Shift + Home key) and then deleted it(from delete key of keyboard) and after this entered the new values.
But when I execute the whole test case, then instead of selecting whole value of text box cursor moves to left corner of text box and deletes only one digit. I even tried this by disabling/deleting the step of pressing Delete key but no results. Please see attached "PhysicalCap.png" for the related steps.

One strange thing I noticed- It works if single or group of 3-4 steps are executed, but not in case of execution of whole test case of test suite.
Seems it is a Ranorex bug .

Kindly provide me its solution and let me know if more clarity required.

Thanks & Regards,
Varun.
Attachments
PhysicalCap_1023.png
PhysicalCap_1023
PhysicalCap_1023.png (113.05 KiB) Viewed 885 times

User avatar
Support Team
Site Admin
Site Admin
Posts: 11710
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Problem in overwriting values of text fields

Post by Support Team » Tue Oct 23, 2012 1:44 pm

Hello Varun,

The key 'Shift+Home' selects every character until the cursor location.
How many characters are selected depends on the location of the mouse click (step 9 in your case).

In order to select the whole value of a text box you could use 'Ctrl+A'.
After selection you could easily delete the selected text.

Regards,
Markus (T)
Support Team
.
Image

varun
Posts: 110
Joined: Mon Jul 23, 2012 5:52 am

Re: Problem in overwriting values of text fields

Post by varun » Tue Oct 23, 2012 1:55 pm

Hello Markus,

Thanks for post reply and suggestion. It works.

Thanks & Regards,
Varun.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11710
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Problem in overwriting values of text fields

Post by Support Team » Tue Oct 23, 2012 2:14 pm

Hello Varun,

You are welcome!

Regards
Markus (T)
Support Team
.
Image