Hello, I have a problem.
I have two input fields, once a name field and a password field.
When I enter the user name and and switch in the Password field the User field will be deleted. (Firefox 30)
In Internet Explorer everything works fine.
input field is deleted
Re: input field is deleted
Hi,
It would be helpful if you post a snapshot of both fields (taken in IE and FF). Additionally, it would be nice if you share the xpath you are using for both fields.
It would be helpful if you post a snapshot of both fields (taken in IE and FF). Additionally, it would be nice if you share the xpath you are using for both fields.
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: 13
- Joined: Wed Feb 19, 2014 12:24 pm
Re: input field is deleted
Here are the xpath
Input Username
/dom[@domain='www.xxx.com']//input[#'vb_nr']
Input Password
/dom[@domain='www.xxx.com']//input[#'CurrPW']
Here are the Snapshorts of both elements (Firefox)
Username
Benutzerkennung.rxsnp
PW:
Password.rxsnp
Input Username
/dom[@domain='www.xxx.com']//input[#'vb_nr']
Input Password
/dom[@domain='www.xxx.com']//input[#'CurrPW']
Here are the Snapshorts of both elements (Firefox)
Username
Benutzerkennung.rxsnp
PW:
Password.rxsnp
Re: input field is deleted
How are you entering the data into the field? Are you using the SetValue() action/method, or are you using the Keyboard.KeySequence action?
The SetValue method does not always work due to it not firing events. If your text field is set to fire events on KeyPress, for example, then they will not fire with SetValue.
Also, make sure you are setting the correct attribute's value. If you are setting the "Text" attribute, but the system expects the "Value" attribute to be set, it may not recognize your input.
If you aren't using the direct Keyboard.KeySequence method, I would suggest you try that instead of SetValue as it will fire all events the way the developers intended and it is much more consistent than SetValue.
The SetValue method does not always work due to it not firing events. If your text field is set to fire events on KeyPress, for example, then they will not fire with SetValue.
Also, make sure you are setting the correct attribute's value. If you are setting the "Text" attribute, but the system expects the "Value" attribute to be set, it may not recognize your input.
If you aren't using the direct Keyboard.KeySequence method, I would suggest you try that instead of SetValue as it will fire all events the way the developers intended and it is much more consistent than SetValue.
Shortcuts usually aren't...
Re: input field is deleted
I was about to ask about the way you enter the values in the fields, but krstsc was faster
Anyway, I checked your snapshots and paths and even checked the real site and I experienced no problem entering the values to both fields using both key sequence and SetValue action.
Here is SetValue action example: And here is somewhat more complicated way, using the key sequence. The field content deletion before entering new values may not be necessary, but nice to do anyway. Hope it helps?
Anyway, I checked your snapshots and paths and even checked the real site and I experienced no problem entering the values to both fields using both key sequence and SetValue action.
Here is SetValue action example: And here is somewhat more complicated way, using the key sequence. The field content deletion before entering new values may not be necessary, but nice to do anyway. Hope it helps?
You do not have the required permissions to view the files attached to this post.
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: 13
- Joined: Wed Feb 19, 2014 12:24 pm
Re: input field is deleted
Unfortunately it does not work that way.
The website calls if you want to test is.
https://www.mydvag.com/
I can give you no login unfortunately but if you tried it with Firefox and you switch with Ranorex the input fields they will be deleted
The website calls if you want to test is.
https://www.mydvag.com/
I can give you no login unfortunately but if you tried it with Firefox and you switch with Ranorex the input fields they will be deleted
Re: input field is deleted
Hi,
When exactly it gets deleted? I tried it yesterday (the link was stored in the snapshot) and both my examples correctly filled name and password fields? What version of FF and Ranorex are you using?
When exactly it gets deleted? I tried it yesterday (the link was stored in the snapshot) and both my examples correctly filled name and password fields? What version of FF and Ranorex are you using?
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: 13
- Joined: Wed Feb 19, 2014 12:24 pm
Re: input field is deleted
First i make an key sequence in the name field an when i swich in the Passwort field the name field will be deleted.
I use Firefox 30 an Ranorex 5.03
I use Firefox 30 an Ranorex 5.03
Re: input field is deleted
I tried it with FF30 and Rx 5.0.3 and everything seems work fine for me? I think there must be be either something wrong in your recording or something interfering with Ranorex actions?
Try the attached project... Firs try the key sequence actions, then disable key sequence steps and enable SetValue actions. Hope it helps?
Try the attached project... Firs try the key sequence actions, then disable key sequence steps and enable SetValue actions. Hope it helps?
You do not have the required permissions to view the files attached to this post.
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: 13
- Joined: Wed Feb 19, 2014 12:24 pm
Re: input field is deleted
I have found the problem.
Before I make the entry in the user name and password I delete the Cache of Firefox automatically which is also a Ranorex test.
If I empty the cache then my test then my test is not working properly.
Before I make the entry in the user name and password I delete the Cache of Firefox automatically which is also a Ranorex test.
If I empty the cache then my test then my test is not working properly.
Re: input field is deleted
Nice to hear you've found the cause of the problem. Thanks for sharing it!
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