Blue Prism - Application Modeller


Advertisements

Application modeller is used for spying the applications. Spying is identifying the elements in the Applications.

Application Modeller

Application modeller window is as follows −

Application Modeller Window

Spying Modes

We have 4 different types of spying modes as shown below −

  • Win32 Mode

  • HTML Mode

  • Accessibility Mode

  • Region Mode

Follow the below steps to select any of the spying modes or to switch between different modes −

  • Use Ctrl and Left-Click to select the highlighted item in spying modes.

  • Use Ctrl and Right-Click to Cancel.

  • Press the Alt Key to switch spy modes.

Spying Modes

Working with Web Applications

We shall now discuss how to work with web applications −

Facebook login and logout

First, let us create a business object and enter a name for it.

Working with Web Applications

We need to configure the Application Modeller.

Configure Application Modeller

Application Modeller Wizard1

Application Modeller Wizard2

Application Modeller Wizard3

Application Modeller Wizard4

Application Modeller Wizard5

Now we are going to spy the login button, username and password fields.

Facebook Login Page

Facebook Login Page1

Facebook Login Page2

Facebook Login Page3

Facebook Login Page4

Facebook Login Page5

Now, we shall start the implementation part.

Create data items for email and passwords.

Create Data Items

Create Data Items1
  • Use 'write stage' to type email id and password into Facebook site.

  • Click on Login button using Navigate Stage.

  • We are not getting the Click Actions in Navigate Stage.

  • So, go to Application Modeller and change the Login Element type to button.

  • Here, we are using the wait stage to load the site before launching the website.

  • Now login to Facebook site.

  • To logout from account, we need to prepare the element in Application Modeller.

  • Spy the required elements, first check what are the elements required for logout.

  • Then, we need to spy the arrow and sign-out option.

  • Use Navigate stage to click on arrow and click on logout.

  • After login button the site will take some time to load Account information. It depends on our network mean internet speed.

  • After login use conditional wait to hold the bold until the logout arrow will exists.

Use Write Stage

Working with Windows Applications and Multiple Windows

We shall learn how to automate the training order system with the step-wise procedure given below. The screenshots given in the subsequent sections help you understand the process clearly.

Step 1 − Create the business object.

Working with Windows Applications

Step 2 − Configure the Application modeller.

Open Application modeller

Application modeller1

Application modeller2

Application modeller3

Application modeller4

Application modeller5

Application modeller6

Step 3 − Spying the Sign in window.

Use Ctrl+Left to highlight the element, and ordinal element is used to Unique Identification.

Spying the SignIn Window

Spying the SignIn Window1

Step 4 − Spying the staff number.

Spying Staff Number

Spying Staff Number1

Step 5 − Spying the password.

Spying Password

Spying Password1

Step 6 − Spying the sign in button.

Spying Signin Button

Spying Signin Button1

Now we start the implementation part.

Step 7 − Using the Navigation stage to launch the application.

Navigation Stage Launch Application

Step 8 − Using write stage to configure the staff number.

Configure Staff Number

Step 9 − Using another write stage to configure the Password.

Configure Password

Step 10 − Using Navigate stage to Sign IN.

Navigate Stage to SignIn

Navigate Stage to SignIn2

Step 11 − Link the process.

Link Process
Advertisements