Other Operation 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 Operation

check timer for desktop application is within {string} milliseconds

Desktop step-Definition

check timer for desktop application is within {string} milliseconds

check timer for desktop application is within {string} milliseconds

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

check timer for desktop application is within {string} milliseconds

Keyword

Given, When, And, Then

Description
After stopping the timer will check if the given value is inside the elapsed time or not.
Declaration
				
					Then check timer for desktop application is within "15000" milliseconds
				
			
				
					
"<elements>
<element>
  <name>InputField</name>
  <type>XPATH</type>
  <value>//input[@id="Input"]</value>
</element>
</elements>"
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks

NILL

Restriction
  1. The desktop window should be accessible and in focus.
  2. The timer must be start before using this step def.
Categories
Desktop application operations Other Operation

stop timer for desktop application

Desktop step-Definition

stop timer for desktop application

stop timer for desktop application

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

stop timer for desktop application

Keyword

Given, When, And, Then

Description
Stop the already started timer
Declaration
				
					Then stop timer for desktop application
				
			
				
					NILL
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks

NILL

Restriction
  1. The desktop window should be accessible and in focus.
  2. The timer must be start before using this step def
Categories
Desktop application operations Other Operation

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}

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

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

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
				
					Then get NativeWindowHandle from desktop application of element "InputField" and store as "ProgramFiles"
				
			
				
					
"<elements>
<element>
  <name>InputField</name>
  <type>XPATH</type>
  <value>//input[@id="Input"]</value>
</element>
</elements>"
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. This step is used to switch on the native window of the desktop application by using their top element.
Restriction
  1. Element and application file should be in xml format.
  2.  The desktop window should be accessible and in focus.
  3. Ensure that “element_name” is a valid and unique identifier.
Categories
Desktop application operations Other Operation

change desktop default timeout to {string} seconds

Desktop step-Definition

change desktop default timeout to {string} seconds

change desktop default timeout to {string} seconds

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

change desktop default timeout to {string} seconds

Keyword

Given, When, And, Then

Description

change the desktop default timeout to a given number of seconds

Declaration
				
					Then change desktop default timeout to "30" seconds
				
			
				
					NILL
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks

NILL

Restriction
  1. he specified “String Value” must represent a valid length (integer) for the random text. The desktop window should be accessible and in focus.
Categories
Desktop application operations Other Operation

copy value of property {string} for element {string} to variable {string}

Desktop step-Definition

copy value of property {string} for element {string} to variable {string}

copy value of property {string} for element {string} to variable {string}

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

copy value of property {string} for element {string} to variable {string}

Keyword

Given, When, And, Then

Description

Will copy the value of a particular property of an element and store that inside a variable.

Declaration
				
					Then copy value of property "AutomationId" for element "InputField" to variable "PropertyValue"
				
			
				
					"<elements>
<element>
  <name>InputField</name>
  <type>ID</type>
  <value>Input</value>
</element>
</elements>"
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. Inspect.exe should be present on your system to inspect the element and know the element property of desktop application under test (Inspect .exe is a part of Microsoft SDK).
Restriction
  1. Element and application file should be in xml format.
  2. Ensure that “element_name” is a valid and unique identifier for the element you want to double-click on. Make sure the element is visible and clickable before attempting the double-click action.
Categories
Desktop application operations Other Operation

copy value of property {string} for element {string} to clipboard

Desktop step-Definition

copy value of property {string} for element {string} to clipboard

copy value of property {string} for element {string} to clipboard

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

copy value of property {string} for element {string} to clipboard

Keyword

Given, When, And, Then

Description

Will copy the value of a particular property of an element and add that text to clipboard

Declaration
				
					Then copy value of property "AutomationId" for element "InputField" to clipboard
				
			
				
					"<elements>
<element>
  <name>InputField</name>
  <type>ID</type>
  <value>Input</value>
</element>
</elements>"
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. Inspect.exe should be present on your system to inspect the element and know the element property of desktop application under test (Inspect .exe is a part of Microsoft SDK).
Restriction
  1. Element and application file should be in xml format.
  2. Ensure that “element_name” is a valid and unique identifier for the element you want to double-click on. Make sure the element is visible and clickable before attempting the double-click action.
Categories
Desktop application operations Other Operation

replace ?changeHere? text with {string} in desktop element value of name {string}

Desktop step-Definition
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

replace ?changeHere? text with {string} in desktop element value of name {string}

replace ?changeHere? text with {string} in desktop element value of name {string}

replace ?changeHere? text with {string} in desktop element value of name {string}

Keyword

Given, When, And, Then

Description

Will replace the text of the element value with a string in the desktop

Declaration
				
					Then replace ?changeHere? text with text "StoryRandomName" in element value of name "NewStoryName"
				
			
				
					"<elements>
 <element>
  <name>NewStoryName</name>
  <type>XPATH</type>
  <value>//span[contains(text(),"?changeHere?")]</value>
</element>
</elements>"
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. In this step you can change a specific text of a element with user defined text.
Restriction
  1. Ensure that “element_name” is a valid and unique identifier for the element, you want to replace the text. Make sure the element is visible and text is readable before attempting any action.
  2. The desktop window should be accessible and in focus.
Categories
Desktop application operations Other Operation

combine {string} testdata with {string} testdata and save it as {string} for desktop application

Desktop step-Definition

combine {string} testdata with {string} testdata and save it as {string} for desktop application

combine {string} testdata with {string} testdata and save it as {string} for desktop application

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

combine {string} testdata with {string} testdata and save it as {string} for desktop application

Keyword

Given, When, And, Then

Description

combine the given text with testdata and save it

Declaration
				
					When combine "FirstName" testdata with "Wick" testdata and save it as "FullName" for desktop application
				
			
				
					NILL
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. Combining strings can be useful for constructing dynamic text or performing comparisons.
Restriction
  1. Verify that the “String Value” variables contain the expected content before combining them. First string value contain text and in second string value you can directly pass the text.

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