SAP Table is recognized but fails to detect in run time

Ask general questions here.
rastek
Posts: 182
Joined: Wed Aug 06, 2014 12:00 pm

SAP Table is recognized but fails to detect in run time

Post by rastek » Tue Feb 16, 2021 1:04 pm

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.
Attachments
GuiShell_Screenshot.png
GuiShell_Screenshot.png (41.25 KiB) Viewed 44 times
table.rxsnp
(122.82 KiB) Downloaded 2 times