Application launch in blue prism - blueprism

I am trying to launch an windows application. I have given executable path. Whenever I click on launch, it’s not changing to Identify. It’s coming back to Launch. So what could be the issue?

When the application is successfully launched, but the button does not change from "Launch" to "Detach", it's usually an issue with how you've targeted your window's title.
Usually, appending wildcards to the ends of the window's title will assist in matching correctly. Additionally, ensure that the "Windows process name" field is completed correctly.

This is common for windows applications that are trigger points like RDP, MMC. You would have to have an attach after the launch to gain the connection for identify to become enabled.

Related

I want to make sure that windows that are not directly selected in Windows 10 are never TOP of ALL

I wonder if you have a Windows 10 setup or software.
While viewing a browser or another window, the window is forced to switch if one program installation is complete, or if one game is completely loaded.
Is there a way to set the window so that it never changes forcibly unless I choose it?
I can't find any solution.

Working with Mainframe application in Blue Prism.

I've been working whit Blue Prism on a project that was using at one point IBM mainframe application(ICBS). I've mange to get it working, but only problem that I had was Login in to therminal.
My robot lunched application as mainframe app, but after that therminal is asking me to login in, but its doing that in standard Win window - whit option to enter login and password.
Problem is that Blue Prism is not able to spy on thoes elements because it's launched as mainframe.
If I launch this app as standard win application, then there is no problem in login in, but after that working whit mainframe screen is imposible because I can't spy on specyfic elements of the green screens.
I was trying to launched as mainframe, then using another object(Win app) to logon and then go back to mainframe but I cant to Attach Win app Object to allready launched mainframe object. I get "could not be found" error when I'm tring to Attach.
Any idea how to get it working?
Cheers,
RAFEL
Well, there's no other way than having two different objects.
The first one should be the "Mainframe Application" object that is launching from executable file.
The second one should be the "Windows Applications" object that is attaching to appearing window.
I am guessing that you're having a problem with attaching the second object to the window.
The Blue Prism when trying to attach to the object is checking two things:
The name of the process - you can find that information using task manager.
The window title of the target Application - that's the title that is visible at the top of the window.
There is possibility to use *,# and others as wildcard characters.
You'll have to try there around there to get that working.
Below you can find a print screen of one of mine objects that attaches to windows photo viewer.

nternal : Failed to perform step 1 in Navigate Stage 'XXXX' on page 'XXXX' - Not Connected

I am getting "Not Connected" issue while executing a blue prism object. Currently, I'm working for browser application and I have given browser URL and window title in application modeler.
If I launch the application by navigation stage it's working fine but I'm expecting like already running browser we need to attach and has to do some automation operations on it.
We tried with navigation stage with actions attach/Active application, getting issue "Not connected".
Can anyone help on this issue?
Blue Prism best practice is to call “Attach” page at the beginning of each action to make sure that BP is connected to the application. This page should look like this:
Start
Read stage – to check connection status (it will return Flag with connection status)
Decision stage – connection flag
If connected – go to End
If not connected – Navigation stage – Attach
You also need to provide proper input parameters for Attach action, for Browser automation (Internet Explorer) you need to provide at least process name: “iexplore” & child index: 0 (it depends on your TabProcGrowth registry settings).
Blue Prism also recommends to start browser apps using Utility – Environment VBO & Start Process action. There are 2 inputs: Application – Path to internet explorer exe file & Arguments – webpage address.
If you want to learn more about Browser Automations in Blue Prism I recommend you to familiarize with Blue Prism Guides available on Blue Prism Portal - https://portal.blueprism.com/.
Do you have Attach bookmark created? When you are working with object you are creating bookmarks resposible for different things in your obcject(login, start etc) you need to create Attach bookmark.
I never had any problems with attaching to app, except mainframe app.
Copy your Navigate step from Launch bookmark, then create new one(call it attach) and paste that Navigate step. Then Edit it, Chane from launch to attach and in Properties you need to fill "Window Title" and "Process Title". Window title, you have it at the top window bar. Process title, youll find it in Windows Task Menager - Processes.
Hope it helps!
Well, I am not sure exactly sure if this is your problem but let me try as my issue is close to your issue.
I had encountered this: There is no current stage
So what I did was to trigger the reset button in the upper left corner of the Process Studio. Screenshot below.
Then it works like a charm!
This is because the launched instance of the application is different from the one BP is searching for. To solve this issue close the current instance of the app and Launch it from the Application Modeller.

