Desktop application operations Archives – SoliteraTA

SoliteraTA

Categories
Desktop application operations Other Operation

do not take screen shot for desktop application

Desktop step-Definition

do not take screen shot for desktop application

do not take screen shot for desktop application

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

do not take screen shot for desktop application

Keyword

Given, When, And, Then

Description

Will not take screen shot for rest of test cases until they are enabled by the other step def to take ss, use this in context menu or dropdowns or whenever things get closed unpredictably.

Declaration
				
					Then do not take screen shot for desktop application
				
			
				
					NILL
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. Capturing screenshots can be useful for debugging and reporting purposes.
Restriction
  1.  The desktop window should be accessible and in focus.
Categories
Desktop application operations Other Operation

take screen shot for desktop application

Desktop step-Definition

take screen shot for desktop application

take screen shot for desktop application

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

take screen shot for desktop application

Keyword

Given, When, And, Then

Description

Will start taking ss again, after they have been disabled by other step def, use this in context menu or dropdowns or wherever things get closed unpredictably.

Declaration
				
					Then take screen shot for desktop application
				
			
				
					NILL
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. Capturing screenshots can be useful for debugging and reporting purposes.
Restriction
  1.  The desktop window should be accessible and in focus.
Categories
Desktop application operations Other Application Operation

open file explorer and navigate to {string} location and switch to the file explorer

Desktop step-Definition

open file explorer and navigate to {string} location and switch to the file explorer

open file explorer and navigate to {string} location and switch to the file explorer

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

open file explorer and navigate to {string} location and switch to the file explorer

Keyword

Given, When, And, Then

Description

open a new window of file explorer and navigate to the given location as well as switch to that window

Declaration
				
					Then open file explorer and navigate to "C:\Program Files" location and switch to the file explorer
				
			
				
					NILL
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks

NILL

Restriction
  1. The given location should be a valid file path.
Categories
Desktop application operations Mouse Events Operation

double click on desktop window with coordinates {string} and {string}

Desktop step-Definition

double click on desktop window with coordinates {string} and {string}

double click on desktop window with coordinates {string} and {string}

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

double click on desktop window with coordinates {string} and {string}

Keyword

Given, When, And, Then

Description

will double click on desktop window with coordinates

Declaration
				
					Then double click on desktop window with coordinates "280" and "350"
				
			
				
					NILL
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. This step performs a click action on the element specified by “element_name” within the desktop window.
  2. Working when we are passing coordinates after calculating from focused element
Restriction
  1. Ensure that “element_name” is a valid and unique identifier for the element you want to click on. Make sure the element is visible and clickable before attempting the click action.
  2. The element with the name “element_name” should be clickable, and it should be possible to click it to the specified coordinates (x, y) in the desktop window.
Categories
Desktop application operations Mouse Events Operation

hover over desktop window with coordinates {string} and {string}

Desktop step-Definition

hover over desktop window with coordinates {string} and {string}

hover over desktop window with coordinates {string} and {string}

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

hover over desktop window with coordinates {string} and {string}

Keyword

Given, When, And, Then

Description

will hover over desktop window with coordinates

Declaration
				
					Then hover over desktop window with coordinates "280" and "350"
				
			
				
					NILL
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. This step performs a click action on the element specified by “element_name” within the desktop window.
  2. Working when we are passing coordinates after calculating from focused element
Restriction
  1. Ensure that “element_name” is a valid and unique identifier for the element you want to click on. Make sure the element is visible and clickable before attempting the click action.
Categories
Desktop application operations Mouse Events Operation

drag element in desktop window with xCords {string} and yCords {string} and drop to xCords {string} and yCords {string}

Desktop step-Definition

drag element in desktop window with xCords {string} and yCords {string} and drop to xCords {string} and yCords {string}

drag element in desktop window with xCords {string} and yCords {string} and drop to xCords {string} and yCords {string}

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

drag element in desktop window with xCords {string} and yCords {string} and drop to xCords {string} and yCords {string}

