web application operations – Page 4 – SoliteraTA

SoliteraTA

web application operations

replace ?changeHere? text with text “<testdata_name>” in element value of name “element_name”

All Step Definition replace ?changeHere? text with text “<testdata_name>” in element value of name “element_name” Keyword Given, When, And, Then Description Will replace text in ?changeHere? Declaration Code Element Application Test Data Then replace ?changeHere? text with text “StoryRandomName” in element value of name “NewStoryName” ” NewStoryName XPATH //span[contains(text(),”?changeHere?”)] ” 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

replace ?changeHere? text with text “<testdata_name>” in element value of name “element_name” Read More »

switch to tab which was saved using name “<testdata_name>”

All Step Definition switch to tab which was saved using name {testDataName} Keyword Given, When, And, Then Description Will switch to the tab handle saved as variable name. Declaration Code Element Application Test Data Then switch to tab which was saved using name “” NILL NILL A TabName BrowserWindowTab 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 tab which was saved using name “<testdata_name>” Read More »

save current tab using name “<testdata_name>”

All Step Definition save current tab using name {testDataName} Keyword Given, When, And, Then Description Will save the current tab of browser in the given variable name. Declaration Code Element Application Test Data Then save current tab using name “” NILL NILL A TabName BrowserWindowTab 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 current tab using name “<testdata_name>” Read More »

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

All Step Definition get past date of {int} days from today and save as {string} variable in format {string} Keyword Given, When, And, Then Description Will get past date which will come before mentioned days from now and store it in a variable Declaration Code Element Application Test Data when get past date of “17” days from today 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>” days from today and save as “<testdata_name>” variable in format “<testdata_name>” Read More »

change default timeout to “<testdata_name>” seconds

All Step Definition change default timeout to {int} seconds Keyword Given, When, And, Then Description Will change default timeout in seconds when finding elements Declaration Code Element Application Test Data when change default timeout to “” seconds NILL NILL A time 30 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

change default timeout to “<testdata_name>” seconds Read More »

click on button “element_name” and verify text in alert box partial matches with “<testdata_name>”

All Step Definition click on button “element_name” and verify text in alert box partial matches with “<testdata_name>” Keyword Given, When, And, Then Description Will check partial text in alert box Declaration Code Element Application Test Data when click on button “showAlertBtn” and verify text in alert box partial matches with “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 partial matches with “<testdata_name>” Read More »

scroll mouse and make element “element_name” visible

All Step Definition scroll mouse and make element “element_name” visible Keyword Given, When, And, Then Description Will scroll to provided element and make it visible. Declaration Code Element Application Test Data when scroll mouse and make element “chooseMethodology” visible ” chooseMethodology XPATH (//div[@class=’mdc-select__anchor’])[2] ” 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

scroll mouse and make element “element_name” visible Read More »

save coordinates of text “<testdata_name>” in element “element_name” at “<testdata_name>” position using OCR where xcoordinate is saved using name “<testdata_name>” and ycoordinate using name “<testdata_name>”

All Step Definition save coordinates of text {string} in element {string} at {int} position using OCR where xcoordinate is saved using name {string} and ycoordinate using name {string} Keyword Given, When, And, Then Description will return the co-ordinates of specified text on specified variable with <testdata_name> positions(i.e. TopMost|BottomMost|LeftMost|RightMost|index) and save X co-ordinates as <testdata_name> and Y co-ordinates as <testdata_name> Declaration Code Element Application Test Data When save coordinates of text “Submit” in element “testingPlaygroundHomePage” at “1” position using OCR where xcoordinate is saved using name “xc” and ycoordinate using name “yc” 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

save coordinates of text “<testdata_name>” in element “element_name” at “<testdata_name>” position using OCR where xcoordinate is saved using name “<testdata_name>” and ycoordinate using name “<testdata_name>” Read More »

extract text of element “element_name” and save it as “<testdata_name>” using OCR

All Step Definition extract text of element {string} and save it as {string} using OCR Keyword Given, When, And, Then Description Will get text of specified element using OCR and save it as string Declaration Code Element Application Test Data When extract text of element “practiceFormPrintEnteredContentLabel” and save it as “OCR_Text” using OCR ” practiceFormPrintContentInputField ID contentInput 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

extract text of element “element_name” and save it as “<testdata_name>” using OCR Read More »

combine “<testdata_name>” testdata with “<testdata_name>” testdata and save it as “<testdata_name>”

All Step Definition combine {string} testdata with {string} testdata and save it as {string} Keyword Given, When, And, Then Description Will combine two test data and save it in dynamic variable. Declaration Code Element Application Test Data When combine “Solitera” testdata with “Software” testdata and save it as “CombinedData” 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

combine “<testdata_name>” testdata with “<testdata_name>” testdata and save it 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