Step Defination – Page 14 – SoliteraTA

SoliteraTA

Step Defination

click on dropdown “element_name” and select element “element_name”

All Step Definition click on dropdown “element_name” and select element “element_name” Keyword Given, When, And, Then Description Will click on specified dropDown and then will select the specified element from the dropdown Declaration Code Element Application Test Data Then click on dropdown “numberFormatingDropDown” and select element “accountingFormating” in desktop application numberFormatingDropDown XPATH //*[@AutomationId=”NumberFormatGallery”][@Name=”Number Format”]/Button[@Name=”Open”] accountingFormating NAME Accounting 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 dropdown “element_name” and select element “element_name” Read More »

use “application_name” browser for execution

All Step Definition use “application_name” browser for execution Keyword Given, When, And, Then Description Will use the specified browser for execution, Browser name can be passed directly as well as can be defined in application file. Declaration Code Element Application Test Data Then use “Browser1″ browser for execution NILL Browser1 web_browser Chrome 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

use “application_name” browser for execution Read More »

switch to previous tab

All Step Definition switch to previous tab Keyword Given, When, And, Then Description Will switch to previous tab Declaration Code Element Application Test Data Then switch to previous tab NILL 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

switch to previous tab Read More »

switch to next tab

All Step Definition switch to next tab Keyword Given, When, And, Then Description Will switch to next tab Declaration Code Element Application Test Data Then switch to next tab NILL 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

switch to next tab Read More »

switch to browser saved as “<testdata_name>”

All Step Definition switch to browser saved as “<testdata_name>” Keyword Given, When, And, Then Description Will switch to the browser saved as vaiable name. Declaration Code Element Application Test Data Then switch to browser saved as “Window1″ NILL 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

switch to browser saved as “<testdata_name>” Read More »

save the current browser as “<testdata_name>”

All Step Definition save the current browser as “var_name” Keyword Given, When, And, Then Description Will save the current browser in the given variable name. Declaration Code Element Application Test Data Then save the current browser as “Window1″ NILL 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

save the current browser as “<testdata_name>” Read More »

accept alert after clicking on button “element_name”

All Step Definition accept alert after clicking on button “element_name” Keyword Given, When, And, Then Description Will click on the button and accept the alert Declaration Code Element Application Test Data Then accept alert after clicking on button “showAlertBtn” 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 file should be in xml format. Table of contents Keyword Description Declaration Browser Support Remarks Restriction

accept alert after clicking on button “element_name” Read More »

click on desktop window element at current cursor location for {string} times

Desktop step-Definition click on desktop window element at current cursor location for {string} times Keyword Given, When, And, Then Description Will click on the current desktop window multiple times Declaration Code Element Application Test Data Then click on desktop window element at current cursor location for “5” times NILL NILL NILL Remarks NILL Restriction Make sure the element is visible and clickable Table of contents Keyword Description Declaration Remarks Restriction

click on desktop window element at current cursor location for {string} times Read More »

check timer for desktop application is within {string} milliseconds

Desktop step-Definition check timer for desktop application is within {string} milliseconds Keyword Given, When, And, Then Description After stopping the timer will check if the given value is inside the elapsed time or not. Declaration Code Element Application Test Data Then check timer for desktop application is within “15000” milliseconds ” InputField XPATH //input[@id=”Input”] ” NILL NILL Remarks NILL Restriction The desktop window should be accessible and in focus. The timer must be start before using this step def. Table of contents Keyword Description Declaration Remarks Restriction

check timer for desktop application is within {string} milliseconds Read More »

stop timer for desktop application

Desktop step-Definition stop timer for desktop application Keyword Given, When, And, Then Description Stop the already started timer Declaration Code Element Application Test Data Then stop timer for desktop application NILL NILL NILL Remarks NILL Restriction The desktop window should be accessible and in focus. The timer must be start before using this step def Table of contents Keyword Description Declaration Remarks Restriction

stop timer for desktop application 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