cancel
Showing results for 
Search instead for 
Did you mean: 

How to select individual element on win10 Calculator

RahilMaredia
Level 2
In object studio, I open application modular, to launch calculator, i successfully launch the  calculator and after I want to identify  induvial  element but instead of induvial element it highlight calculator but not individual element.  it showing me the error 

System.InvalidOperationException: The window spied was not found in the model
at BluePrism.AMI.clsAMI.Spy(clsElementTypeInfo& elementType, List`1& identifiers)
at AutomateUI.frmIntegrationAssistant.HandleSpyOrLaunchClick(Object sender, EventArgs e)

Can anyone help me out 

Thanks

------------------------------
Rahil Maredia
------------------------------
1 REPLY 1

Hi @RahilMaredia,

Can you check once if you are using the below application modeler configuration at your end:

23825.png
You can try changing the 'Application Manager' mode if it does not works but the executable path must follow <Microsoft.WindowsCalculator>. The reason being is that with Windows 10 style applications, you need to give a different executable path such as Alarms, Calculators etc. To get a list of such path names you can use a powershell command:

Get -AppXPackage -AllUsers | Select Name​


Once you have configured the application, use UIA mode to spy elements as I saw it to work best as shown below:

23826.png

Now if you use any action on it, it should work:

23827.png

The following Knowledge Base article defines the steps pretty good as well: How do I launch and interact with Windows 10 style applications?

------------------------------
----------------------------------
Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future

Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,
WonderBotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------
------------------------------
---------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.