Page 1 of 1

No Automation Playback - IOS - Rx 5.0

Posted: Tue Mar 11, 2014 10:15 pm
by OC1
Greetings Ranorex Community,

I upgraded yesterday my system to Rx Studio 5.0 and Rx Services 150 - and the automation test performance for mobile device changed as follows:

Androids Devices - Got better and even faster
iOS Devices - Got worse to the point of not being useful at all.

Before the upgrade I was working Rx Studio 4.5 and Rx Services 4.5.0 and the IOS devices were working properly. Recording and Playback worked precisely. On release 5.0 systems only is able to open the application and althought it records all the actions is not able to play them back - it freezes.

Ex:

Failed to find item 'ASB_IOS_Tablets_1Repository.ComTabletAsb.UIWebViewDomElement'.
No element found for path '/mobileapp[@title='com.tablet.asb']/?/?/container[@caption='']/dom[@caption~'^American\ Savings\ Bank\ Haw']//div[#'app-home-color2']/div[@title='']' within 1.3m.

Anyone got similar results? Any suggestions???

-----------------------------------------------------------------------------------------------------------------------------

System:
Windows 7 Professional - SP-1
Ranorex 5.0.17587
IOS 7.1.0

-----------------------------------------------------------------------------------------------------------------------------
CODE:

void ITestModule.Run()
{
Mouse.DefaultMoveTime = 300;
Keyboard.DefaultKeyPressTime = 100;
Delay.SpeedFactor = 1.0;

Init();

Report.Log(ReportLevel.Info, "Application", "Run mobile app 'com.tablet.asb' on device 'CSQA iPad Air-Retina-1'.", new RecordItemIndex(0));
Host.Local.RunMobileApp("CSQA iPad Air-Retina-1", "com.tablet.asb");
Delay.Milliseconds(3500);

Report.Log(ReportLevel.Info, "Touch", "Touch item 'ComTabletAsb.UIWebViewDomElement' at Center", repo.ComTabletAsb.UIWebViewDomElementInfo, new RecordItemIndex(1));
repo.ComTabletAsb.UIWebViewDomElement.Touch();
Delay.Milliseconds(500);

Report.Log(ReportLevel.Info, "Validation", "Validating Exists on item 'ComTabletAsb.UIWindow'.", repo.ComTabletAsb.UIWindowInfo, new RecordItemIndex(2));
Validate.Exists(repo.ComTabletAsb.UIWindowInfo);
Delay.Milliseconds(100);

Report.Log(ReportLevel.Info, "Touch", "Touch item 'ComTabletAsb.FindAtm' at Center", repo.ComTabletAsb.FindAtmInfo, new RecordItemIndex(3));
repo.ComTabletAsb.FindAtm.Touch();
Delay.Milliseconds(500);

Report.Log(ReportLevel.Info, "Touch", "Touch item 'ComTabletAsb.Stage' at Center", repo.ComTabletAsb.StageInfo, new RecordItemIndex(4));
repo.ComTabletAsb.Stage.Touch();
Delay.Milliseconds(500);

Report.Log(ReportLevel.Info, "Validation", "Validating Exists on item 'ComTabletAsb.UIWindow'.", repo.ComTabletAsb.UIWindowInfo, new RecordItemIndex(5));
Validate.Exists(repo.ComTabletAsb.UIWindowInfo);
Delay.Milliseconds(100);

Report.Log(ReportLevel.Info, "Touch", "Touch item 'ComTabletAsb.Stage' at Center", repo.ComTabletAsb.StageInfo, new RecordItemIndex(6));
repo.ComTabletAsb.Stage.Touch();
Delay.Milliseconds(500);

Report.Log(ReportLevel.Info, "Touch", "Touch item 'ComTabletAsb.Stage' at Center", repo.ComTabletAsb.StageInfo, new RecordItemIndex(7));
repo.ComTabletAsb.Stage.Touch();
Delay.Milliseconds(500);

Report.Log(ReportLevel.Info, "Touch", "Touch item 'ComTabletAsb.Stage' at Center", repo.ComTabletAsb.StageInfo, new RecordItemIndex(8));
repo.ComTabletAsb.Stage.Touch();
Delay.Milliseconds(500);

Report.Log(ReportLevel.Info, "Validation", "Validating Exists on item 'ComTabletAsb.UIWindow'.", repo.ComTabletAsb.UIWindowInfo, new RecordItemIndex(9));
Validate.Exists(repo.ComTabletAsb.UIWindowInfo);
Delay.Milliseconds(100);

Report.Log(ReportLevel.Info, "Touch", "Touch item 'ComTabletAsb.Stage' at Center", repo.ComTabletAsb.StageInfo, new RecordItemIndex(10));
repo.ComTabletAsb.Stage.Touch();
Delay.Milliseconds(500);

Report.Log(ReportLevel.Info, "Touch", "Touch item 'ComTabletAsb.Stage' at Center", repo.ComTabletAsb.StageInfo, new RecordItemIndex(11));
repo.ComTabletAsb.Stage.Touch();
Delay.Milliseconds(500);

Report.Log(ReportLevel.Info, "Touch", "Touch item 'ComTabletAsb.Stage' at Center", repo.ComTabletAsb.StageInfo, new RecordItemIndex(12));
repo.ComTabletAsb.Stage.Touch();
Delay.Milliseconds(500);

Report.Log(ReportLevel.Info, "Touch", "Touch item 'ComTabletAsb.Stage' at Center", repo.ComTabletAsb.StageInfo, new RecordItemIndex(13));
repo.ComTabletAsb.Stage.Touch();
Delay.Milliseconds(500);

Report.Log(ReportLevel.Info, "Touch", "Touch item 'ComTabletAsb.Stage' at Center", repo.ComTabletAsb.StageInfo, new RecordItemIndex(14));
repo.ComTabletAsb.Stage.Touch();
Delay.Milliseconds(500);

Report.Log(ReportLevel.Info, "Touch", "Touch item 'ComTabletAsb.Stage' at Center", repo.ComTabletAsb.StageInfo, new RecordItemIndex(15));
repo.ComTabletAsb.Stage.Touch();
Delay.Milliseconds(500);

Report.Log(ReportLevel.Info, "Touch", "Touch item 'ComTabletAsb.AppHome' at Center", repo.ComTabletAsb.AppHomeInfo, new RecordItemIndex(16));
repo.ComTabletAsb.AppHome.Touch();
Delay.Milliseconds(500);

Report.Log(ReportLevel.Info, "Touch", "Touch item 'ComTabletAsb.AppHome' at Center", repo.ComTabletAsb.AppHomeInfo, new RecordItemIndex(17));
repo.ComTabletAsb.AppHome.Touch();
Delay.Milliseconds(500);

Report.Log(ReportLevel.Info, "Touch", "Touch item 'ComTabletAsb.AppHome' at Center", repo.ComTabletAsb.AppHomeInfo, new RecordItemIndex(18));
repo.ComTabletAsb.AppHome.Touch();
Delay.Milliseconds(500);

Report.Log(ReportLevel.Info, "Touch", "Touch item 'ComTabletAsb.AppHome' at Center", repo.ComTabletAsb.AppHomeInfo, new RecordItemIndex(19));
repo.ComTabletAsb.AppHome.Touch();
Delay.Milliseconds(500);

Report.Log(ReportLevel.Info, "Touch", "Touch item 'ComTabletAsb.AppHome' at Center", repo.ComTabletAsb.AppHomeInfo, new RecordItemIndex(20));
repo.ComTabletAsb.AppHome.Touch();
Delay.Milliseconds(500);

Report.Log(ReportLevel.Info, "Touch", "Touch item 'ComTabletAsb.AppHome' at Center", repo.ComTabletAsb.AppHomeInfo, new RecordItemIndex(21));
repo.ComTabletAsb.AppHome.Touch();
Delay.Milliseconds(500);

Report.Log(ReportLevel.Info, "Touch", "Touch item 'ComTabletAsb.AppHome' at Center", repo.ComTabletAsb.AppHomeInfo, new RecordItemIndex(22));
repo.ComTabletAsb.AppHome.Touch();
Delay.Milliseconds(500);

Report.Log(ReportLevel.Info, "Touch", "Touch item 'ComTabletAsb.AppHome' at Center", repo.ComTabletAsb.AppHomeInfo, new RecordItemIndex(23));
repo.ComTabletAsb.AppHome.Touch();
Delay.Milliseconds(500);

Report.Log(ReportLevel.Info, "Touch", "Touch item 'ComTabletAsb.AppHome' at Center", repo.ComTabletAsb.AppHomeInfo, new RecordItemIndex(24));
repo.ComTabletAsb.AppHome.Touch();
Delay.Milliseconds(500);

Report.Log(ReportLevel.Info, "Touch", "Touch item 'ComTabletAsb.AppHome' at Center", repo.ComTabletAsb.AppHomeInfo, new RecordItemIndex(25));
repo.ComTabletAsb.AppHome.Touch();
Delay.Milliseconds(500);

}

