set text in iOS element crashes it

Mobile Testing, Android App Testing.
zivshapirawork
Posts: 62
Joined: Wed Sep 24, 2014 7:47 am
Location: Israel

set text in iOS element crashes it

Post by zivshapirawork » Mon Nov 07, 2016 2:42 pm

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

Jeff
Posts: 9
Joined: Mon Oct 10, 2016 2:51 pm

Re: set text in iOS element crashes it

Post by Jeff » Mon Nov 07, 2016 5:16 pm

Hi,

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

Regards,
Jeff

zivshapirawork
Posts: 62
Joined: Wed Sep 24, 2014 7:47 am
Location: Israel

Re: set text in iOS element crashes it

Post by zivshapirawork » Tue Nov 08, 2016 6:03 am

Thanks Jeff, I had tried that as well (also before your post). That has the same effect as I described.

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

Re: set text in iOS element crashes it

Post by Support Team » Thu Nov 10, 2016 2:58 pm

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)
.
Image