All of a suddden Unable to Identify any elements or execute Usecode which was working fine before
Posted: Thu Apr 16, 2020 5:11 am
Sub: All of a suddden Unable to Identify any elements or execute Usecode which was working fine before.
I was using Ranorex 9.2.1 when i try to upgrade to 9.3 i got error on installation. So i uninstalled and reinstalled the previous 9.2.1. version .
However now my Scripts is not identifying any objects and use code methods are not being called.
Note: This was working fine before the reinstallation.
Im getting below Error when i run my test suite .
Failed to find item 'CMRepository.BICampaignManagement.Login.Login_UserName'.
No element found for path '/dom[@browsername='Chrome']//*[@innertext='User Name*']' at step 'dom[@browsername='Chrome']' after 40 attempts within 1.1m (timeout factor = 1.1).
Show/Hide Stacktrace
at Ranorex.Core.Repository.RepoItemInfo.FindInternal[T](Boolean findSingle, Boolean throwException, Duration effectiveTimeoutOverride)at Ranorex.Core.Repository.RepoItemInfo.<>c__DisplayClass75_0`1.<Find>b__0()at Ranorex.Core.Testing.Services.NoMaintenanceModeService.HandleElementNotFound[T](Func`1 action, RepoItemInfo entry)at Ranorex.Core.Repository.RepoItemInfo.Find[T](Boolean findSingle, Boolean throwException, Duration effectiveTimeoutOverride)at Ranorex.Core.Repository.RepoItemInfo.CreateAdapter[T](Boolean throwException, Duration waitTimeout)at Ranorex.Core.Repository.RepoItemInfo.CreateAdapter[T](Boolean throwException)at CM.CMRepositoryFolders.LoginFolder.get_Login_UserName() in C:\Users\lpadmasekaran\Documents\Backup\Ranorex\RanorexStudio Projects\CM_Rewrite_Sprint5 _P4v_UDAP\CM\CMRepository.cs:line 1820at CM.Common_Modules.Login.Ranorex.Core.Testing.ITestModule.Run() in C:\Users\lpadmasekaran\Documents\Backup\Ranorex\RanorexStudio Projects\CM_Rewrite_Sprint5 _P4v_UDAP\CM\Common Modules\Login.cs:line 132at Ranorex.Core.Testing.TestModuleLeaf.RunInternal(DataContext parentDataContext, Int32 iteration, Int32 iterationCount, Boolean skipIteration)
PFA log with screenshot also
I was using Ranorex 9.2.1 when i try to upgrade to 9.3 i got error on installation. So i uninstalled and reinstalled the previous 9.2.1. version .
However now my Scripts is not identifying any objects and use code methods are not being called.
Note: This was working fine before the reinstallation.
Im getting below Error when i run my test suite .
Failed to find item 'CMRepository.BICampaignManagement.Login.Login_UserName'.
No element found for path '/dom[@browsername='Chrome']//*[@innertext='User Name*']' at step 'dom[@browsername='Chrome']' after 40 attempts within 1.1m (timeout factor = 1.1).
Show/Hide Stacktrace
at Ranorex.Core.Repository.RepoItemInfo.FindInternal[T](Boolean findSingle, Boolean throwException, Duration effectiveTimeoutOverride)at Ranorex.Core.Repository.RepoItemInfo.<>c__DisplayClass75_0`1.<Find>b__0()at Ranorex.Core.Testing.Services.NoMaintenanceModeService.HandleElementNotFound[T](Func`1 action, RepoItemInfo entry)at Ranorex.Core.Repository.RepoItemInfo.Find[T](Boolean findSingle, Boolean throwException, Duration effectiveTimeoutOverride)at Ranorex.Core.Repository.RepoItemInfo.CreateAdapter[T](Boolean throwException, Duration waitTimeout)at Ranorex.Core.Repository.RepoItemInfo.CreateAdapter[T](Boolean throwException)at CM.CMRepositoryFolders.LoginFolder.get_Login_UserName() in C:\Users\lpadmasekaran\Documents\Backup\Ranorex\RanorexStudio Projects\CM_Rewrite_Sprint5 _P4v_UDAP\CM\CMRepository.cs:line 1820at CM.Common_Modules.Login.Ranorex.Core.Testing.ITestModule.Run() in C:\Users\lpadmasekaran\Documents\Backup\Ranorex\RanorexStudio Projects\CM_Rewrite_Sprint5 _P4v_UDAP\CM\Common Modules\Login.cs:line 132at Ranorex.Core.Testing.TestModuleLeaf.RunInternal(DataContext parentDataContext, Int32 iteration, Int32 iterationCount, Boolean skipIteration)
PFA log with screenshot also