![](https://adglob.in/blog/wp-content/uploads/2021/09/infoadglob.in_25-1024x577.png)
Application modeller is used for spying on the applications. Spying is identifying the elements in the Applications.
![](https://adglob.in/blog/wp-content/uploads/2021/09/application_modeller.jpg)
The application modeller window is as follows โ
![](https://adglob.in/blog/wp-content/uploads/2021/09/application_modeller_window.jpg)
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.
![](https://adglob.in/blog/wp-content/uploads/2021/09/spying_modes.jpg)
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.
![](https://adglob.in/blog/wp-content/uploads/2021/09/working_with_web_applications.jpg)
We need to configure the Application Modeller.
![](https://adglob.in/blog/wp-content/uploads/2021/09/configure_application_modeller.jpg)
![](https://adglob.in/blog/wp-content/uploads/2021/09/application_modeller_wizard1.jpg)
![](https://adglob.in/blog/wp-content/uploads/2021/09/application_modeller_wizard2.jpg)
![](https://adglob.in/blog/wp-content/uploads/2021/09/application_modeller_wizard3.jpg)
![](https://adglob.in/blog/wp-content/uploads/2021/09/application_modeller_wizard4.jpg)
![](https://adglob.in/blog/wp-content/uploads/2021/09/application_modeller_wizard5.jpg)
Now we are going to spy the login button, username and password fields.
![](https://adglob.in/blog/wp-content/uploads/2021/09/facebook_login_page.jpg)
![](https://adglob.in/blog/wp-content/uploads/2021/09/facebook_login_page1.jpg)
![](https://adglob.in/blog/wp-content/uploads/2021/09/facebook_login_page2.jpg)
![](https://adglob.in/blog/wp-content/uploads/2021/09/facebook_login_page3.jpg)
![Application modeller](https://adglob.in/blog/wp-content/uploads/2021/09/facebook_login_page4.jpg)
![](https://adglob.in/blog/wp-content/uploads/2021/09/facebook_login_page5.jpg)
Now, we shall start the implementation part.
Create data items for email and passwords.
![](https://adglob.in/blog/wp-content/uploads/2021/09/create_data_items.jpg)
![](https://adglob.in/blog/wp-content/uploads/2021/09/create_data_items1.jpg)
- 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.
![Application modeller](https://adglob.in/blog/wp-content/uploads/2021/09/use_write_stage.jpg)
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.
Step1 โ Create the business object.
![](https://adglob.in/blog/wp-content/uploads/2021/09/working_with_windows_applications.jpg)
Step2 โ Configure the Application modeller.
![](https://adglob.in/blog/wp-content/uploads/2021/09/open_application_modeller.jpg)
![](https://adglob.in/blog/wp-content/uploads/2021/09/application_modeller1.jpg)
![](https://adglob.in/blog/wp-content/uploads/2021/09/application_modeller2.jpg)
![](https://adglob.in/blog/wp-content/uploads/2021/09/application_modeller3.jpg)
![](https://adglob.in/blog/wp-content/uploads/2021/09/application_modeller4.jpg)
![](https://adglob.in/blog/wp-content/uploads/2021/09/application_modeller5.jpg)
![](https://adglob.in/blog/wp-content/uploads/2021/09/application_modeller6.jpg)
Step3ย โ Spying the Sign-in window.
Use Ctrl+Left to highlight the element, and an ordinal element is used to Unique Identification.
![](https://adglob.in/blog/wp-content/uploads/2021/09/spying_signin_window.jpg)
![Application modeller](https://adglob.in/blog/wp-content/uploads/2021/09/spying_signin_window1.jpg)
Step4 โ Spying the staff number.
![](https://adglob.in/blog/wp-content/uploads/2021/09/spying_staff_number.jpg)
![](https://adglob.in/blog/wp-content/uploads/2021/09/spying_staff_number1.jpg)
Step5 โ Spying the password.
![](https://adglob.in/blog/wp-content/uploads/2021/09/spying_password.jpg)
![Application modeller](https://adglob.in/blog/wp-content/uploads/2021/09/spying_password1.jpg)
Step6ย โ Spying the sign-in button.
![](https://adglob.in/blog/wp-content/uploads/2021/09/Spying_signin_button.jpg)
![](https://adglob.in/blog/wp-content/uploads/2021/09/Spying_signin_button1.jpg)
Now we start the implementation part.
Step7 โ Using the Navigation stage to launch the application.
![Application modeller](https://adglob.in/blog/wp-content/uploads/2021/09/navigation_stage_launch_application.jpg)
Step8ย โ Using the write stage to configure the staff number.
![](https://adglob.in/blog/wp-content/uploads/2021/09/configure_staff_number.jpg)
Step9 โ Using another write stage to configure the Password.
![](https://adglob.in/blog/wp-content/uploads/2021/09/configure_password.jpg)
Step10 โ Using Navigate stage to Sign IN.
![](https://adglob.in/blog/wp-content/uploads/2021/09/navigate_stage_to_signin.jpg)
![Application modeller](https://adglob.in/blog/wp-content/uploads/2021/09/navigate_stage_to_signin2.jpg)
Step11 โ Link the process.
![Application modeller](https://adglob.in/blog/wp-content/uploads/2021/09/link_process.jpg)
Next Topic:-Click Here
I really liked your article post.Really looking forward to read more. Will read on…