Page 1 of 1

set text in iOS element crashes it

Posted: Mon Nov 07, 2016 2:42 pm
by zivshapirawork
recording entering text and playing the recoding, or programmatically setting Text attribute on iOS text element with platformclass _UIAlertControllerTextField, causes that element to disappear, immediately after the text is set.

Code: Select all

			<repoPath>.<elementName>.TextValue ="111";
Manually typing the text is ok
Before upgrading iOS I believe this worked

Ranorex 6.1.0
service 2.2.0
iOS 10.1.1

Re: set text in iOS element crashes it

Posted: Mon Nov 07, 2016 5:16 pm
by Jeff
Hi,

If I correctly understand your question, could you try:
<ElementPath>.SetAttributeValue("name", "value");
Is it what you're waiting for?

Regards,
Jeff

Re: set text in iOS element crashes it

Posted: Tue Nov 08, 2016 6:03 am
by zivshapirawork
Thanks Jeff, I had tried that as well (also before your post). That has the same effect as I described.

Re: set text in iOS element crashes it

Posted: Thu Nov 10, 2016 2:58 pm
by Support Team
Hi Ziv,

as discussed by email, I was unfortunately not able to reproduce that behavior on my devices. Therefore, it would be great if you could send us a short sample application whereby the same problem occurs.

Thank you in advance.

Regards,
Markus (S)