Hi,
I have an app where I enter a username (email) and as soon as the user starts typing into the text field the Start button becomes enabled.
I am having a problem where when I set value for text into the text field via Ranorex, the Start button never gets enabled, allowing me to not proceed with the Login flow, which means I can pretty much not do anything.
In other words the Start button gets enabled ONLY when the manual keyboad on the app is used, not when ranorex is run.
Start button not enabled
Re: Start button not enabled
Hi,
Try to use "Key Sequence" action instead of "Set Value". This should help with your problem.
Try to use "Key Sequence" action instead of "Set Value". This should help with your problem.
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
Re: Start button not enabled
This is for an iOS app...the only option I see for adding a new action is to Set Value. Unless there is another way that you know of.
I believe Key Sequence is for web onlu.
I believe Key Sequence is for web onlu.
Re: Start button not enabled
Sorry for that. I thought the Key Sequence is a universal action. I previously experienced similar kind of problem with web based app and key sequence was the only option to resolve it. Let's see if support folks will have a suggestion?
BTW, have you tried to set the button to "enabled" state? The same as you can read the state of many attributes, you can also set them. This may not work in this particular case, but it's definitely worth a try?
BTW, have you tried to set the button to "enabled" state? The same as you can read the state of many attributes, you can also set them. This may not work in this particular case, but it's definitely worth a try?
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: 65
- Joined: Wed Sep 24, 2014 7:47 am
- Location: Israel
Re: Start button not enabled
hi
maybe you can use the Ranorex library options via code, try keysequence or similar on the text field to see if they will simulate the use of the keyboard.
another possibility is to instrument a keyboard app that will be used to enter the values, if you cannot automate clicking on the built in device keyboard.
maybe you can use the Ranorex library options via code, try keysequence or similar on the text field to see if they will simulate the use of the keyboard.
another possibility is to instrument a keyboard app that will be used to enter the values, if you cannot automate clicking on the built in device keyboard.
Re: Start button not enabled
hi Styris,
I'm also facing similar issue where Login button is not getting enable on suing Set Value action for Android app. Are you able to find solution for this problem?
Or any help from Ranorex support team will be a gr8 help here as I got stuck on login page itself
Regards.
I'm also facing similar issue where Login button is not getting enable on suing Set Value action for Android app. Are you able to find solution for this problem?
Or any help from Ranorex support team will be a gr8 help here as I got stuck on login page itself
Regards.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Start button not enabled
Hi kapbat,
You can also try to add a "Mobile Key Press {Enter}" action.
Maybe this helps solving the issue.
Regards,
Bernhard
You can also try to add a "Mobile Key Press {Enter}" action.
Maybe this helps solving the issue.
Regards,
Bernhard
Re: Start button not enabled
Unfortunately "Mobile Key Press {Enter}" action didn't help, looklike password field is expecting some key tap on onscreen keyboard and then it checks the length of input text to make Login button enable.
Currently once Ranorex set the value as 8 digit in Password field still Login button is disabled however if I manually tap on say <space> key on onscreen keyboard Login button gets enabled. As the max length of Password field is restricted to 8 digit extra <space> tapping don't effect the input password but it helps in enabling the Login button.
I also tried giving Set value as space in password field after setting 8 digit password but it just replace it.
Is there any action in Ranorex for appending the text input with already provided text in textbox?
Also I assume Key sequence is not applicable for mobile apps as I can't find this action in the list.
Currently once Ranorex set the value as 8 digit in Password field still Login button is disabled however if I manually tap on say <space> key on onscreen keyboard Login button gets enabled. As the max length of Password field is restricted to 8 digit extra <space> tapping don't effect the input password but it helps in enabling the Login button.
I also tried giving Set value as space in password field after setting 8 digit password but it just replace it.
Is there any action in Ranorex for appending the text input with already provided text in textbox?
Also I assume Key sequence is not applicable for mobile apps as I can't find this action in the list.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Start button not enabled
Hi kapbat,
May I ask if it is possible to get you application, or a sample application?
It would be much easier to help and analyze the issue.
Please send it to [email protected] if this is possible.
Regards,
Bernhard
May I ask if it is possible to get you application, or a sample application?
It would be much easier to help and analyze the issue.
Please send it to [email protected] if this is possible.
Regards,
Bernhard