Ranorex for AutoCAD Application- some controls go undetected
Posted: Fri Apr 01, 2016 10:13 am
Hi,
We are trying to create automated tests using ranorex for a plugin developed over Autocad (CAD software). We mostly do a recording module, which when ran back, sometimes states that Ranorex "Failed to Find Item (UI element)".
When cross-checked with Ranorex Spy, the item's path obtained here was able to be found/highlighted, but not the ones Studio saves into its repository while recording tests. Because of this, we do a workaround, by collecting the tracked Items from Spy and adding it to the repository in Studio and changing the recording's found RepositoryItems with the equivalent ones from Spy. After this alteration, the same controls are able to be found.
We presume, the same Tracker technology is used by Spy and Studio. If so, what makes it complicated for Studio to collect the item's exact path the first time in a recording ?
Also, some tests which were running successfully once, does not always run Success in the very next instant. FYI, there was no change in the system's environment, OS, or settings, nor there was a change in the AutoCAD , Ranorex settings. We find it very difficult to comprehend. Please help us on this, on what might be the factors affecting the same ?!
Thanks,
Raghu
We are trying to create automated tests using ranorex for a plugin developed over Autocad (CAD software). We mostly do a recording module, which when ran back, sometimes states that Ranorex "Failed to Find Item (UI element)".
When cross-checked with Ranorex Spy, the item's path obtained here was able to be found/highlighted, but not the ones Studio saves into its repository while recording tests. Because of this, we do a workaround, by collecting the tracked Items from Spy and adding it to the repository in Studio and changing the recording's found RepositoryItems with the equivalent ones from Spy. After this alteration, the same controls are able to be found.
We presume, the same Tracker technology is used by Spy and Studio. If so, what makes it complicated for Studio to collect the item's exact path the first time in a recording ?
Also, some tests which were running successfully once, does not always run Success in the very next instant. FYI, there was no change in the system's environment, OS, or settings, nor there was a change in the AutoCAD , Ranorex settings. We find it very difficult to comprehend. Please help us on this, on what might be the factors affecting the same ?!
Thanks,
Raghu