Windows Server 2012 force font smoothing (anti-aliasing) over RDP

I am using Guacamole 0.9.7 which uses RDP through a middle server to then project the RDP to a web browser. Works great, but I have users who want font smoothing. Guacamole doesn't yet support font-smoothing over RDP. There are some manual fixes, but they look daunting and no guarantee it will work.
What I am wondering is if there is a way to simply force font smoothing on the Windows 2012 server. I can set font smoothing manually after connecting, but it goes away the next time a user connects. I also would prefer to use RemoteApps as opposed to giving them access to the full desktop, so they wouldn't even have the option to set it manually every time.
I've dug around endlessly in the registry, group policy and searched the web, but I can find nothing that will force font smoothing to stick. Any ideas/suggestions?
A batch file that enables font smoothing that I could put in the startup folder would also be fine. If anyone knows the command lines for that, it would be much appreciated.
As of Guacamole 0.9.8, you can enable font smoothing using the enable-font-smoothing parameter: http://guac-dev.org/doc/gug/configuring-guacamole.html#rdp-perf-flags
From the documentation linked above:
If set to "true", text will be rendered with smooth edges. Text over RDP is rendered with rough edges by default, as this reduces the number of colors used by text, and thus reduces the bandwidth required for the connection.
The corresponding issue in JIRA was GUAC-835 ("Support RDP performance flags").
Enable/disable ClearType in Windows7
Found that buried in the internets. It worked for me on a Windows 10 test machine through guacamole. Make it a logon script or something. powershell "& 'C:\myscript.ps1' 1" Found that command in the comments, should let you make it into a batch file if needed. If you've figured out how to get clipboard sharing and sound and other integrated stuff, please share.
I figured out how to enable font smoothing in Windows Remote Desktop Protocol (RDP) for Windows Server 2012 when a user logs in and/or when they reconnect to a remote session.
Download and install a program called ClearTypeSwitch.
Control Panel -> Administrative Tools -> Task Scheduler
Select "Create Task..."
General tab, name it and check "Run with highest privileges" and "Hidden"
Create two triggers "On connection to user session" and "At log on"
Actions "C:\Program Files (x86)\ClearType Switch\ClearTypeSwitch.exe" s+ c+"
Click "Ok"

Errors attempting to add a web reference

I have a link http://xxx.yyy.net/zzz/OpacAccess?wsdl that opens in IE and shows the methods of web service correctly.
However, I have a console application where I'm trying to add a web reference but I'm not able to get it working. I right-click the project and click "Add service reference..." From here, I click "Advanced..." and from there I click "Add Web Reference...". When I enter the URL here, it shows me the methods correctly, but I'm unable to add the reference (the button is greyed-out) and the following error is shown:
There was an error downloading 'http://xxx.yyy.net/zzz/OpacAccess?wsdl'. Unable to connect to the remote server. No connection could be made because the target machine actively refused it 127.0.0.1:80.
If I use the visual studio command-line with the following command,
wsdl http://xxx.yyy.net/zzz/OpacAccess?wsdl
, I get "There was an error processing http://xxx.yyy.net/zzz/OpacAccess?wsdl", followed by the above errors.
Thanks very much in advance for any assistance you could provide.
In general, when you can access something through the browser, but not through another program you believe should work like the browser, then the problem is that the other program is not, in fact, behaving like the browser does.
The most common reason for this is proxy settings. The browser will usually have them set (perhaps automatically through Group Policy or the equivalent), and your other program will not.

Resources