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

SoliteraTA

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.

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