Blue prism - Not able to Spy SAP Screen element - blueprism

Trying to spy SAP system through BluePrism for SAP Automation.
When I click Identify button from BluePrism application modeller and move my mouse over to the T-Code textbox , then the text Box is highlighted using a red color box which says the TCode element is recognize by BluePrism tool in SAP test system. however the same is NOT identified for SAP Production system.
We checked both SAP system has same settings maintained to enable SAP GUI Scripting.
Appreciate help!

I don't know if it solves your specific problem, nevertheless:
Pressing alt multiple times will change the spy method, and you'll be able to find what you're looking for (even a method specifically for SAP).

please check if the SAP Id of the item is the same in both systems. You can do it for example by identifying item in both systems. Please return with the answer what's the difference in ID between the systems.

If you are starting out with SAP Automation in your organisation, you will probably not have GUI scripting enabled in the Production system, but it may be in the DEV system.
If you can access SAP then run RZ11 and enter sapgui/user_scripting then it will show a list of values, and the current value should be true. Compare DEV and PRD. You will probably need the SAP Basis admin to change this.
Read this blog for more details
Andy

For the best SAP automation performance with Blue Prism you need to enable both Client and Server scripting
i. Enabling Client-Side Scripting
Start the SAP Logon and log in to the SAP server.
Click the 'Customize Local Layout' toolbar button (ALT+F12).
Click Options and in the GUI Options screen select the 'Accessibility and Scripting' node
In the ‘Accessibility’ node ensure that the ‘Use Accessibility mode’ option is enabled.
In the 'Scripting' node ensure that the ‘Enable scripting’ option is the only option set. Notifications must be switched off to prevent popups from blocking the spy mode.
NOTE: If the options 'Notify when a script attaches to SAP GUI' check box and the 'Notify when a script opens a connection' are left checked then when you spy an element in the SAP interface you will see the message “A script is trying to attach to the GUI” every time you attempt to click on it. If you see the message “Scripting support is disabled by the user” then the ‘Enable scripting’ option has not been checked.
Save the settings and restart the SAP GUI. The clientside settings have now been set.
ii. Enabling Server-Side Scripting
Start the SAP Logon and log in to the SAP server.
Run the ‘RZ11’ transaction (type ‘RZ11 ‘and click the green tick button)
Type ‘sapgui/user_scripting’ in the Maintain Profile Parameters window.
Click the ‘Display’ button
Click ‘Change Value’ in the Display Profile Parameter Attributes window.
Type ‘TRUE’ in the ‘New value’ field.
Save the settings and log out from SAP Logon.
Exit from the SAP Logon program (click the red cross button in the toolbar, or click the ‘X’ window button to close the window and the application). You may be prompted to save any unsaved changes, if you haven’t done so already.

Related

Excel web add-in: How to detect ribbon click events?

I am working with the Excel JavaScript API and I am trying to trigger an event when the user clicks on any ribbon button or tab, and get which button or tab was clicked, but I couldn't find a way to do it.
Can anyone help me?
This isn't a supported scenario in Office.js. Your add-in is running in a sandboxed environment (either within an IFRAME or an embedded browser, depending on the platform). Even in cases where the ribbon buttons are part of your add-in, the communication is one-way (clicking the button will trigger loading a page or firing a function from your add-in).

Popup window inside a task pane add-in

I have a task pane add-in in Office.
I have an item in the task pane, and a delete button. Now, when users click on the delete button, I want to pop up a small window to ask if users are sure about the deletion. If yes, we continue; if no, we go back to the current page.
It is like the Window confirm() method for a web page.
Does anyone know how to pop up this small window in the task pane add-in?
Additionally, if I want users to choose an option in this popup window (eg, choosing a colour between blue or red) before continuing (let's forget yes or no), how could we realise this? More generally, is it possible to create a custom confirm box?
As you design and build web apps for Office 365 or add-ins for Office and SharePoint, you can take advantage of the Office UI toolkit to make your experience look and feel like Office. The Office UI toolkit has key plug and play components that will make it easy to create web experiences that connect to and integrate with Office.
One of the controls offered by Office Fabric JS package is Dialog which has a lot of customization. I believe you'll find one suitable for your task.
Yet another option is to use any UI package which has variety of UI controls, for example jQuery mobile. And finally you may just write your own control.

external content type but connect to outlook is disabled

We are unabel to enable the "Connect to outlook" ribbon button for our external list.
The external list is based on a external content type which uses a simple Web service.
The browser based UI works just great as expected but we are unable to get the "Connect to Outlook" ribbon button to becoem enabled.
We have installed all the necessary client side installs, and the connect to outlook button works fine for regualr lists.
We have mapped it to a outlook type "Contact" within SharePoint designer and mapped the single requried field of "LastName".
Unfortunately it still will not enable, has anyone had this problem or no a fix please?
If you are using a newer version of IE, it most likely won't display. Go to the browsers "gear" in the top right hand corner, click and select "Compatibility View Settings" - click add and then close and refresh, that should do the trick.

Database name in SQLLogin Dialog not getting updated in installshield basic MSI installer

I am creating a basic MSI project. In the SQLLogin dialog, if I remove the database catalog name from the text box and then browse for an existing database, the value does not appear in the text box on clicking OK but if I click back and next then the value appears in the field (meaning it is getting updated but not showing I guess). It works fine otherwise if I do not update it after removing/editing the text box. Is this an open issue? Or am I missing some setting?
In a Basic MSI project, the internal Windows Installer user interface support will generally not refresh controls backed by a property until the dialog is closed and reopened. Edit controls will also not refresh if any value was entered by a user into the control. These are limitations of the MSI user interface functionality.

Why is QTP's Recovery Scenario not triggering when I have a pop-up dialog that I need to dismiss?

I have a QTP script that interacts with a webpage. Occasionally, this webpage will pop-up dialogs that interfere with the rest of the test, and need to dismissed with a simple "OK" before I can continue running the test.
Recovery Scenarios are supposed to take care of this exact situation, but try as I might, QTP will never recognize the pop-up. The recovery scenario is set to trigger upon seeing a dialog with "Window title: Message from webpage". I used the object spy so I know that this is the correct identification.
Attached is the dialog box that the webpage occasionally displays. Very simple dialog, so why won't QTP recognize it?
Turns out, my Recovery Scenario was built correctly, but the problem I had was that QTP didn't know when to activate the Recovery Scenarios.
Go to File > Settings > Recovery, highlight the recovery scenario you want to have activate, then change Activate recovery scenarios to On every step.
By default, the recovery scenarios are only activated when QTP throws an error, not when your web page throws an error.
Lastly, having the recovery scenario check every step will probably degrade performance.
You should inspect when this window appears like a page refresh, opening a new window or clicking on a button, or operating on a page for 2 long.
Then since this is a standard window you get, why don't you add in Object repository.
Then create a function which checks for this window's existence
call this function when any of the suspected scenarios happen.
this will not degrade the performance badly comapred to recovery scenario.

Resources