Step Defination – Page 29 – SoliteraTA

SoliteraTA

Step Defination

cancel alert box

All Step Definition cancel alert box Keyword Given, When, And, Then Description Will click on decline button of alert Declaration Code Element Application Test Data When cancel alert box NILL NILL NILL Browser Support Google Chrome Firefox Edge Remarks    NILL Restriction    NILL Table of contents cancel alert box Keyword Description Declaration Browser Support Remarks Restriction

cancel alert box Read More »

drag element “element_name” into another element “element_name”

Desktop step-Definition drag element “element_name” into the element “element_name” Keyword Given, When, And, Then Description this will drag the first element into the second one. Declaration Code Element Application Test Data When drag element “TestFile” into the element “ContentBtn” ” TestFile XPATH //input[@id=”Test”] ContentBtn XPATH //input[@id=”Content”] ” 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

drag element “element_name” into another element “element_name” 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 »

drag element “element_name” and drop at xCords “<testdata_name>” and yCords “<testdata_name>” from element

Desktop step-Definition drag element “element_name” with xCords “<testdata_name>” and yCords “<testdata_name>” Keyword Given, When, And, Then Description Will Drag an element with cordinates Declaration Code Element Application Test Data When drag element “UseremailField” with xCords “” and yCords “” ” UseremailField XPATH //input[@id=”email”] ” NILL A B Value1 Value2 15 15 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

drag element “element_name” and drop at xCords “<testdata_name>” and yCords “<testdata_name>” from element Read More »

scroll mouse to page right from element “element_name”

Desktop step-Definition scroll right to “String Variable” Keyword Given, When, And, Then Description Will scroll Horizontal scrollbar right to specified element Declaration Code Element Application Test Data When scroll right to “chooseMethodologyDropDown” ” chooseMethodologyDropDown XPATH (//div[@class=’mdc-select__anchor’])[2] ” 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

scroll mouse to page right from element “element_name” Read More »

scroll mouse to page left from element “element_name”

Desktop step-Definition scroll left to “element_name” Keyword Given, When, And, Then Description Will scroll Horizontal scrollbar left to specified element Declaration Code Element Application Test Data When scroll left to “chooseMethodologyDropDown ” chooseMethodologyDropDown XPATH (//div[@class=’mdc-select__anchor’])[2] ” 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

scroll mouse to page left from element “element_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

Choose your Operating System