No Automation Playback - IOS - Rx 5.0
Posted: Tue Mar 11, 2014 10:15 pm
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
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