Thanks,
OC

Re: No Automation Playback - IOS - Rx 5.0

Posted: Fri Mar 14, 2014 4:02 pm
by Support Team
Hello OC,

Unfortunately I was not able to open your attached report because of this error:
2014-03-14 14_51_53-Ranorex Report Viewer - C__Users_mstoegerer_Downloads_Ranorex Forum Attachments_.jpg
Please re-attach a Ranorex Compressed Report (rxzlog)

You can save a *.rxzlog file by rightclicking in an opened Report and selecting "Save as"

Regarding your problem:
Have you instrumented your IOS application with the latest automation lib?
You can download this under http://www.ranorex.com/download/mobile/ ... nUni_150.a

Is it possible for you to send us your application?
If you don't want to attach it here in the public forum you can send it to our email-adress: [email protected]

Kind regards,

Markus (S)

Re: No Automation Playback - IOS - Rx 5.0

Posted: Mon Mar 31, 2014 1:05 pm
by amirb
Hello,

We are experiencing the same issue with the iOS and Ranorex 5.0.0.
The Dom of the iOS Application is not being recognized by the Ranorex spy tool (even after we reinsallted the lib on the device again).
*Our application is based on HTML under iOS application.

Please see the attached file.

All of our tests were build on Ranorex 4.1.1 and now non of them is working.
Please address this issue as soon as possible as our either Mobile tests are basing on Raborex.

Best Regards,
Amir Buchvalter
innovid.com

Re: No Automation Playback - IOS - Rx 5.0

Posted: Mon Apr 07, 2014 3:37 pm
by Support Team
Hi,

this problem should be fixed with Ranorex 5.0.2. This version of Ranorex will be released very soon.

Kind regards,

Markus (S)