I'm trying to use Ranorex IDE for the first time. My user name field when I'm trying to login has last login name.
I want to clean this field and type in new user name. Using API I would do just PressKeys("{END}{SHIFT DOWN}{HOME}{SHIFT UP}{DELETE}") and type a new one. Any idea how do I insert the action that would do the same thing? I inserted a screen shot. If I try to type this keys in the field it does not work
Thanks a lot,
Nik
How to clean user name field on login form?
-
- Posts: 42
- Joined: Fri Oct 04, 2013 9:47 pm
How to clean user name field on login form?
You do not have the required permissions to view the files attached to this post.
-
- Posts: 42
- Joined: Fri Oct 04, 2013 9:47 pm
Re: How to clean user name field on login form?
Also instead Step 3 I called a user code:
public void CleanUserName()
{
repo.LoginSalesforce.Username.Element.Actions.Clear();
}
It did not work either
public void CleanUserName()
{
repo.LoginSalesforce.Username.Element.Actions.Clear();
}
It did not work either
Re: How to clean user name field on login form?
Hi,
I would suggest to use Ctrl+A shortcut to select everything in username input and then simply replace (or delete) selected text with new one (using key sequence action). Hope this helps?
I would suggest to use Ctrl+A shortcut to select everything in username input and then simply replace (or delete) selected text with new one (using key sequence action). Hope this helps?
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
-
- Posts: 42
- Joined: Fri Oct 04, 2013 9:47 pm
Re: How to clean user name field on login form?
Thank you! Got that resolved
Re: How to clean user name field on login form?
I ended up right-clicking and choosing Select All from the context menu. Hadn't thought about using a keyboard short-cut!