Skip to main content

UI Elements


UI Elements

Simply, UI = User Interface

Consider any Application, Here I’m taking
www.google.com as an example.

If you navigate to Google URL on any browser, it should be look like below.




From this, you can observe something like below in the application.
Search box, buttons (Sign In, Google Search, I’m Feeling Lucky), Google Image, Links (Gmail, Images) and many more
So, all these elements are available in user interface. Hence, we called them as “UI ELEMENTS

We can have categorized all above elements in 2 ways
Input Elements: Search box, buttons, Google Image, Links
Output Elements: Google Result

Operations which you performed on input/output elements is called as Input / Output Actions

Input Actions: Clicks, Text Typing, Mouse Hover, Key board Shortcuts
Output Actions: Getting Text, Finding Elements, Getting Results

From above, UI elements only constructs an application, if we know how to interact with them enables you to implement UI automation much faster and easier.

All interactions with the UI can be split into input and output as discussed above. This categorization helps you better understand which actions to use in different scenarios, when to use them, and the technology behind them. These are also going to be useful when dealing with scraping (Which discuss later)

Then the very Next Question is
How to Interact with UI Elements?

Generally, when we trying to identify a person/thing we took some properties (Height, width, color). In the same way, if you want to interact with UI Elements, you’ve to consider UI Elements properties




Comments

Popular posts from this blog

Types of Recording

Types of Recording: 4 types of recording modes are available Ø   Basic Ø   Desktop Ø   Web Ø   Citrix 2 ways of Recording Ø   Automatic Ø   Manual Basic – generates a full selector for each activity and no container, the resulted automation is slower than one that uses containers and is suitable for single activities. Desktop – suitable for all types of desktop apps and multiple actions; it is faster than the Basic recorder, and generates a container (with the selector of the top-level window) in which activities are enclosed, and partial selectors for each activity. Web – designed for recording in web apps and browsers (supported: Internet Explorer, Google Chrome), generates containers and uses the Simulate Type/Click input method by default. Citrix – used to record virtualized environments (VNC, virtual machines, Citrix, etc.) or SAP, permits only image, text and keyboard automation, and requires explici...

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...

Variable

Variable           Ø   Variable is nothing but a memory location             Ø   It holds multiple types of data             Ø   Data stored in Variable is named as ‘Value’             Ø   Supports a large amount of types, ranging from generic value, text, number, data table, time and date, UI                    Elements to any .Net variable type. Create a Variable: On the Design ribbon tab, in the Variables group, select Create Variable > [Type of variable] . The Create Variable window is displayed Fill in the required fields and click OK . The variable is created and you can view and edit it in the Variables panel. 1.In the Properties panel of any activity, right-click a field that can be edited, and select Create Variable from the context menu, or press Ctrl+K....