Skip to main content

HELLO WORLD


As of now, you've learned some basics of RPA & UI Studio. Now, It's a time to create your first program (Obviously "HELLO WORLD") in UI Studio as below.

Creating a New Sample Project:

Here I’m displaying HELLO WORLD along with User Input with Flow Chart workflow
1)       Open UI Path studio




2)       On the Start tab, under the New section, click Blank. The New Project window is displayed.




3)       Enter NAME for the Project (say HELLOWORLD) & Select Project Location and Click on CREATE button. New Project (Main.xaml) is created in Chosen Location.


4)       Add/Drag and Drop any workflow/activity (like Flowchart) from Activities Panel
5)       Add Input Dialog activity
6)       Connect Input Dialog activity to Start node by selecting ‘Set as Start Node’   in Right Click menu of the Input activity




7)    On the Design tab, select Create Variable > Text to create a string variable which is used to store user’s name (name)
8)    On the Properties panel, under the Input section, add a Label for the activity, such as "Type your name," and a Title, such as "Hello, world!."
9)   Under the Output section, in the Result field, add the variable created at step 6




10)     Add a Message Box activity to the Designer panel and connect it to the existing Input Dialog activity.
11)    Make sure that the Message Box activity is selected. The Properties panel is updated accordingly.
12)    Under the Input section, add a Caption such as "Hello," and in the Text field add a string and the previously created variable, such as “Hello” + name.




13)     The Project  should be looks like below




14)     Run/Execute (F5) the project from Designer tab. “Hello World” pop-up asks the User for input




15)       Enter User input, then OK. Result will be displayed as 







From above steps, you've successfully created your first program in UI Studio.

Note:
From above Sample HELLO WORLD program, we can conclude that
·         There is NO VALIDATION for user input.
·         If user gives blank, the Pop-up will accept it


It's like a flaw in the Project, To avoid such flaws, we need to implement Flow Decision / Conditions. So that UI Studio validates user input before processing.





Don’t forget to give your valuable feedback in Comments

Comments

Post a Comment

We appreciate your valuable Suggestions/Feedback

Popular posts from this blog

Variables, Data Types and Math Operations

  In order to do anything interesting in a program, we must have the ability to store and manipulate values. What allows us to do that are what we call variables. Now a variable, simply put, is just named data storage. Now Java is a strongly ‑ typed language. Now what that means is that when we declare a variable like, in this case, we have a variable named data Value, we have to specify the type of that variable, in this case, it's what we call an int, something that can store integers. So, what that means is that the data Value variable can only store things that are compatible with the type int. As we go through the course, we'll talk about this idea of one type being compatible with another. Now when we declare a variable, we can, of course, then assign a value to it, so our variable data Value now holds the value 100. Now when we use variables, we can do it the way we've done here where we declare it, then assign it, or as a matter of convenience, we can declare them a...

JRE vs. JDK

  The JRE and the JDK are two terms you hear people mention very frequently in the Java world, and what they are the two parts that we need in order to run and create Java applications. The JRE is the Java Runtime Environment. JDK is the Java Development Kit. And so, the JRE is what you require in order to run Java applications, and end users normally install the JRE. They're the ones who are going to run our apps. The JDK provides the tools that we need to create Java apps. So, normally, developers are the ones who install the JDK on their machines. And in order to develop apps, you need to run them, so the JDK installation includes a JRE. So how does all this work together? If we sit down, and we type up a Java source file with our program code inside of it, and we want to go ahead and run that in some host environment, how do we do it? A host environment might be Windows, Linux. It could be Mac. It could even be a browser. It might be a phone running Android. How do we get from ...

ClaimCenter

Claim Center is a web-based enterprise software application designed to manage the process of reporting, verifying, and making payments on claims against a policy. It manages the claims process from first notice of loss through execution of financial transactions, including the payment and setting of reserves. CC Functionality involves Group-based ownership of claims and claim sub objects Claim Financials Address book integration Workspace to manage claims process Distributed collaboration Activity coordination Worker and claim management