UI Verification – Page 2 – SoliteraTA

SoliteraTA

UI Verification

verify text “<testdata_name>” is equal to text in element “element_name” using OCR for max “<testdata_name>” times

All Step Definition verify text {string} is equal to text in element {string} using OCR for max {int} times Keyword Given, When, And, Then Description Will wait for given text on specified element for value(Integer) times Declaration Code Element Application Test Data When verify text “Solitera Software” is equal to text in element “testingPlaygroundHomePage” using OCR for max “2” times ” testingPlaygroundHomePage XPATH //body[contains(@class,’post-template’)]/parent::html 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

verify text “<testdata_name>” is equal to text in element “element_name” using OCR for max “<testdata_name>” times Read More »

click on button “element_name” and verify text in alert box equal to “<testdata_name>”

All Step Definition click on button {string} and verify text in alert box equal to {string} Keyword Given, When, And, Then Description Will click on button and verify text of alert window Declaration Code Element Application Test Data When click on element “showAlertBtn” and verify text in alert box equal to “This is a simple alert” ” showAlertBtn XPATH //button[contains(text(),’Show Alert’)] 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

click on button “element_name” and verify text in alert box equal to “<testdata_name>” Read More »

verify text “<testdata_name>” is equal to text in element “element_name” using OCR

All Step Definition verify text {string} is equal to text in element {string} using OCR Keyword Given, When, And, Then Description Will verify given text on the specified element Declaration Code Element Application Test Data When verify text “Solitera Software” is equal to text in element “practiceFormPrintedContent” using OCR ” practiceFormPrintedContent XPATH //div[@id=’printedContent’]/p 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

verify text “<testdata_name>” is equal to text in element “element_name” using OCR Read More »

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

Desktop step-Definition check text “var_name” exists on the UI, if not found then click on this element “element_name” Keyword Given, When, And, Then Description Will check for the given text, if text not found then click on specific element Declaration Code Element Application Test Data When check text “Login” exists on the UI, if not found then click on this element “UseremailFiled” ” userEmailField ID email ” NILL NILL 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 Remarks Restriction

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

if element “element_name” is present on UI then click on it else do nothing

Desktop step-Definition check element “element_name” exists on the UI, if not found then click on this element “element_name” Keyword Given, When, And, Then Description Will check for the first element, if first element not found then click on second element Declaration Code Element Application Test Data When check element “CloseBtn” exists on the UI, if not found then click on this element “LoginBtn” ” CloseBtn XPATH //input[@id=”close”] LoginBtn XPATH //input[@id=”login”] ” NILL NILL 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 Remarks Restriction

if element “element_name” is present on UI then click on it else do nothing Read More »

verify element “element_name” is present and count of the same is “<testdata_name>”

Desktop step-Definition verify count of “var_name” elements is “element_name” Keyword Given, When, And, Then Description Will verify the count of specific element Declaration Code Element Application Test Data When verify count of “two” elements is “UserEmailField” ” userEmailField ID email ” NILL NILL 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 Remarks Restriction

verify element “element_name” is present and count of the same is “<testdata_name>” Read More »

verify css property “<testdata_name>” contains value equals to “<testdata_name>” for element “element_name”

Desktop step-Definition verify css property {string} contains value equals to {string} for element {string} Keyword Given, When, And, Then Description Will verify the CSS property value with value given for element Declaration Code Element Application Test Data When verify css property “background-color” contains value equals to “red” for element “userEmailField” ” userEmailField XPATH //input[@id=”Email”] ” NILL NILL 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 Remarks Restriction

verify css property “<testdata_name>” contains value equals to “<testdata_name>” for element “element_name” Read More »

verify timer is within “<testdata_name>” seconds

Desktop step-Definition verify timer is within {int} seconds Keyword Given, When, And, Then Description Will verify the text from UI at specific location within given a time and stop the timer. Declaration Code Element Application Test Data When verify timer is within “maxwait” seconds NILL NILL A maxwait 2 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 Remarks Restriction

verify timer is within “<testdata_name>” seconds Read More »

verify url contains “<testdata_name>”

Desktop step-Definition verify url contains “<testdata_name>” Keyword Given, When, And, Then Description Will wait for the max specified time for provided text to appear in url. Declaration Code Element Application Test Data When verify url contains “Text” NILL NILL A Text http 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 Remarks Restriction

verify url contains “<testdata_name>” Read More »

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 »

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