Application Modeller is used to identify the elements based on the defined properties by the developer of the application.
Application Modeller will identify the elements of the application on which blue prism perform the operations.
Blue Prism supports 4 type of elements identifying modes:
1. HTML Mode
2.Win32 Mode
3.Region Mode
4.Accessibility Mode
Select the Business object that you have created. I have created "TestIObj" business object. Application Modeller option will be visible on only Business Object window.
When you select the business object then by default object contain three tabs:
1. Initialise
2.Clean Up
3.Action 1

We need to configure the Application Modeller.Select the Action1 from the TestObj window and Click on the Application Modeller option
1. Define the Application Model (Any Meaningful name) and click on the Next button

Select the application type which you are going to automate. I have selected 4 option because my application is web and i want to automate it on IE.After selecting it click on Next Button

Select the option 1st if you are going to work on already open application .Select the 2nd option if you want to launch it as a new application.After selecting it please click on Next button

Enter the path of Internet explorer exe file and click on Next button

Enter the URL of application that you want to automate and the click on Next button

Click on Next button

Again click on next button

Click on Next button

Click on Next without selecting any value. It should contain default value as Embedded (default)

Click on Finish button. Now Application Modeller is created.
Now add all the elements on which you want to perform the operation. For Google i will add only two elements and those are:
1. Search Edit box
2. Google Search button
Click on Launch Button. After clicking on it Google page will launch.

Application Launched successfully and now we can identify the elements with the use of Identify button on Application Modeller window

Click on Identify then by default it will in HTML Mode. To change the mode Press the Alt Key to switch spy modes
Select the element in the application and press Ctrl and Left-Click to get the properties of the element.
I have identified the properties of the Search edit field:

Keep only those properties which are unique for it and it will not change in future.(Usually try to un-select Parent URL Property and Path also) and Provide the meaningful name to this element
Add another element for button and do the same process as above to get the properties for the Search button and then click on OK button.

Please dont forget to save your business object.
Now Open the Action 1 and Drag the Navigate stage to launch the URL while running this business object.

Open the Properties page of Navigate stage while right click on it. Provide the meanng ful name to Navigate stage. Drag the TestObj application Modeller under Element column on Actions tab and select the Laun operation from the dropdown list of Action column. Then click on OK Button
Now from above step application will launch then we will have to enter the keyword on search edit field. For entering the value in any edit field we will have to select write stage.

Open the properties of Write stage and provide the meaning ful name of this stage. Drag the element to Element column on Actions tab which you have added through application modeller. Here it is "edtSearch" and mention the value under"Value' column which you want to enter in search
field. Then click on OK button

Now we have to click on Google Search button . Click opertaion we can perform with the use of Navigate stage. So select the Navigate stage and do the same process as above. Only the difference is here we have to select "Click Center' method.

Now Link all the stages and save your business object

Application Modeller will identify the elements of the application on which blue prism perform the operations.
Blue Prism supports 4 type of elements identifying modes:
1. HTML Mode
2.Win32 Mode
3.Region Mode
4.Accessibility Mode
Select the Business object that you have created. I have created "TestIObj" business object. Application Modeller option will be visible on only Business Object window.
When you select the business object then by default object contain three tabs:
1. Initialise
2.Clean Up
3.Action 1
We need to configure the Application Modeller.Select the Action1 from the TestObj window and Click on the Application Modeller option
1. Define the Application Model (Any Meaningful name) and click on the Next button
Select the application type which you are going to automate. I have selected 4 option because my application is web and i want to automate it on IE.After selecting it click on Next Button
Select the option 1st if you are going to work on already open application .Select the 2nd option if you want to launch it as a new application.After selecting it please click on Next button
Enter the path of Internet explorer exe file and click on Next button
Enter the URL of application that you want to automate and the click on Next button
Click on Next button
Again click on next button
Click on Next button
Click on Next without selecting any value. It should contain default value as Embedded (default)
Click on Finish button. Now Application Modeller is created.
Now add all the elements on which you want to perform the operation. For Google i will add only two elements and those are:
1. Search Edit box
2. Google Search button
Click on Launch Button. After clicking on it Google page will launch.
Application Launched successfully and now we can identify the elements with the use of Identify button on Application Modeller window
Click on Identify then by default it will in HTML Mode. To change the mode Press the Alt Key to switch spy modes
Select the element in the application and press Ctrl and Left-Click to get the properties of the element.
I have identified the properties of the Search edit field:
Keep only those properties which are unique for it and it will not change in future.(Usually try to un-select Parent URL Property and Path also) and Provide the meaningful name to this element
Add another element for button and do the same process as above to get the properties for the Search button and then click on OK button.
Please dont forget to save your business object.
Now Open the Action 1 and Drag the Navigate stage to launch the URL while running this business object.
Open the Properties page of Navigate stage while right click on it. Provide the meanng ful name to Navigate stage. Drag the TestObj application Modeller under Element column on Actions tab and select the Laun operation from the dropdown list of Action column. Then click on OK Button
Now from above step application will launch then we will have to enter the keyword on search edit field. For entering the value in any edit field we will have to select write stage.
Open the properties of Write stage and provide the meaning ful name of this stage. Drag the element to Element column on Actions tab which you have added through application modeller. Here it is "edtSearch" and mention the value under"Value' column which you want to enter in search
field. Then click on OK button
Now we have to click on Google Search button . Click opertaion we can perform with the use of Navigate stage. So select the Navigate stage and do the same process as above. Only the difference is here we have to select "Click Center' method.
Now Link all the stages and save your business object
No comments:
Post a Comment