read text from the field “element_name” and store as “<testdata_name>” in mobile screen – SoliteraTA

SoliteraTA

Mobile Step Definition

read text from the field “element_name” and store as “<testdata_name>” in mobile screen

read text from the field “element_name” and store as “<testdata_name>” in mobile screen

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

read text from the field “element_name” and store as “<testdata_name>” in mobile screen

Keyword

Given, When, And, Then

Description

Will read text from the field and store as variable in mobile screen

Declaration
				
					Then read text from the field "otpMessage" and store as "<Message>" in mobile screen
				
			
				
					"<elements>
  <element>
    <name>otpMessage</name>
    <type>XPATH</type>
    <value>//android.widget.ImageView[@content-desc="message"]</value>
  </element>
</elements>"
				
			
				
					NILL
				
			
				
					NILL
				
			
Remarks
  1. The ā€œ<testdata_name>” that is used through test data file should be in angular bracketsĀ 
  2. The “element_name” that is used through element data file should be in double quotes.
Restriction
  1. “element_name” should be corresponds to a valid element in the application.

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