Merge Action to Usercode adds Adapter
Posted: Thu Jan 19, 2017 4:26 pm
Hi, I have been using Ranorex 6.0 until now, and i used to record actions and merge actions to usercode.
But after the upgrade of 6.2 the merge actions to user code is adding adapters into arguments to the usercode and its different. is there any setting to return this to normal repo.frm.element type.
Ranorex 6.2
Report.Log(ReportLevel.Info, "Mouse", "Mouse Left Click item 'titlebarInfo' at Center.", titlebarInfo);
FindAdapter<TitleBar>().Click();
Report.Log(ReportLevel.Info, "Mouse", "Mouse Left DoubleClick item 'listitemInfo' at Center.", listitemInfo);
FindAdapter<ListItem>().DoubleClick();
Ranorex 6.0
Report.Log(ReportLevel.Info, "Mouse", "Mouse Left Click item 'UC_FrmMainSetup.Huntgrp_List.First_HuntGrp' at Center.", repo.UC_FrmMainSetup.Huntgrp_List.First_HuntGrpInfo, new RecordItemIndex(2));
repo.UC_FrmMainSetup.Huntgrp_List.First_HuntGrp.Click();
Please help. i would like the merge usercode method to be as in 6.0 version.
But after the upgrade of 6.2 the merge actions to user code is adding adapters into arguments to the usercode and its different. is there any setting to return this to normal repo.frm.element type.
Ranorex 6.2
Report.Log(ReportLevel.Info, "Mouse", "Mouse Left Click item 'titlebarInfo' at Center.", titlebarInfo);
FindAdapter<TitleBar>().Click();
Report.Log(ReportLevel.Info, "Mouse", "Mouse Left DoubleClick item 'listitemInfo' at Center.", listitemInfo);
FindAdapter<ListItem>().DoubleClick();
Ranorex 6.0
Report.Log(ReportLevel.Info, "Mouse", "Mouse Left Click item 'UC_FrmMainSetup.Huntgrp_List.First_HuntGrp' at Center.", repo.UC_FrmMainSetup.Huntgrp_List.First_HuntGrpInfo, new RecordItemIndex(2));
repo.UC_FrmMainSetup.Huntgrp_List.First_HuntGrp.Click();
Please help. i would like the merge usercode method to be as in 6.0 version.