get text from element “element_name” and store as “<testdata_name>”
All Step Definition get the text from UI at location “element_name” and store as “var_name” Keyword Given, When, And, Then Description Will get the text from UI at specific location and store into a variable. Declaration Code Element Application Test Data When get the text from UI at location “userEmailField” and store as “UserEmail” ” userEmailField XPATH //input[@id=”email”] ” NILL NILL Browser Support Google Chrome Firefox Edge Remarks The “String Value” that is used through test data file should be in angular brackets We can use any variable name Restriction Element and application file should be in xml format. Table of contents Keyword Description Declaration Browser Support Remarks Restriction
get text from element “element_name” and store as “<testdata_name>” Read More »