get text from element “element_name” and store as “<testdata_name>” – SoliteraTA

SoliteraTA

All Step Definition

get text from element “element_name” and store as “<testdata_name>”

get text from element “element_name” and store as “<testdata_name>”

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

get text from element “element_name” and store as “<testdata_name>”

Keyword

Given, When, And, Then

Description

Will get the text from UI at specific location and store into a variable.

Declaration
				
					When get text from element "userEmailField" and store as "UserEmail"
				
			
				
					"<elements>
<element>
  <name>userEmailField</name>
  <type>XPATH</type>
  <value>//input[@id="email"]</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