September 2023 – SoliteraTA

SoliteraTA

Categories
Other Operations Step Defination web application operations

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

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

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

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

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
				
					when get past date of "48" hours from now and save as "RandomPastDate" variable in format "dd-MM-yyyy"
				
			
				
					NILL
				
			
				
					NILL
				
			
				
					NILL
				
			
Browser Support
Remarks
  1. The “String Value” that is used through test data file should be in angular brackets
  2. We can use any variable name
  3. (+int) for future and -int for past 0 for today

  4.  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
  1. Element and application file should be in xml format.
Categories
Other Operations Step Defination web application operations

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

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

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

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

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
				
					when get future date of "48" hours from now and save as "RandomFutureDate" variable in format "dd-MM-yyyy"
				
			
				
					NILL
				
			
				
					NILL
				
			
				
					NILL
				
			
Browser Support
Remarks
  1. The “String Value” that is used through test data file should be in angular brackets
  2. We can use any variable name
  3. (+int) for future and -int for past 0 for today

  4.  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
  1. Element and application file should be in xml format.
Categories
Other Operations Step Defination 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”

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

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

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
				
					Then replace ?changeHere? text with text "StoryRandomName" in element value of name "NewStoryName"
				
			
				
					"<elements>
 <element>
  <name>NewStoryName</name>
  <type>XPATH</type>
  <value>//span[contains(text(),"?changeHere?")]</value>
</element>
</elements>"
				
			
				
					NILL
				
			
				
					NILL
				
			
Browser Support
Remarks
  1. The “String Value” that is used through test data file should be in angular brackets
  2. We can use any variable name
Restriction
  1. Element and application file should be in xml format.
Categories
Browser Events Step Defination web application operations

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

All Step Definition

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

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

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

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

Keyword

Given, When, And, Then

Description

Will switch to the tab handle saved as variable name.

Declaration
				
					Then switch to tab which was saved using name "<TabName>"
				
			
				
					NILL
				
			
				
					NILL
				
			
A
TabName
BrowserWindowTab
Browser Support
Remarks
  1. The “String Value” that is used through test data file should be in angular brackets
  2. We can use any variable name
Restriction
  1. Element and application file should be in xml format.
Categories
Browser Events Step Defination web application operations

save current tab using name “<testdata_name>”

All Step Definition

save current tab using name “<testdata_name>”

save current tab using name “<testdata_name>”

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

save current tab using name “<testdata_name>”

Keyword

Given, When, And, Then

Description

Will save the current tab of browser in the given variable name.

Declaration
				
					Then save current tab using name "<TabName>"
				
			
				
					NILL
				
			
				
					NILL
				
			
A
TabName
BrowserWindowTab
Browser Support
Remarks
  1. The “String Value” that is used through test data file should be in angular brackets
  2. We can use any variable name
Restriction
  1. Element and application file should be in xml format.
Categories
Other Operations Step Defination web application operations

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 “<testdata_name>” days from today and save as “<testdata_name>” variable in format “<testdata_name>”

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

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

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

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
				
					when get past date of "17" days from today and save as "RandomPastDate" variable in format "dd-MM-yyyy"
				
			
				
					NILL
				
			
				
					NILL
				
			
				
					NILL
				
			
Browser Support
Remarks
  1. The “String Value” that is used through test data file should be in angular brackets
  2. We can use any variable name
  3. (+int) for future and -int for past 0 for today

  4.  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
  1. Element and application file should be in xml format.
Categories
Other Operations Step Defination web application operations

change default timeout to “<testdata_name>” seconds

All Step Definition

change default timeout to “<testdata_name>” seconds

change default timeout to “<testdata_name>” seconds

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

change default timeout to “<testdata_name>” seconds

Keyword

Given, When, And, Then

Description

Will change default timeout in seconds when finding elements

Declaration
				
					when change default timeout to "<time>" seconds
				
			
				
					NILL
				
			
				
					NILL
				
			
A
time
30
Browser Support
Remarks
  1. The “String Value” that is used through test data file should be in angular brackets
  2. We can use any variable name
Restriction
  1. Element and application file should be in xml format.
Categories
Step Defination UI Verification web application operations

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>”

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

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

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
				
					when click on button "showAlertBtn" and verify text in alert box partial matches with "This is a simple alert"
				
			
				
					"<elements>
  <element>
    <name>showAlertBtn</name>
    <type>XPATH</type>
    <value>//button[contains(text(),'Show Alert')]</value>
  </element>
</elements>"
				
			
				
					NILL
				
			
				
					NILL
				
			
Browser Support
Remarks
  1. The “String Value” that is used through test data file should be in angular brackets
  2. We can use any variable name
Restriction
  1. Element and application file should be in xml format.
Categories
Mouse Events Step Defination web application operations

scroll mouse and make element “element_name” visible

All Step Definition

scroll mouse and make element “element_name” visible

scroll mouse and make element “element_name” visible

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

scroll mouse and make element “element_name” visible

Keyword

Given, When, And, Then

Description

Will scroll to provided element and make it visible.

Declaration
				
					when scroll mouse and make element "chooseMethodology" visible
				
			
				
					"<elements>
 <element>
   <name>chooseMethodology</name>
   <type>XPATH</type>
   <value>(//div[@class='mdc-select__anchor'])[2]</value>
 </element>
</elements>"
				
			
				
					NILL
				
			
				
					NILL
				
			
Browser Support
Remarks
  1. The “String Value” that is used through test data file should be in angular brackets
  2. We can use any variable name
Restriction
  1. Element and application file should be in xml format.
Categories
Other Operations Step Defination web application operations

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 “<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>”

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>”

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

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>”

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
				
					When save coordinates of text "Submit" in element "testingPlaygroundHomePage" at "TopMost" position using OCR where xcoordinate is saved using name "xc" and ycoordinate using name "yc"
				
			
				
					<elements>
  <element>
    <name>testingPlaygroundHomePage</name>
    <type>XPATH</type>
    <value>//body[contains(@class,'post-template')]/parent::html</value>
  </element>
</elements>
				
			
				
					NILL
				
			
				
					NILL
				
			
Browser Support
Remarks
  1. The “String Value” that is used through test data file should be in angular brackets
  2. We can use any variable name
Restriction
  1. Element and application file should be in xml format.

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