if text “<testdata_name>” does not exists on the UI, then click on element “element_name” else do nothing – SoliteraTA

SoliteraTA

Desktop step-Definition

if text “<testdata_name>” does not exists on the UI, then click on element “element_name” else do nothing

if text “<testdata_name>” does not exists on the UI, then click on element “element_name” else do nothing

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

if text “<testdata_name>” does not exists on the UI, then click on element “element_name” else do nothing

Keyword

Given, When, And, Then

Description

Will check for the given text, if text not found then click on specific element

Declaration
				
					When if text "Login" does not exists on the UI, then click on element "UserEmailField" else do nothing
				
			
				
					"<elements>
  <element>
    <name>userEmailField</name>
    <type>ID</type>
    <value>email</value>
  </element>
  </elements>"
				
			
				
					NILL
				
			
				
					NILL
				
			
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