Application Operation – SoliteraTA

SoliteraTA

Application Operation

switch focus to desktop window whose NativeWindowHandle is {string}

Desktop step-Definition 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 Code Element Application Test Data Then switch focus to desktop window whose NativeWindowHandle is “NativeWindowName” NILL NILL NILL Remarks 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 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. Table of contents Keyword Description Declaration Remarks Restriction

switch focus to desktop window whose NativeWindowHandle is {string} Read More »

start the server

Desktop step-Definition 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 Code Element Application Test Data Then start the server NILL NILL NILL Remarks This step sends the specified text to a desktop window element using the image path specified by “String Value.” Restriction The specified image path should be valid and accurately represent the target element. The desktop window should be accessible and in focus. Table of contents Keyword Description Declaration Remarks Restriction

start the server Read More »

terminate the desktop application using command prompt {string}

Desktop step-Definition 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 Code Element Application Test Data Then terminate the desktop application using command prompt “EXCEL.EXE” NILL NILL NILL Remarks Application name should be a valid application name Restriction Element and application file should be in xml format. Application must be existed in your system. Table of contents Keyword Description Declaration Remarks Restriction

terminate the desktop application using command prompt {string} Read More »

switch focus to desktop window element {string}

Desktop step-Definition 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 Code Element Application Test Data Then switch focus to desktop window element “WindowName” WindowName Class Name Xsmile NILL NILL Remarks This step definition switches the focus to a window with the specified class name “String Value”. Restriction The window with the specified class name “String Value” should be open and accessible.  Table of contents Keyword Description Declaration Remarks Restriction

switch focus to desktop window element {string} Read More »

maximize the desktop application window

Desktop step-Definition maximize the desktop application window Keyword Given, When, And, Then Description Will maximise the desktop application window Declaration Code Element Application Test Data When maximise the desktop application window NILL NILL NILL Remarks This step maximizes the desktop application window. Restriction It’s important to verify that the application supports window maximization. Some applications may have restrictions on resizing or maximizing their windows. Table of contents Keyword Description Declaration Remarks Restriction

maximize the desktop application window Read More »

close the desktop application

Desktop step-Definition close the desktop application Keyword Given, When, And, Then Description Will close the current window of desktop application under test. Declaration Code Element Application Test Data Then close the desktop application NILL NILL NILL Remarks Make sure there are no unsaved changes that could be lost during the application closure. This step closes the desktop application. Restriction The desktop application must  be open Table of contents Keyword Description Declaration Remarks Restriction

close the desktop application Read More »

open the application {string}

Desktop step-Definition open the application “application_name” Keyword Given, When, And, Then Description Will open the desktop application by passsing its actual path. Declaration Code Element Application Test Data Given open the application “Notepad” Nill Notepad desktop_application C:WindowsSystem32notepad.exe true NILL Remarks This step definition is used to open a specific application with the name “app_name.” open the desktop application, application full path is required, path to be set in the application file. Restriction Make sure you have the necessary permissions to launch the application. Table of contents Keyword Description Declaration Remarks Restriction

open the application {string} Read More »

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