replace ?changeHere? text with text “<testdata_name>” in element value of name “element_name” – SoliteraTA

SoliteraTA

All Step Definition

replace ?changeHere? text with text “<testdata_name>” in element value of name “element_name”

replace ?changeHere? text with text “<testdata_name>” in element value of name “element_name”

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

replace ?changeHere? text with text “<testdata_name>” in element value of name “element_name”

Keyword

Given, When, And, Then

Description

Will replace text in ?changeHere?

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
				
			
Browser Support
Remarks
  1. The “String Value” that is used through test data file should be in angular brackets
  2. We can use any variable name
Restriction
  1. Element and application file should be in xml format.

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