Keyword

Given, When, And, Then

Description

will drag element from first x and y coordinate and drop to second x and y coordinate

Declaration
				
					Then drag element in desktop window with xCords "x1" and yCords "y1" and drop to xCords "x2" and yCords "x2"
				
			
				
					NILL
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. This step performs a click action on the element specified by “element_name” within the desktop window.
  2. Working when we are passing coordinates after calculating from focused element in both the cases, second x,y coordinates will be calculated from first x,y coordinates.
Restriction
  1. Ensure that “element_name” is a valid and unique identifier for the element you want to click on. Make sure the element is visible and clickable before attempting the click action.
Categories
Desktop application operations Mouse Events Operation

right click on desktop window with coordinates {string} and {string}

Desktop step-Definition

right click on desktop window with coordinates {string} and {string}

right click on desktop window with coordinates {string} and {string}

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

right click on desktop window with coordinates {string} and {string}

Keyword

Given, When, And, Then

Description

Will right click on the desktop with coordinates.

Declaration
				
					Then right click on desktop window with coordinates "280" and "350"
				
			
				
					NILL
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. This step performs a click action on the element specified by “element_name” within the desktop window.
Restriction
  1. Ensure that “element_name” is a valid and unique identifier for the element you want to click on. Make sure the element is visible and clickable before attempting the click action.
  2. The element with the name “element_name” should be clickable, and it should be possible to click it to the specified coordinates (x, y) in the desktop window.
Categories
Desktop application operations OCR Operation

verify {string} text through ocr on desktop application of element {string}

Desktop step-Definition

verify {string} text through ocr on desktop application of element {string}

verify {string} text through ocr on desktop application of element {string}

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

verify {string} text through ocr on desktop application of element {string}

Keyword

Given, When, And, Then

Description

Will check if the element is available on the screen

Declaration
				
					Then verify "Text" text through ocr on desktop application of element "InputField"
				
			
				
					"<elements>
<element>
  <name>InputField</name>
  <type>ID</type>
  <value>Input</value>
</element>
</elements>"
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. Verifying element visibility when it is expected to be present is important for UI testing.
Restriction
  1. Make sure you choose the correct element and provide ciorrect values while creating the element
Categories
Desktop application operations Image Repo

click on desktop element “element_name” using image identification

Desktop step-Definition

click on desktop element “element_name” using image identification

click on desktop element “element_name” using image identification

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

click on desktop element “element_name” using image identification

Keyword

Given, When, And, Then

Description

Will click on the desktop element using image identification

Declaration
				
					Then click on desktop element “FormulaBar” using image identification
				
			
				
					  <elements>
  <element>
    <name>FormulaBar</name>
    <type>NAME</type>
    <value>Formula Bar</value>
  </element>
  </elements>
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. This step definition clicks on an image with the name “element_name” in the desktop window.
Restriction
  1. Make sure element name is correct and visible on the screen. Confirm that it correctly identifies the visibility state of the element.
Categories
Desktop application operations Image Repo

double click on desktop element “element_name” using image identification

Desktop step-Definition

double click on desktop element “element_name” using image identification

double click on desktop element “element_name” using image identification

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

double click on desktop element “element_name” using image identification

Keyword

Given, When, And, Then

Description

Will double click on the desktop element using image identification

Declaration
				
					Then double click on desktop element “FormulaBar” using image identification
				
			
				
					  <elements>
  <element>
    <name>FormulaBar</name>
    <type>NAME</type>
    <value>Formula Bar</value>
  </element>
  </elements>
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. This step definition clicks on an image with the name “element_name” in the desktop window.
Restriction
  1. Make sure element name is correct and visible on the screen. Confirm that it correctly identifies the visibility state of the element.

Solitera may collect certain information by automated means, such as cookies and web beacons, when a user visits our website. A “cookie” is a small piece of data that a website can send to your browser, which may then be stored on your system. learn more

Choose your Operating System