January 2024 – Page 3 – SoliteraTA

SoliteraTA

January 2024

stop timer for desktop application

Desktop step-Definition stop timer for desktop application Keyword Given, When, And, Then Description Stop the already started timer Declaration Code Element Application Test Data Then stop timer for desktop application NILL NILL NILL Remarks NILL Restriction The desktop window should be accessible and in focus. The timer must be start before using this step def Table of contents Keyword Description Declaration Remarks Restriction

stop timer for desktop application Read More »

get NativeWindowHandle from desktop application of element {string} and store as {string}

Desktop step-Definition get NativeWindowHandle from desktop application of element {string} and store as {string} Keyword Given, When, And, Then Description Will get the native window handle of the given element, try to pass the top element so that It can be used to switch to that window later on. Declaration Code Element Application Test Data Then get NativeWindowHandle from desktop application of element “InputField” and store as “ProgramFiles” ” InputField XPATH //input[@id=”Input”] ” NILL NILL Remarks This step is used to switch on the native window of the desktop application by using their top element. Restriction Element and application file should be in xml format.  The desktop window should be accessible and in focus. Ensure that “element_name” is a valid and unique identifier. Table of contents Keyword Description Declaration Remarks Restriction

get NativeWindowHandle from desktop application of element {string} and store as {string} Read More »

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 »

right click on current pointer location in desktop window

Desktop step-Definition right click on current pointer location in desktop window Keyword Given, When, And, Then Description will right click at the current cursor location Declaration Code Element Application Test Data Then right click on current pointer location in desktop window NILL NILL NILL Remarks NILL Restriction NILL Table of contents Keyword Description Declaration Remarks Restriction

right click on current pointer location in desktop window 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