OCR Operation – SoliteraTA

SoliteraTA

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

try finding text {string} on element {string} for max {string} times using ocr on desktop application

Desktop step-Definition

try finding text {string} on element {string} for max {string} times using ocr on desktop application

try finding text {string} on element {string} for max {string} times using ocr on desktop application

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

try finding text {string} on element {string} for max {string} times using ocr on desktop application

Keyword

Given, When, And, Then

Description

wait for given text on specified element for given number of times

Declaration
				
					Then try finding text "SoliteraTA" on element "InputField" for max "2" times using ocr on desktop application
				
			
				
					"<elements>
<element>
  <name>InputField</name>
  <type>ID</type>
  <value>Input</value>
</element>
</elements>"
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. Verifying text and element visibility when it is expected to be present, is important for UI testing.
Restriction
  1. Ensure that “element_name” is a valid and unique identifier for the element on you want to verifing text. Make sure the element is visible and readable before attempting the any action.
Categories
Desktop application operations OCR Operation

try finding text {string} on screen for max {string} times using ocr on desktop applications current window

Desktop step-Definition

try finding text {string} on screen for max {string} times using ocr on desktop applications current window

try finding text {string} on screen for max {string} times using ocr on desktop applications current window

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

try finding text {string} on screen for max {string} times using ocr on desktop applications current window

Keyword

Given, When, And, Then

Description

wait for given text for given number of times

Declaration
				
					Then try finding text "Text1" on screen for max "4" times using ocr on desktop applications current window
				
			
				
					NILL
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. Verifying text visibility when it is expected to be present, is important for UI testing.
Restriction

NILL

Categories
Desktop application operations OCR Operation

return coordinates of {string} text through ocr on desktop application of {string} element and with {string} position and save starting coordinate as {string} and {string} and ending coordinate as {string} and {string}

Desktop step-Definition

return coordinates of {string} text through ocr on desktop application of {string} element and with {string} position and save starting coordinate as {string} and {string} and ending coordinate as {string} and {string}

return coordinates of {string} text through ocr on desktop application of {string} element and with {string} position and save starting coordinate as {string} and {string} and ending coordinate as {string} and {string}

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

return coordinates of {string} text through ocr on desktop application of {string} element and with {string} position and save starting coordinate as {string} and {string} and ending coordinate as {string} and {string}

Keyword

Given, When, And, Then

Description

return the co-ordinates of specified text on specified element name with positions(i.e. TopMost|BottomMost|LeftMost|RightMost|index) and save starting co-ordinates as string & string and ending co-ordinates as string & string.

Declaration
				
					When return coordinates of "Text1" text through ocr on desktop application of "InputField" element and with "TOPtMost" position and save starting coordinate as "x1" and "y1" and ending coordinate as "x2" and "y2"
				
			
				
					"<elements>
<element>
  <name>InputField</name>
  <type>ID</type>
  <value>Input</value>
</element>
</elements>"
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. This step return the coordinate of specific text on the  desktop window element from their defined specific position
  2. Extracting text from specific locations on the UI allows for targeted validation.
Restriction
  1. Ensure that “element_name” is a valid and unique identifier for the element you want to extract specific text. Make sure the element is visible before attempting the action.
  2. Ensure that the location “element_name” is valid and accessible.
Categories
Desktop application operations OCR Operation

return coordinates of {string} text through ocr on desktop application of {string} element with {string} position and save xcoordinate as {string} and save ycoordinate as {string}

Desktop step-Definition

return coordinates of {string} text through ocr on desktop application of {string} element with {string} position and save xcoordinate as {string} and save ycoordinate as {string}

return coordinates of {string} text through ocr on desktop application of {string} element with {string} position and save xcoordinate as {string} and save ycoordinate as {string}

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

return coordinates of {string} text through ocr on desktop application of {string} element with {string} position and save xcoordinate as {string} and save ycoordinate as {string}

Keyword

Given, When, And, Then

Description

Will return the coordinates of specified text on an element name with specified positions(i.e. TopMost|BottomMost|LeftMost|RightMost|index) and save X coordinates as string and Y co-ordinates as a string.

Declaration
				
					When return coordinates of "Text1" text through ocr on desktop application of "InputField" element with "RightMost" position and save xcoordinate as "x1" and save ycoordinate as "y1"
				
			
				
					"<elements>
<element>
  <name>InputField</name>
  <type>ID</type>
  <value>Input</value>
</element>
</elements>"
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. This step return the coordinate of specific text on the  desktop window element from their defined specific position
  2. Extracting text from specific locations on the UI allows for targeted validation.
Restriction
  1. Ensure that “element_name” is a valid and unique identifier for the element you want to extract specific text. Make sure the element is visible before attempting the action.
  2. Ensure that the location “element_name” is valid and accessible.
Categories
Desktop application operations OCR Operation

get ocr on desktop application of text from element {string} and save it as {string}

Desktop step-Definition

get ocr on desktop application of text from element {string} and save it as {string}

get ocr on desktop application of text from element {string} and save it as {string}

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

get ocr on desktop application of text from element {string} and save it as {string}

Keyword

Given, When, And, Then

Description

Will get text of specified element using OCR and save it as string

Declaration
				
					Then get ocr on desktop application of text from element "InputField" and save it as "ValueName"
				
			
				
					"<elements>
<element>
  <name>InputField</name>
  <type>ID</type>
  <value>Input</value>
</element>
</elements>"
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. Extracting text from specific locations on the UI allows for targeted validation.
Restriction
  1. Ensure that the location “element_name” is valid and accessible.
Categories
Desktop application operations OCR Operation

verify {string} text through ocr on desktop application of current window

Desktop step-Definition

verify {string} text through ocr on desktop application of current window

verify {string} text through ocr on desktop application of current window

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

verify {string} text through ocr on desktop application of current window

Keyword

Given, When, And, Then

Description

Will check if the given text on the visible desktop screen

Declaration
				
					Then verify "Text" text through ocr on desktop application of current window
				
			
				
					NILL
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. Verifying text presence helps validate that specific content is visible as expected.
Restriction
  1. Verifying text presence helps validate that specific content is visible as expected.

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