4 weeks ago
Hi all,
We have processes that work on SAP and have HTML elements within the SAP GUI itself. With Internet Explorer being deprecated we had to switch to Edge-based Browser Control.
By changing to Edge the Control the spying is no longer available and Browser mode is not recognized at all.
Has this situation ever happened to you? Have you found a solution other than to use the UIA elements?
Simone
4 weeks ago
Just to clarify — this appears to be a locally installed version of SAP, correct? As far as I understand, BP uses SAP automation mode for this rather than browser-based automation. Please let me know if I’ve missed anything. In general, SAP Spy automation tends to be stable since SAP UI elements are usually quite consistent for automation purposes.
Also, are the scripting settings enabled in SAP for the BP to spy elements? If not, BP won't be able to spy on elements
4 weeks ago
Yes, we are talking about SAP GUI so installed locally on the machine.
In the specific case there are sap transactions that load within them a web page and as long as the Browser Control was set to Internet Explorer the HTML Mode elements were visible but by switching to Edge the elements are no longer spyable (so we are not talking about SAP Web like NetWeaver but SAP GUI).
The Scripting part is all enabled, in fact all the SAP elements, spied with SAP Mode, are visible and we can interact with them but when it comes to a web page within SAP then Browser Mode is not activated.
I also opened a ticket to support and talked to the SAP expert from Blue Prism on a dedicated call but they could not help me. I was wondering if you had also experienced a similar situation and if you had solved it without using UIA (a solution we adopted but in my opinion less stable than using HTML attributes).
3 weeks ago
Hi Simon
When your SAP spy mode is not available, such as when using a Web browser, the most effective way is to use the SAP shortcuts for your process.
FYI,
https://help.sap.com/docs/SAP_NETWEAVER_AS_ABAP_752/9737050ef01843f19572591b42128f1b/ad34a5dfcd2449eaad97b669e9c869d6.html
Hope this helps.
3 weeks ago
Oh ok understood so a browser window opens up inside SAP. Where IE spying was working and not Edge. Yeah looks like a Support ticket only would be the right option now.
a week ago
Definitely a support ticket - IE elements embedded into applications is something I saw multiple times over my BP career as is usually the way i expect legacy apps to not change when they should remove legacy elements (keeping old out of date stuff being a big reason process automation exists.
The IE interface should be retained for just such examples but probably with a caveat that it is no longer going to be changed if issues are found.