Hello,
I testing an APEX Application. Ranorex recognize the Masks by Recordind and in Ranorex Spy.
The Problem is : Whe I Run the Test Ranorex is failed to find item.
Erro Message:
Failed to find item 'MyTest6Repository.Bearbeitung.FpEq131101210113841018850140NORP12.P1210DIENDPNR'.
No element found for path '/dom[@domain='lxords1-test.kba.de']//div[#'apex_dialog_3']/iframe[@src='f?p=13110:1210:113841018850140::NO:RP,1210::&cs=3esV6F4MQWZFnuJYL33IENwSzmtPNas1Hm8RQAwnF-SR8SA8ELwg8awCqDxu6jk_Z3DbyFhMOZCxZy7uEIlMp_w&p_dialog_cs=0vovk08-o1EJH8nmDYnQOM8B47KWlqu574T5-fWg2tLKxlY1h_fCWeriR_M36-CVYIGZIJEzU8tT1Etee0_Bug']//input[#'P1210_DIENDPNR']' within 1.5m.
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 MyTest6.MyTest6RepositoryFolders.FpEq131101210113841018850140NORP12Folder.get_P1210DIENDPNR() in c:\Users\rabidi\Documents\Ranorex\RanorexStudio Projects\MyTest6\MyTest6\MyTest6Repository.cs:line 260 at MyTest6.Recording1.Ranorex.Core.Testing.ITestModule.Run() in c:\Users\rabidi\Documents\Ranorex\RanorexStudio Projects\MyTest6\MyTest6\Recording1.cs:line 87 at Ranorex.Core.Testing.TestModuleLeaf.RunInternal(DataContext parentDataContext, Int32 iteration, Int32 iterationCount, Boolean skipIteration)
Do you have a solution for that issue?
Greetings
Ramzi
failed to find item
Re: failed to find item
Hi,
At first, there is almost nothing anyone here can do or suggest, without seeing, at very least, Ranorex snapshot (NOT screenshot) of the problematic element. So please, upload a Ranorex snapshot of the element.
At next, the searched xpath looks very fragile and easy to break...
You should use something like this:
or this:
At first, there is almost nothing anyone here can do or suggest, without seeing, at very least, Ranorex snapshot (NOT screenshot) of the problematic element. So please, upload a Ranorex snapshot of the element.
At next, the searched xpath looks very fragile and easy to break...
Code: Select all
/dom[@domain='lxords1-test.kba.de']//div[#'apex_dialog_3']/iframe[@src='f?p=13110:1210:113841018850140::NO:RP,1210::&cs=3esV6F4MQWZFnuJYL33IENwSzmtPNas1Hm8RQAwnF-SR8SA8ELwg8awCqDxu6jk_Z3DbyFhMOZCxZy7uEIlMp_w&p_dialog_cs=0vovk08-o1EJH8nmDYnQOM8B47KWlqu574T5-fWg2tLKxlY1h_fCWeriR_M36-CVYIGZIJEzU8tT1Etee0_Bug']//input[#'P1210_DIENDPNR']'
Code: Select all
/dom[@domain='lxords1-test.kba.de']//div[#'apex_dialog_3']/iframe[@src~'_Bug']//input[#'P1210_DIENDPNR']
Code: Select all
/dom[@domain='lxords1-test.kba.de']//div[#'apex_dialog_3']/iframe//input[#'P1210_DIENDPNR']
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: failed to find item
Thanks for your advise. I resolved the Problem.