Page 1 of 1

SAP Table is recognized but fails to detect in run time

Posted: Tue Feb 16, 2021 1:04 pm
by rastek
Hello,

I automate a SAP application, I finaly found way to enable scripting (by unchecking manifest exe) but this time I had another issue which I faced before few times.
gettting this error
Element for item 'GuiShell' does not exist (Failed to find item 'DemoRepository.QS11100SDOrderMonitorMainItemL.GuiShell'. Please check that your whitelist allows Ranorex to access the process. No element found for path '/form[@title>'QS1']/container[@caption='']//table[1]' at step 'container[@caption='']' after 111 attempts within 20s.). [/language]

I can recognize objects tables but Ranorex can not find in runtime... I do not understand how can I got some kind of basic problem ??

there is no explanation for this, I tried many things but no help. I hope there is a meaningful answer.
table is recognized but can not be found when I started the test
container[@caption='']//table[@type='GuiShell']

when I spy I noticed there is form with transaction name and I tried with transaction name but again no help
Failed to find item 'DemoRepository.try.GuiShell.Row0'. Please check that your whitelist allows Ranorex to access the process.
No element found for path '/form[@transaction='Z_SD_ORDER_MONITOR']//table[@type='GuiShell']/row[@index='0']' at step 'form[@transaction='Z_SD_ORDER_MONITOR']' after 149 attempts within 20s.

I tried to have folder with processname but didnt wotk
/form[@processname='saplogon']

also have tried with table with index number
container[@caption='']//table[1]

also tried to click on rows or cells, didnt help.

Re: SAP Table is recognized but fails to detect in run time

Posted: Fri Apr 16, 2021 7:10 am
by odklizec
Hi,

Have you resolved this issue? My guess is, that there are different settings in Ranorex Studio and Spy, eventually, that one of them is started in Administrator mode and the other don't? Please try to update Ranorex with most recent 9.5. Then make sure both Spy and Studio use the same settings (export settings from Standalone Spy and load them in Studio).

If the problem still appears, please create a Ranorex snapshot or the topmost form (not just the table in question), both in standalone Spy and during runtime, using Create Snapshot action, added directly to recording (just before the failing action). And post them both here. Thanks.