I am quite new to UiPath. I am trying do automate the process of addition on window application Calculator. I am using community edition of UiPath Studio. I request seasoned community members to guide me in.
What I am able to do:- drag & drop click activity to main window and able to automate 5+3=8 to already opened calculator app.
What I am looking for:-
(1) How to launch calculator app.
(2) How to right click and select copy option from context menu using Activity.
Please note that I am not using recording mode for automating this process.
Today âType intoâ activity is not typing value âcalculatorâ into search bar and therefore not able to launch calculator app.
Surprisingly it worked fine yesterday but failed today.
I think is better if you use the Open Application activity to open the calculator. You can use the indicate window on screen and select a previously opened instance of the calculator app. I think this is a more reliable option than opening the menu and typing.
Let me know if it works!
thank you for promp response. But I am not sure about what is: -
(1) type executable path here. Text must be quotedâŚ
(2) type app arguments. Text must be quotedâŚ
it would be great if could help me here. I am just 2-3 days old in UiPath
Just right click on the calculator app and open itâs location! Copy that address in the executable path, then perform the operations you are performing
Regards
Niket Ghai
Thanks Niket_Ghai and Manresa, for taking time out from your schedule and helping me.
Niket, I have a queries: -
We copied text from calculator using âget textâ activity and pasting it with âType intoâ on to a notepad. What are options do we have for âText must be quotedâ value in âType intoâ activity. I tried with âres.ToStringâ but it is throwing error 'Compiler error encountered processing expression âres.ToStringâ. âSystem.Res.dataâ is not accessible in this context because it is âfriendâ.
Thanks Niket_Ghai and Manresa, for taking time out from your schedule and helping me.
Niket, I have a queries: -
We copied text from calculator using âget textâ activity and pasting it with âType intoâ on to a notepad. What are options do we have for âText must be quotedâ value in âType intoâ activity. Any reference for detail would be helpful
I tried with âres.ToStringâ but it is throwing error 'Compiler error encountered processing expression âres.ToStringâ. âSystem.Res.dataâ is not accessible in this context because it is âfriendâ.
Change the scope of the get text from do to the whole flowchart/sequence.
I guess the variable âresâ is not accessible. If this doesnât solves your problem please attach your workflow
Regards
Niket Ghai
Thanks Niket for your help.
Now above mentioned error got resolved but when I run the workflow, it is not pasting copied value from calculator to notepad. Please see Xaml file and exception thrown.
So you have to save that string in a variable which is res in this case and then that variable is used inside type into.
In your workflow you have not given any value to res, you have just declared it, so practically you are trying to put a string in notepad which has no value!