Application Operation Archives – SoliteraTA

SoliteraTA

Categories
Application Operation Desktop application operations

switch focus to desktop window whose NativeWindowHandle is {string}

Desktop step-Definition

switch focus to desktop window whose NativeWindowHandle is {string}

switch focus to desktop window whose NativeWindowHandle is {string}

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

switch focus to desktop window whose NativeWindowHandle is {string}

Keyword

Given, When, And, Then

Description
switch focus to desktop window element, whose Native window handle has been passed.
Declaration
				
					Then switch focus to desktop window whose NativeWindowHandle is "NativeWindowName"
				
			
				
					NILL
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. This step definition switches the focus to a window with the specified class name “String Value” and ensures that the switch is completed within the specified maximum time.
Restriction
  1. The window with the specified class name “String Value” should be open and accessible. The “max” value should be a valid time (in milliseconds) for the maximum waiting time.
Categories
Application Operation Desktop application operations

start the server

Desktop step-Definition

start the server

start the server

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

start the server

Keyword

Given, When, And, Then

Description
Will start the appium and Winapp driver, IF you use this you have to switch to application you want to work on
Declaration
				
					Then start the server
				
			
				
					NILL
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. This step sends the specified text to a desktop window element using the image path specified by “String Value.”
Restriction
  1. The specified image path should be valid and accurately represent the target element. The desktop window should be accessible and in focus.
Categories
Application Operation Desktop application operations

terminate the desktop application using command prompt {string}

Desktop step-Definition

terminate the desktop application using command prompt {string}

terminate the desktop application using command prompt {string}

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

terminate the desktop application using command prompt {string}

Keyword

Given, When, And, Then

Description

Terminate the desktop application using command prompt, will close all the instances and windows of that particular application.

Declaration
				
					Then terminate the desktop application using command prompt "EXCEL.EXE"
				
			
				
					NILL
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. Application name should be a valid application name
Restriction
  1. Element and application file should be in xml format.
  2. Application must be existed in your system.
Categories
Application Operation Desktop application operations

switch focus to desktop window element {string}

Desktop step-Definition

switch focus to desktop window element {string}

switch focus to desktop window element {string}

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

switch focus to desktop window element {string}

Keyword

Given, When, And, Then

Description

Switch focus to desktop window element, which is a top window and have native window handle.

Declaration
				
					Then switch focus to desktop window element "WindowName"
				
			
				
					<element>
    <name>WindowName</name>
    <type>Class Name</type>
    <value>Xsmile</value>
   </element>
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. This step definition switches the focus to a window with the specified class name “String Value”.
Restriction
  1. The window with the specified class name “String Value” should be open and accessible. 
Categories
Application Operation Desktop application operations

maximize the desktop application window

Desktop step-Definition

maximize the desktop application window

maximize the desktop application window

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

maximize the desktop application window

Keyword

Given, When, And, Then

Description

Will maximise the desktop application window

Declaration
				
					When maximise the desktop application window
				
			
				
					NILL
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. This step maximizes the desktop application window.
Restriction
  1. It’s important to verify that the application supports window maximization. Some applications may have restrictions on resizing or maximizing their windows.
Categories
Application Operation Desktop application operations

close the desktop application

Desktop step-Definition

close the desktop application

close the desktop application

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

close the desktop application

Keyword

Given, When, And, Then

Description

Will close the current window of desktop application under test.

Declaration
				
					Then close the desktop application
				
			
				
					NILL
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. Make sure there are no unsaved changes that could be lost during the application closure.
  2. This step closes the desktop application.
Restriction
  1. The desktop application must  be open
Categories
Application Operation Desktop application operations

open the application {string}

Desktop step-Definition

open the application {string}

open the application {string}

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

open the application {string}

Keyword

Given, When, And, Then

Description

Will open the desktop application by passsing its actual path.

Declaration
				
					Given open the application “Notepad”
				
			
				
					Nill
				
			
				
					<config>
    <name>Notepad</name>
    <type>desktop_application</type>
    <path>C:\Windows\System32\notepad.exe</path>
    <cookie>true</cookie>
  </config>
				
			
				
					NILL
				
			
Remarks
  1. This step definition is used to open a specific application with the name “app_name.”
  2. open the desktop application, application full path is required, path to be set in the application file.
Restriction
  1. Make sure you have the necessary permissions to launch the application.

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