web application operations – Page 3 – SoliteraTA

SoliteraTA

web application operations

switch to frame “element_name”

Desktop step-Definition switch to frame “element_name” Keyword Given, When, And, Then Description Will switch to specific frame Declaration Code Element Application Test Data Then switch to frame “applicationIFrame” applicationIFrame XPATH //iframe[@id=’applicationiframe’] 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

switch to frame “element_name” Read More »

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 »

get past date of “<testdata_name>” hours from now and save as “<testdata_name>” variable in format “<testdata_name>”

All Step Definition get past date of {int} hours from now and save as {string} variable in format {string} Keyword Given, When, And, Then Description Will get past date which will come before mentioned hours from now and store it in a variable Declaration Code Element Application Test Data when get past date of “48” hours from now and save as “RandomPastDate” variable in format “dd-MM-yyyy” 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 (+int) for future and -int for past 0 for today  format supported: ddMMyyyy – 13042023 (13th April 2023) dd-MM-yyyy – 13-04-2023 MM/dd/yyyy – 04/13/2023 yyyy/MM/dd – 2023/04/13 dd MMM yyyy – 13 Apr 2023 dd MMMM yyyy – 13 April 2023 E, dd MMM yyyy – Thu, 13 Apr 2023 EEEE, dd MMMM yyyy – Thursday, 13 April 2023″ Restriction Element and application file should be in xml format. Table of contents Keyword Description Declaration Browser Support Remarks Restriction

get past date of “<testdata_name>” hours from now and save as “<testdata_name>” variable in format “<testdata_name>” Read More »

get future date of “<testdata_name>” hours from now and save as “<testdata_name>” variable in format “<testdata_name>”

All Step Definition get future date of {int} hours from now and save as {string} variable in format {string} Keyword Given, When, And, Then Description Will get future date which will come after mentioned hours from now and store it in a variable Declaration Code Element Application Test Data when get future date of “48” hours from now and save as “RandomFutureDate” variable in format “dd-MM-yyyy” 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 (+int) for future and -int for past 0 for today  format supported: ddMMyyyy – 13042023 (13th April 2023) dd-MM-yyyy – 13-04-2023 MM/dd/yyyy – 04/13/2023 yyyy/MM/dd – 2023/04/13 dd MMM yyyy – 13 Apr 2023 dd MMMM yyyy – 13 April 2023 E, dd MMM yyyy – Thu, 13 Apr 2023 EEEE, dd MMMM yyyy – Thursday, 13 April 2023″ Restriction Element and application file should be in xml format. Table of contents Keyword Description Declaration Browser Support Remarks Restriction

get future date of “<testdata_name>” hours from now and save as “<testdata_name>” variable in format “<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