1. Home
  2. Opkey Help
  3. 25. Opkey Keyword Documentation
  4. 25.2.1 Generic Keywords – Action

25.2.1 Generic Keywords – Action

AcceptPopup

This keyword accepts the current popup. It doesn’t take any object/data input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

https://www.indianrail.gov.in/pnr_Enq.html

AcceptPopup.jpg

In this web page, this keyword accepts popup generated after clicking over Get Status without entering a valid PNR number.

In the above example, we click on Get Status to know the PNR status without entering the PNR number. While using this keyword, you should ensure that you are using this keyword with a relevant keyword (like OpenBrowser) which can open your web application having popup to be accepted.

Common Error conditions

Scenarios

Error Message

Debug Information

If popup is absent

Browser: Mozilla Firefox

URL: https://www.indianrail.gov.in/pnr_Enq.html

Note: keyword generating popup message, is not applied.

Unsatisfied Dependencies (-14200)

Popup not found

If URL of web application having popup is Not given

Browser: Mozilla Firefox

URL:

Argument Data Missing (-13200)

Argument(s) : (Browser;URL) are blank.

CaptureObjectSnapshot

This keyword is used to capture snapshot of provided object and returns the path of saved snapshot. It takes OR Object as Object Input Argument. It doesn’t take any data input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes the OR object whose snapshot has to be captured.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

Path of captured snapshot

If the keyword passes successfully

False

If the keyword fails

Blank If null object Input Argument is provided

Example

If you want to capture snapshot of any specified Object then use this keyword as shown below –

CaptureObjectSnapshot

Object

< Choose an Object from OR >

NoteThis keyword captures the snapshot of that particular Object provided and not of the entire page.

Common Error conditions

Scenarios

Error Message

Debug Information

If keyword is used without launching web-page on browser.

Insufficient Privileges (-14100)

DESCRIPTION:

The system does not have sufficient privileges to carry out a particular task. This mostly happens when the currently logged-in user at the execution site does not have permission to access a particular resource. The protected resource may be a network share, folder or a drive. User may contact the system administrator to sort out the issue.

Either Browser was never Opened  or all WebDriver instances were closed

If Null Object is provided Argument Data Missing (-13200) Data not provided for argument: ‘Object’. Expected StaticValue was empty.

CaptureSnapshot

This keyword captures Snapshot of the web application and saves the snapshot at specified path. It takes ImagePath as data input argument. You can save the captured snapshot in desired image file format (like .png, .jpg, .bmp, .jpeg, .gif, .tif etc.).

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

Image Path

Yes

This Keyword takes ImagePath

as data input arguments

Note: You should provide path of your local system

(Ex. C:UsersUsernameDocuments). By default

the keyword saves the image file with the name

as OpKey.png and if filename needs to be

provided you can provide path of your local

system storage along with the name of snapshot

file to be captured

(Ex. C:UsersUsernameDocumentsOpKey_

Snapshot.png)

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Give Image Path

Comments

C:UsersUsernameDocumentsOpKey.png

The captured screenshot will be saved in the document folder with OpKey.png file name

C:UsersUsernameDocumentsOpKey.jpg The captured screenshot will be saved in the document folder with OpKey.jpg file name
C:UsersUsernameDocumentsOpKey.bmp The captured screenshot will be saved in the document folder with OpKey.bmp file name
C:UsersUsernameDocumentsOpKey.jpeg The captured screenshot will be saved in the document folder with OpKey.jpeg file name
C:UsersUsernameDocumentsOpKey.gif The captured screenshot will be saved in the document folder with OpKey.gif file name
C:UsersUsernameDocumentsOpKey.tif The captured screenshot will be saved in the document folder with OpKey.tif file name

In the example table above, you can save your captured snapshot in desired image file format by providing the corresponding image path along with file name with relevant extension. Before using this keyword, you should ensure that you are using this keyword with a relevant keyword (like OpenBrowser) which can open your web application for capturing snapshot.

Common Error conditions

Scenarios

Error Message

Debug Information

If data argument is not given (No Image Path)

Browser: Mozilla Firefox

URL: www.opkey.com

ImagePath:

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected Static Value was empty.

If browser name & web application URL was not given

Browser:

URL:

ImagePath:  C:UsersuserDesktopOpKey.jpg   

    

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Argument(s) : (Browser;URL) are blank.

Description: -plugin-unable-to-take-screenshot

Either Browser was never opened or a… -plugin –unable-

ClearEditField

This keyword clears the value of specified Edit box. This keyword takes Edit box Object as Object Input argument. It does not take any Data Input Arguments.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes an Edit Box  object as object input argument.

 

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

This keyword clears the text in the specified edit field.

In the above screenshot, if you want to clear the Text in the “E-mail Address ”  EditBox then you can use the “ClearEditBox” keyword as follows:

ClearEditBox

Object

<  Choose an Edit Box Object from the OR  > Here,  E-mail Address

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given

Browser: Mozilla Firefox

URL:

https://cresconnect.crestechglo

bal.com/index.php?

Object Input Argument: No Object

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

When Browser name & URL are not given

Browser:

URL:

Object Input Argument: Given

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Either Browser was never Opened  or all WebDriver instances were closed

-plugin-unable-to-take-screenshot

ClearTextArea

This keyword clears the text from specified TextArea. This keyword takes TextArea object as Object Input argument. It does not take any Data Input Arguments.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes a Text Area  object

as Object  Input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data Input argument.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

ClearTextArea.jpg

This keyword clears the text area from the mapped object.

In the above screenshot, if you want to clear the Text from the  “Add Comment ”  TextArea then you can use the “ClearTextArea” keyword as follows:

ClearTextArea

Object

<  Choose an TextArea Object from the OR  > Here,  Add Comment

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given

Browser: Mozilla Firefox

URL:

https://cresconnect.crestechglo

bal.com/index.php?

Object Input Argument: No Object

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

When Browser name & URL are not given

Browser:

URL:

Object Input Argument: Given

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Argument(s): (Browser,URL) are blank

-plugin-unable-to-take-screenshot-

Either Browser was never Opened  or all WebDriver instances were closed

Click

This keyword clicks on the specified object. It takes OR object as input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes one object as object

input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data Input argument.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

https://www.crestechsoftware.com/CrestShop/

click.jpg

In this web page, user clicks on My Account to view account details.

In the above screenshot, if you want to click on “My Account” of CrestShop web application then this is how you will use “Click” keyword .

Click

Object

<  Choose an Object from the OR  > Here, My Account

While using “Click” keyword, you should ensure that you are using this keyword with a relevant keyword (like OpenBrowser) which can open your web application for clicking over desired object.

Common Error conditions

Scenarios

Error Message

Debug Information

If object is not given

Browser: Mozilla Firefox

URL:

https://www.crestechsoftware.com

/CrestShop/

Object: No object

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

If URL of web application is not given

Browser: Mozilla Firefox

URL:

Object: Mapped

Argument Data Missing (-13200)

Argument(s) : URL are blank

ClickButton

This keyword clicks on the specified object of type button. This keyword takes Button object as object input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes Button Object as

object input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

True

If the keyword passes successfully

False

If the Keyword fails

Example

URL

Comments

https://www.indianrail.gov.in/pnr_Enq.html

ClickButton.jpg

User clicks on

Get Status

button

in this web

page.

In the above screenshot, the user clicks on “Get Status” button of the web application. While using “ClickButton” keyword, you should ensure that you are using the keyword with a relevant keyword (like OpenBrowser) which can open your web application having button to be clicked upon. This is how you will use “ClickButton” keyword .

ClickButton

Object

<   Choose a button Object from the OR  > Here, Get Status

Common Error conditions

Scenarios

Error Message

Debug Information

If object is not given

Browser: Mozilla Firefox

URL: https://www.indianrail.gov.in/pnr_Enq.html

Object: No object

Argument Data

Missing (-13200)

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

If URL of web application is Not given

Browser: Mozilla Firefox

URL:

Object: Given

Argument Data Missing (-13200)

Argument(s) : URL are blank

If browser name & URL of web application is Not given

Browser:

URL:

Argument Data Missing (-13200)

Argument(s) : (Browser,URL) are blank

ClickButtonAndWait

This keyword clicks on given button and waits for the specified Time. It takes Button object and time in seconds as input argument. This keyword can be used as per requirement of your test scenario where after clicking to the given button you are required to wait for some time.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes Button object as

object input argument.

Data Input Arguments

Required?

Description

TimeOut

Yes

Specify the time in seconds

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

This keyword waits for 2 seconds after clicking the button Login

In the above screenshot, this keyword waits for 10 seconds after clicking the button “Login” button. While using “ClickButtonAndWait” keyword, you should ensure that you are using this keyword with a relevant keyword (like OpenBrowser) which comes first in Test execution and opens desired web application page having button to be clicked upon.

ClickButtonAndWait

Object

<  Choose an Button Object from the OR  > Here, Get Status

TimeOut

10

Common Error conditions

Scenarios

Error Message

Debug Information

If object argument & data argument are not given

Browser: Mozilla Firefox

URL: https://www.indianrail.gov.in/

pnr_Enq.html

OR Object:

Timeout:

Argument

Data Missing

(-13200)

Data

not provided

for

argument: ‘Object’. Expected StaticValue

was empty.

If data argument is Not given

Browser: Mozilla Firefox

URL: https://www.indianrail.gov.in

/pnr_Enq.html

OR Object: Mapped

Timeout:

Argument Data Missing (-13200)

Argument(s) : (Timeout) are blank.

ClickButtonInTableCell

This keyword clicks on a button available in table cell. It takes one Table type object as object input argument and Row Index, Column Index, Object Index  as data input argument.

For ClickButtonInTableCell  Keyword:

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one table object as  Object Input Argument.

Data Input Arguments

Required?

Description

Row Index

Yes

Specify the row index of the table cell.

ColumnIndex

Yes

Specify the column index of the table cell

Object Index

Yes

Specify the position of the object inside the Table cell. Index starts from ‘0’

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

This keyword  Clicks on the Apple button in  the specified table cell.

In the above Screenshot, if you want to click “Apple” button then  you can do so by using ClickButtonInTableCell  keyword as follows:

ClickButtonInTableCell

Object <    Choose an Table Object from the OR  >

Row Index

0

Column Index

1

Object Index 0

Common Error conditions

Scenarios

Error Message

Debug Information

If  the keyword is launched without using Browser on the web page.

Insufficient Privileges (-14100)

DESCRIPTION:

The system does not have sufficient privileges to carry out a particular task. This mostly happens when the currently logged-in user at the execution site does not have permission to access a particular resource. The protected resource may be a network share, folder or a drive. User may contact the system administrator to sort out the issue.

Either Browser was never Opened  or all WebDriver instances were closed

When Invalid Object Input Arguments are provided. Argument Data Invalid (-13300) 

DESCRIPTION:

The data value for one or more input arguments was not what was expected. This might happen when the input is expected in a specific format or should be chosen from a predefined set of values. Check for spell errors and capsing.

Specified Object is not Table.

ClickImage

This keyword clicks on a specified image. This keyword is mostly used when user want to click on any given image. It takes one Image object as object input arguments. It does not take any Data Input Arguments.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes image object from OR .

Data Input Arguments

Required?

Description

Data

No

This Keyword does not take any object from OR .

Output

It clicks on the given image object.

If the keyword passes successfully

False

If the keyword fails

Example

If you click on the above image then you need to use “ClickImage” keyword.

ClickImage

Image <   Choose your Image Object From OR   >

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given

Browser: Mozilla Firefox

URL:

https://cresconnect.crestechglo

bal.com/index.php?

Object Input Argument: No Object

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

When Browser name & URL are not given

Browser:

URL:

Object Input Argument: Given

Insufficient Privileges (-14100)

Either Browser was never Opened  or all WebDriver instances were closed.

ClickImageByTitle/Alt

This keyword clicks on image on basis of image title or alt attribute given. It takes Title/Alt, Index, Partial Text as Data Input Arguments.

For ClickImageByTitle/Alt  Keyword:

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

Title/Alt

Yes

Specify the title or Alt Property of the image to be clicked.

Index No Specify the position of the image object. Index starts from ‘0’

Partial Text

         Yes Provide True if text to search is partial Text

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

https://cresconnect.crestechglobal.com/home.php

1.jpg

This keyword

clicks on image

on basis of image title

or alt attribute given.

In the above Screenshot, if you want to click on the  “CresConnect” image then, here is how you will use “ClickImageByTitle/Alt ” keyword.

ClickImageByTitle/Alt

Title/Alt  Porto  
Index
Partial Text False

Common Error conditions

Scenarios

Error Message

Debug Information

If  the keyword is used without launching the browser on the web page.

Insufficient Privileges (-14100)

DESCRIPTION:

The system does not have sufficient privileges to carry out a particular task. This mostly happens when the currently logged-in user at the execution site does not have permission to access a particular resource. The protected resource may be a network share, folder or a drive. User may contact the system administrator to sort out the issue.

Either Browser was never Opened  or all WebDriver instances were closed

If Invalid Data Input Arguments is provided

Object Not Found (-11100)

 

DESCRIPTION:

The object on which an action was supposed to be performed, was not found on the currently active page or view. This happens when the page is not properly loaded or the properties of the object are not exactly matched.

Not able to find image by Alt/Title

ClickInTableCellByQuery

This keyword clicks in the specified cell of the table using query. It takes one table type object as object input arguments.

For ClickInTableCellByQuery  Keyword:

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one table object as  Object Input Argument. You can select a Table Object from the Object Repository whose cell has to be clicked by Query.

Data Input Arguments

Required?

Description

Column Name/Index

Yes

Specify the column name or index whose cell has to be clicked

Object Index Yes  Specify the position of the object inside the Table cell. Index starts from ‘0’
Header Yes Specify the header of the column by which you can uniquely identify the table cell to be clicked.
Value Yes Specify the Value of the column cell by which you can uniquely identify the table cell to be clicked.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

1.jpg

This keyword

clicks in

the highlighted

table cell using

Query.

In the above Screenshot, if you want to click in the highlighted  Table cell , you can do so by using “ClickInTableCellByQuery ” keyword as follows:

ClickInTableCellByQuery

Object  <   Choose your table Object From OR   >
Column Name/Index   0   
Object Index   0   
Header 1

Hello2

Value 1 hi1

Common Error conditions

Scenarios

Error Message

Debug Information

If  the keyword is used without launching browser on the web page.

Insufficient Privileges (-14100)

DESCRIPTION:

The system does not have sufficient privileges to carry out a particular task. This mostly happens when the currently logged-in user at the execution site does not have permission to access a particular resource. The protected resource may be a network share, folder or a drive. User may contact the system administrator to sort out the issue.

Either Browser was never Opened  or all WebDriver instances were closed

When Invalid Data Input Arguments are provided.

Argument Data Invalid (-13300)

 

DESCRIPTION:

The data value for one or more input arguments was not what was expected. This might happen when the input is expected in a specific format or should be chosen from a predefined set of values. Check for spell errors and capsing.

Index is invalid.

When Invalid Object Input Arguments are

Argument Data Invalid (-13300)

 

DESCRIPTION:

The data value for one or more input arguments was not what was expected. This might happen when the input is expected in a specific format or should be chosen from a predefined set of values. Check for spell errors and capsing.

Specified Object is not Table.

ClickLink

This keyword clicks on specified link. It takes link object as Input argument. It does not take any Data Input Argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes link object from OR as object input argument.

Data Input Arguments

Required?

Description

 Data

           

No
This keyword doesn’t take any data input argument.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

https://www.crestechsoftware.com/CrestShop/

click.jpg

In this web page, user clicks on My Account to view account details.

In this example, we click on My Account of CrestShop web application. While using “ClickLink” keyword, you should ensure that you are using this keyword with a relevant keyword (like OpenBrowser) which can open your web application having respective link to be clicked upon.

ClickLink

Object

<   Choose your Link Object From OR   >

Common Error conditions

Scenarios

Error Message

Debug Information

If object is not given

Browser: Mozilla Firefox

URL: https://www.crestechsoftware.

com/CrestShop/

Object: No object

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

If URL of web application is Not given

Browser: Mozilla Firefox

URL:

Object: Given

Argument Data Missing (-13200)

Argument(s) : URL are blank

If browser name & URL of web application are Not given

Browser:

URL:

Argument Data Missing (-13200)

Argument(s) : (Browser,URL) are blank

ClickLinkInTableCell

This keyword clicks on a link inside any table cell. This keyword is mostly used in situations where you have dynamic links within your table cells. The text of link might change in different scenarios.

For example, you want to click on link available inside any table cell.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one table object input argument. You can choose the table object from your Object Repository within which you want to click on this link

Data Input Arguments

Required?

Description

Row Index

Yes

Specify the Row number of the cell in which link appears.

Note: Row Index starts from zero.By default it takes ‘0’ for row index

 

Column Index

 

Yes

Specify the Column number of the cell in which link appears.

Note: Column Index starts from zero.By default it takes ‘0’ for column index

Object Index

Yes

Specify the index of link element inside column cell.

Note: Object Index of Link starts from zero.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

For example if you want to click on an object named “News” on a webpage “https://sstsinc.com”, then you can use this keyword for clicking on the object by providing the object’s text to it.

In the example table above, if you want to click on “Number” link in 2nd Row 2nd column, here is how you will use this keyword.

ClickLinkInTableCell

Object  <      Choose your Table Object From OR     >

Row Index

1

Column Index 1
Object Index 0

Common Error conditions

Scenarios

Error Message

Debug Information

If table object is not found

Object Not Found

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

If specified cell is not found

Argument Data Invalid

Given column not exist in table

OR

Given row not exist in table

If no link is found at specified object index

Argument Data Invalid

No Link found in the Table Cell

ClickOnObjectInTableCell

This keyword clicks on specified object available inside any table cell. It takes object, Row index, column index, tag and Tag Index as input argument.This keyword is mostly used in situations where you have to click on an object within your table cells. The type of object might change in different scenarios.

For example, you want to click on object available inside any table cell and perform action on it.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object input argument. You can choose the table object from your Object Repository within which you want to click on this link.

Data Input Arguments

Required?

Description

Row Index

Yes

Specify the Row number of the cell in which link appears.

Note: Row Index start from zero .

Column Index Yes 

Specify the Column number of the cell in which link appears.

Note: Column Index start from zero .

Tag Yes 

Specify tag of item

Tag Index Yes  specify the Index of object in table cell
Note: Indexing of object start from zero.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

In the example table above, if you want to click on “Your Name” editbox in 2nd Row last column, here is how you will use this keyword “ClickOnObjectInTableCell”.

ClickOnObjectInTableCell

Object  <      Choose your Table Object From OR     >

Row Index

1

Column Index 1
Tag INPUT
Tag Index 0

Common Error conditions

Scenarios

Error Message

Debug Information

If table object is not found

Object Not Found

Data not provided for argument: ‘Object’. Expected Static Value was empty.

If specified cell is not found Argument Data Invalid Given row not exist in table
If no object is found in the specified cell Unsupported Operation Given row does not exist in table cell

ClickTableCell

This keyword clicks on the specified object in a table cell.  

This keyword is mostly used in situations where you want to click on a specified object within your table cell. The element of the table cell might change in different scenarios. It takes an OR Object of table type as Object Input Argument and Row Index, column index, tag & Tag index as data input arguments.

For example, you want to click inside any table cell.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes one table object Input argument. You can choose table object from your Object Repository

Data Input Arguments

Required?

Description

Row Index

Yes

This argument takes row number of the table where starting index is “0”.

Column Index Yes This argument takes Column number of the table where starting index is “0”.
Tag Yes

Specify Object Tag.

Give the Tag value of parent object.

Tag Index Yes

Specify the index of element in the table cell Tag Index of Link starts from zero.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

https://www.december.com/html/3.2/element/textarea.html

Keywords.jpg

This keyword clicks

on the specified

cell of the table.

In the example above, if you want to click in the Table cell Object Text Area “Your Comments”  then, use this keyword as shown below:

ClickTableCell

Object <      Choose your Table Object From OR     >
Row Index   1  
Column Index     1   
Tag      Text Area   
Tag Index     0  

Common Error conditions

Scenarios

Error Message

Debug Information

When no object is provided

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Data not provided for argument: ‘Object’. Expected Static Value was empty.

When InValid object and blank Data Input Arguments are provided.

Argument Data Invalid (-13300)

DESCRIPTION:

The data value for one or more input arguments was not what was expected. This might happen when the input is expected in a specific format or should be chosen from a predefined set of values. Check for spell errors and capsing.

Specified Object is not a table

ClickTableCellAndWait

This keyword clicks on the specified cell of table type object and wait for the specified time.

This keyword is mostly used in situations where you need to wait for some time after clicking in the table cell. The element of the table cell  might change in different scenarios. It takes an OR Object of table type as Object Input Argument and Row Index, column Index, tag, Tag Index, timeout as data input arguments.

For example, you want to click inside any table cell and wait.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes one table object Input argument. You can choose table object from your Object Repository

Data Input Arguments

Required?

Description

Row Index

Yes

This argument takes row number of the table where starting index is “0”.

Column Index Yes This argument takes Column number of the table where starting index is “0”.
Tag Yes

Specify Object Tag.

Give the Tag value of parent object.

Tag Index Yes

Specify the index of element in the table cell Tag Index of Link starts from zero.

TimeOut Yes specify the time (in seconds) that the keyword should wait after clicking on the specified Object.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

https://en.wikipedia.org/wiki/List_of_Bollywood_films_of_2017

Keywords.jpg

This keyword clicks on the specified cell of the table and then waits for the specific time.

In the example above, if you want to click in the Table cell Object Textarea “Your Comments”  and wait for specified time then, use this keyword as shown below:

ClickTableCellAndWait

Object <      Choose your Table Object From OR     >
Row Index   1  
Column Index      1   
Tag      Text Area   
Tag Index      0  
Time Out     5   

Common Error conditions

Scenarios

Error Message

Debug Information

When no object is provided

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Data not provided for argument: ‘Object’. Expected Static Value was empty.

When InValid object and blank Data Input Arguments are provided.

Argument Data Invalid (-13300)

DESCRIPTION:

The data value for one or more input arguments was not what was expected. This might happen when the input is expected in a specific format or should be chosen from a predefined set of values. Check for spell errors and capsing.

Specified Object is not table

CloseAllBrowsers

This keyword closes all the open browser sessions started by OpKey. It does not take any input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Browser

Browser Name

Comment

Browser 1

Browser 2

Mozilla Firefox Firefox.jpg

Google Chrome Chrome.jpg

In this example, CloseAllBrowsers keyword closes all browsers opened by OpKey.

Common Error conditions

Scenarios

Error Message

Debug Information

If given URLs in browsers are not valid

Browser: Mozilla Firefox

URL: bvmmn,m./,

Browser: Mozilla Firefox

URL: www.m,m.,m.,./?/

Conflicting Configuration (-14400)

2 instance(s) of WebDriver

existsClosing: about:blank&utm_

content=first

runClosing: https://www.m,m.,m.,./?/

Argument(s) : (Browser;URL) are blank.

If given browser names are not valid

Browser: nb,m.,

URL: www.opkey.com

Browser: nb,m.,

URL: www.opkey.com

Argument Data Invalid (-13300)

Please Reverify the BrowserName at OpenBrowser step.

plugin-unable-to-take-snapshot-

CloseBrowser

This keyword  closes  the currently opened browser session. It takes the browser title of the opened web application as data input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

Title

Yes

This keyword takes the Browser Title as  data input argument.

Output

It closes the web application running over the browser

If the keyword passes successfully

False

If the keyword fails

Example

Suppose you want to close the www.flipkart.com web application running over the mozilla Firefox web browser then you can use the keyword “Close Browser” as follows:

1.jpeg

CloseBrowser

Title

Online Shopping Site for Mobiles, Fashion, Books, Electronics, Home Appliances and More.   

Common Error conditions

Scenarios

Error Message

Debug Information

If browser name and URL of web application is not given.

Browser:

URL:

Object Input Argument: Object given

Insufficient Privileges (-14100)

DESCRIPTION:

The system does not have sufficient privileges to carry out a particular task. This mostly happens when the currently logged-in user at the execution site does not have permission to access a particular resource. The protected resource may be a network share, folder or a drive. User may contact the system administrator to sort out the issue.

Either Browser was never Opened  or all WebDriver instances were closed

When Blank Data Input Arguments are passed.

Argument Data Missing (-13200)

 

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Argument(s) :(Title) is/are blank.

CloseSelectedWindow

This keyword closes the selected window. It takes title name of the window to be closed as data input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

Title

Yes

Specify the Title of the window that has to be closed.

Output

It closes the given window

If the keyword passes successfully

False

If the keyword fails

Example

In the above  screenshot if you want to close the opened window on the browser, you can use “CloseSelectedWindow” keyword as follows:

CloseSelectedWindow

Title

Crestech

Common Error conditions

Scenarios

Error Message

Debug Information

When the Data Input Argument “Title ” is incorrect.

Title : Cres

Argument Data Invalid (-13300)

DESCRIPTION:

The data value for one or more input arguments was not what was expected. This might happen when the input is expected in a specific format or should be chosen from a predefined set of values. Check for spell errors and capsing.

Actually Found : < CresConnect > and Expected :

When the Data Input Argument “Title ” has been left blank.

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Argument(s) Title is/are blank.

CopyFromClipBoard

This keyword copies the content from clipboard on the provided location like on editbox, textarea or in any  file.
This keyword is used in situations where you need to provide data in an editfield or file or textarea from clipboard. The text of clipboard might change in different scenario.

Note: Some data should be available in your clipboard.

For example,  if you want to type text on any editbox from data available in clipboard, you will use output of “CopyFromClipBoard” keyword as input of “TypeTextOnEditBox” keyword .

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

 

This keyword copies the content from clipboard on the provided location like on editbox, textarea or in any  file.
This keyword is used in situations where you need to provide data in an editfield or file or textarea from clipboard. The text of clipboard might change in different scenario.

If the keyword passes successfully

Data on clipboard is not fully string

If the keyword fails

Example

In the example above, if you want to type text on “FirstName” editbox using data from clipboard, here is how you will use this keyword.

Create a flow of TC/FL and add “CopyFromClipBoard” keyword and user is having data “opkey” in clipboard.

Create “StepOutput” variable (say “output1”) of this “CopyFromClipBoard” keyword .

Now add “TypeTextOnEditBox” keyword and use “output1” (output of above step) in DataInputArguments of this keyword.

The content of clipboard will be available on “Editbox” after execution.

Note: No error condition available for this keyword.

DeSelectAllDropDownItemsAndWait

This keyword deselects all previously selected items from the dropdown and waits for specified seconds.

This keyword is mostly used in situations where you need to remove all selection from a dropdown and then wait for specified seconds. Number of previously selected item in dropdown might change in different scenarios.

For example, you want to remove all selection from any dropdown and then wait for the time specified.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one dropdown object input argument. You can choose the dropdown object from your Object Repository from which you want to deselect all items.

Data Input Arguments

Required?

Description

Timeout

Yes

Specify the time upto which you want to wait for object to be visible and operable.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

In the above screenshot, if you want to deselect all three selections  “Agatti Island”, “Agra” and “Ahmedabad”, here is how you will use “DeSelectAllDropDownItemsAndWaitkeyword

DeSelectAllDropDownItemsAndWait

Object

<  Choose an Dropdown Object from the OR  > Here, Within India

TimeOut

10

Common Error conditions

Scenarios

Error Message

Debug Information

If dropdown object is not found

Object Not Found

Cannot locate element with text

If timeout not specified

Argument Data Missing

Argument are missing

DeSelectCheckBox

This keyword deselects the selected checkbox. It takes checkbox object as Object input argument but it doesn’t take any data input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes checkbox object as object input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

12.jpg

This keyword deselects the selected checkbox

In this example, “DeselectCheckBox” keyword deselects the selected checkbox . While using “DeselectCheckBox” keyword, you should ensure that you are using this keyword with a relevant keyword (like OpenBrowser) which can open your web application having checkbox to be cleared/unchecked.

DeSelectCheckBox

Object

<  Choose an CheckBox Object from the OR  > Here, CheckBox

Common Error conditions

Scenarios

Error Message

Debug Information

If OR object is not mapped with the

DeSelectCheckBox keyword.

Browser: Mozilla Firefox

URL: https://www.globalguideline.com

/JavaScript_Guide/preview.php?JScript=Check_box_selection_using_Form

Object Input Argument: No Object

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

If URL of web application is not given in OpenBrowser

Browser: Mozilla Firefox

URL:

Object Input Argument: Object Mapped

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Argument Data Missing (-13200)

Argument(s) : (URL) are blank

Either Browser was never Opened  or all WebDriver instances were closed

-plugin-unable-to-take-screenshot-

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

If browser name is not given in OpenBrowser

Browser:

URL: https://www.globalguideline.com

/JavaScript_Guide/preview.php?JScript=Check_box_selection_using_Form

Object Input Argument: Object Mapped

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Argument(s) : (URL) are blank

Either Browser was never Opened  or all WebDriver instances were closed

-plugin-unable-to-take-screenshot-

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

DeSelectCheckBoxAndWait

This keyword deselects the specified selected CheckBox and wait for the given time. It takes checkbox object and time (in seconds) to wait after clearing that checkbox.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes checkbox object as object input argument.

Data Input Arguments

Required?

Description

TimeOut

Yes

This keyword takes timeout as data input argument.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

12.jpg

Timeout : 10

This keyword deselects the specified selected CheckBox and wait for the given time.

In this example, this keyword deselects the selected “checkbox” and waits for the given timeout value. While using “DeSelectCheckBoxAndWait” keyword, you should ensure that you are using this keyword with a relevant keyword (like OpenBrowser) which can open your web application having checkbox to be cleared/unchecked.

DeSelectCheckBoxAndWait

Object

<  Choose an CheckBox Object from the OR  > Here, CheckBox

TimeOut                                             10 

Common Error conditions

Scenarios

Error Message

Debug Information

When timeout value is not given.

Browser: Mozilla Firefox

URL: https://www.globalguideline.com

/JavaScript_Guide/preview.php?JScript=Check_box_selection_using_Form

Object Input Argument: Object Mapped

Object Input Argument: Timeout Null

Argument Data Missing (-13200)

Argument(s) : (Timeout) are blank

If Object and Timeout value is not given

Browser: Mozilla Firefox

URL: https://www.globalguideline.com

/JavaScript_Guide/preview.php?JScript=Check_box_selection_using_Form

Object Input Argument:

Object Input Argument: Timeout Null

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected StaticValue was empty

If browser name and

URL of web application is not given.

Browser:

URL:

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Argument(s) : (URL) are blank

Either Browser was never Opened  or all WebDriver instances were closed

DeSelectDropDownItem

This keyword deselects the previously selected item from a dropdown and reset the object to it’s default value. This keyword takes dropdown object and value to be deselected as Data Input Arguments.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes dropdown object as object input argument.

Data Input Arguments

Required?

Description

Item String

Yes

Specify the Item to be deselected from the dropdown.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

This keyword deselects the selected value “1″ from the dropdown

In the example screenshot, if you want to deselect the selected item “1” from the dropdown list and reset the object to it’s default value. Then you can use “DeSelectDropDownItem” as follows.

DeSelectDropDownItem

Object

<  Choose an DropDown Object from the OR  > Here, Within India

ItemString                          1

While using this keyword, you should ensure that you are using this keyword with a relevant keyword (like OpenBrowser) which can open your web application having dropdown list of items.

Common Error conditions

Scenarios

Error Message

Debug Information

If Object in Object input argument and ItemString in Data input argument is not given

Browser: Mozilla Firefox

URL: https://www.crestechsoftware.com/

CrestShop/

Object Input Argument: Object not given

Data Input Argument: Item not given

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected StaticValue was empty

If browser name and URL of web application is not given.

Browser:

URL:

Object Input Argument: Object given

Data Input Argument: Item given

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Argument(s) : (URL) are blank

Either Browser was never Opened  or all WebDriver instances were closed

-plugin-unable-to-take-screenshot-

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

DeSelectDropDownItemAndWait

This keyword deselects the previously selected items from a dropdown and reset the object to it’s default value and waits for the given timeout. This keyword takes dropdown object as Object Input argument and timeout as Data Input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes dropdown object as object input argument.

Data Input Arguments

Required?

Description

ItemString Yes Specify the Item to be deselected from the dropdown.

Timeout

Yes

Specify time in seconds.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

Timeout = 10

This keyword deselects the specified selected items from a dropdown and waits for specified time.

In the above screenshot, If you want to deselects the selected item “1” and then waits for the given timeout then this is how you will use “DeSelectDropDownItemAndWait” keyword .

DeSelectDropDownItemAndWait

Object

<  Choose an DropDown Object from the OR  > Here, Within India

ItemString   1
TimeOut 10

While using “DeSelectDropDownItemAndWait” keyword, you should ensure that you are using this keyword with a relevant keyword (like OpenBrowser) which can open your web application having dropdown list of items.

Common Error conditions

Scenarios

Error Message

Debug Information

If timeout and Item String is not given in

Data input argument

Browser: Mozilla Firefox

URL: https://www.crestechsoftware.

com/CrestShop/

Object Input Argument: Object given

Data Input Argument: Timeout not given

Argument Data Missing

Argument(s) : (Timeout) are blank

If browser name and URL of web application is not given.

Browser: Mozilla Firefox

URL: https://www.crestechsoftware.com

/CrestShop/

Object Input Argument: Object Not given

Data Input Argument: Item given

Data Input Argument: Timeout given

Argument Data Missing (-13200) Data not provided for argument: ‘Object’. Expected StaticValue was empty.

DeSelectMultipleDropDownItem

This keyword deselects specified items from multi dropdown object.

This keyword is mostly used in situations where you need to remove few items  from a multi dropdown object.The Number of item you want to deselect from multi dropdown might change in different scenarios.

For example, you want to deselect two item from the multiple selected dropdown items.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one multi dropdown object input argument. You can choose the multi dropdown object from your Object Repository from which you want to deselect several items.

Data Input Arguments

Required?

Description

ItemString

Yes

Specify the name of item which you want to deselect.

Note: You can provide more than one item by separating them from delimiter(for ex delimiter can be colon ’:’,semicolon ’;’ etc.)

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

In the Multiple selection dropdown above, if you want to deselect two selections  “Agartala” and “Agatti Island”, here is how you will use this keyword “DeSelectMultipleDropDownItem”.

DeSelectMultipleDropDownItem

 Object

<  Choose an DropDown Object from the OR  > Here, Within India

ItemString

Agartala; Agatti Island

Note: Delimiter can be ‘;’ , ‘:’ etc.

Common Error conditions

Scenarios

Error Message

Debug Information

If dropdown object is not found

Object Not Found

Cannot locate element with text

If ItemString specified is blank or incorrect

Text Not Found

Expected item does not exist among selected option

DeSelectMultipleDropDownItemInTableCell

This keyword deselects specified items from multi dropdown object placed inside a table cell. If there are multiple items selected and user need to deselect two items then user needs to use this keyword twice, once for each item to be deselected. This keyword is mostly used in situations where you want to deselect multiple selected items in table cell before performing any action on it. For example, you want to deselect the selected items in table cell.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one table object input argument. You can choose the table object from your Object Repository.

Data Input Arguments

Required?

Description

Row Index

Yes

Specify Row id of table. Starting index must be zero.

Column Index Yes

Specify Column id of table. Starting index must be zero.

Object Index Yes Specify the index. Starting index must be zero.
Value Yes This Keyword takes the text value which is selected in dropdown.

Note: Index Value must start from ‘0’ onwards.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

1.jpg

In the above Screenshot, if you wish to deselect “Opel” from the multi dropdown then you can use this keyword “DeSelectMultipleDropDownItemInTableCell” as follows:

DeSelectMultipleDropDownItemInTableCell

Object <   Choose your table object from OR   >
Row Index 0
Column Index 0
Object Index 0
Value Opel

Common Error conditions

Scenarios

Error Message

Debug Information

If no object is selected

<Data not provided for argument: ‘Object’. Expected StaticValue was empty.>

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

If Object is Provided but Data input argument is not Provided Argumemt(s) : (Row Index;Column Index;Index;Value) are blank.

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

If Object is not Provided but Index Value is Provided Data not provided for argument: ‘Object’. Expected StaticValue was empty.

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

If Index data is wrong

Expected item does not exist among selected option(s)


Actually Found :<> and Expected :<6646>

Text Not Found (-11300)

DESCRIPTION:

No object could be located on the currently active page/view with the matching text. This happens mostly when the page is not properly loaded or the view is not properly rendered. It might happen with a misspelled argument to the keyword.

DismissPopUp

This keyword removes currently available popup on browser.

This keyword is mostly used in situations where we don’t have any information about title of the pop up and you can dismiss such pop up using “DismissPopup” keyword. It don’t require any Object input argument as well as any Data input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

Data

NO

This keyword doesn’t take any data input argument.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

In the screenshot above, if you want to remove this pop up “Message from webpage” , you can use “DismissPopup” keyword. It removes any available pop from the active window.

Common Error conditions

Scenarios

Error Message

Debug Information

If popup not found on browser

Unsatisfied Dependencies

Popup not found

DoubleClick

This keyword double clicks on the specified object. It takes one object as input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes one object as object input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

DOubleclick 1.jpg

In this web page, this keyword double clicks on the Double click me button to perform the desired action.

In the above screenshot, we will double click on “Double-click me” button to perform the desired action. While using Doubleclick keyword, you should ensure that you are using this keyword with a relevant keyword (like OpenBrowser) which can open your web application having a button in which double click is accepted.

DoubleClick

Object

< Choose your object from Object Repository > Here, Double-click me

Common Error conditions

Scenarios

Error Message

Debug Information

When Browser Name & URL are not given.

Browser:

URL:

Object Input Argument: Double click me

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Either Browser was never Opened  or all WebDriver instances were closed

-plugin-unable-to-take-screenshot-

If Valid object Input argument is provided

Browser: Mozilla Firefox

URL: https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_ev_ondblclick

Object Input Argument: Double click me

Done Not Available.
When No object is provided.

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

DoubleClickAndWait

This keyword double clicks on an object and waits for the specified time after double click.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes one object as object input argument.

Data Input Arguments

Required?

Description

Time out

Yes

This keyword takes timeout value as data input argument.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

DOubleclick 1.jpg

In this web page, this keyword double clicks on the Double click me button and waits for 10 seconds to perform the desired action.

In the above screenshot, if you want to double click on Double click me button and then wait for the specified time then you can use “DoubleClickAndWait” keyword as follows:

DoubleClickAndWait

Object

< Choose your object from Object Repository > Here, Double-click me

Time Out  10

While using this keyword, you should ensure that you are using this keyword with a relevant keyword (like OpenBrowser) which can open your web application having a object in which double click is accepted.

Common Error conditions

Scenarios

Error Message

Debug Information

When timeout value is not given.

Browser: Mozilla Firefox

URL: https://www.globalguideline.com

/JavaScript_Guide/preview.php?JScript=Check_box_selection_using_Form

Object Input Argument: Object Mapped

Object Input Argument: Timeout Null

Argument Data Missing (-13200)

Argument(s) : (Timeout) are blank

If Object and Timeout value is not given

Browser: Mozilla Firefox

URL: https://www.globalguideline.com

/JavaScript_Guide/preview.php?JScript=Check_box_selection_using_Form

Object Input Argument: Timeout Null

Argument Data Missing (-13200) Data not provided for argument: ‘Object’. Expected StaticValue was empty

If browser name and URL of web application is not given.

Browser:

URL:

Object Input Argument: Object Mapped

Object Input Argument: Timeout 2

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Argument(s) : (URL) are blank

Either Browser was never Opened  or all WebDriver instances were closed

-plugin-unable-to-take-screenshot-

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

DoubleClickAt

This keyword double clicks on object according to specified co-ordinates.

This keyword is used in situations where you want to double click on Object according to its position on web page, when we are not able to identify that object.

For Example: you want to double click on button using its x and y co-ordinates

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object input argument. You can choose the object from your Object Repository on which you want to perform click operation.

Data Input Arguments

Required?

Description

Co-ordinates

Yes

Specify the (X;Y) co-ordinates of specified object.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

In the example screenshshot, if you need to double click on “Click to log events” button, then provide (X;Y) co-ordinates of this button from web page, then you can use the keyword “DoubleClickAt” as follows:

DoubleClickAt

Object

< Choose your object from Object Repository > Here, Click to log events

Coordinates 50;60

Common Error conditions

Scenarios

Error Message

Debug Information

If keyword is used without launching web-page on browser.

Insufficient Privileges (-14100)

DESCRIPTION:

The system does not have sufficient privileges to carry out a particular task. This mostly happens when the currently logged-in user at the execution site does not have permission to access a particular resource. The protected resource may be a network share, folder or a drive. User may contact the system administrator to sort out the issue.

Either Browser was never Opened  or all WebDriver instances were closed

If object is not found Argument Data Missing Data not provided for argument: ‘Object’. Expected StaticValue was empty.

DoubleClickButton

This keyword double clicks on specified button object. It takes a button object as input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes button object as object input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

DOubleclick 1.jpg

In this web page, this keyword double clicks on the button “Double click me” button to perform the desired action.

In the above screenshot, if you want to double click on “Double click me” button to perform the desired action then here is how you will use “DoubleclickButton” keyword.

DoubleClickButton

Object

< Choose your button object from Object Repository > Here, Double Click Me

While using this keyword, you should ensure that you are using this keyword with a relevant keyword (like OpenBrowser) which can open your web application having a button in which double click is accepted.

Common Error conditions

Scenarios

Error Message

Debug Information

When Browser Name & URL are not given.

Browser:

URL:

Object Input Argument: Double click me

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Either Browser was never Opened  or all WebDriver instances were closed

-plugin-unable-to-take-screenshot-

If Valid object Input argument is provided

Browser: Mozilla Firefox

URL: https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_ev_ondblclick

Object Input Argument: Double click me

 

Done

 

Not Available.

When No object is provided.

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

DoubleClickImage

This keyword double clicks on the specified image object. This keyword is mostly used when user want to double click on the image. It takes one Image object as object input arguments.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes image object from OR

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

It double clicks on the given image object.

If the keyword passes successfully

False

If the keyword fails

Example

ClickImage.jpg

If you wish to double click on the highlighted image then here is how you will use “DoubleClick Image” keyword.

DoubleClickImage

Object

<   Choose your Image Object From OR   >

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given

Insufficient Privileges (-14100)

DESCRIPTION:

The system does not have sufficient privileges to carry out a particular task. This mostly happens when the currently logged-in user at the execution site does not have permission to access a particular resource. The protected resource may be a network share, folder or a drive. User may contact the system administrator to sort out the issue.

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

When Browser name & URL are not given

Browser:

URL:

Object Input Argument: Given

Insufficient Privileges (-14100)

Argument(s): (Browser,URL) are blank

-plugin-unable-to-take-screenshot-

Either Browser was never Opened  or all WebDriver instances were closed

DoubleClickTableCell

This keyword double clicks on the specified cell of table type object .This keyword is mostly used in situations where you have any clickable web element within your table cell and you require to double click on it. The element of the table cell  might change in different scenarios. It takes an OR Object of table type as Object Input Argument and Row Index, column index, tag & index as data input arguments.

For example, you want to double click inside any table cell.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes one table object Input argument. You can choose table object from your Object Repository

Data Input Arguments

Required?

Description

Row Index

Yes

This argument takes row number of the table where starting index is “0”.

Column Index Yes This argument takes Column number of the table where starting index is “0”.
Tag Yes

Specify Object Tag.

Give the Tag value of parent object.

Object Index Yes

Specify the index of element in the table cell Object Index of Link starts from zero.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

https://www.december.com/html/3.2/element/textarea.html

Keywords.jpg

This keyword double clicks on the specified cell of the table.

In the example above, if you want to click in the Table cell Object Textarea “Your Comments”  and wait for specified time then, use this keyword as shown below:

ClickTableCell

Object Here, L
Row Index <   1  >
Column Index  <    1   >
Tag <     Text Area   >
Object Index <     0  >

Common Error conditions

Scenarios

Error Message

Debug Information

When no object is provided

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Data not provided for argument: ‘Object’. Expected Static Value was empty.

When Valid object and blank Data Input Arguments are provided.

Row Index :   1

Column Index : 1

Tag                   :  

Index   :

Object : Table

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Arguments Tag/Index is/are blank.

DragAndDrop

This keyword drags the specified object and drops it to the given coordinates. It takes OR object and the coordinate (separated by semicolon) as input parameter. This keyword is mostly used in situations where you want to drag an object from one place to another, anywhere on the webpage.

For example, you want to drag a ball from one place and drop it to some other place.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object input argument. You can choose the object from your Object Repository which you want to drag and drop.

Data Input Arguments

Required?

Description

Co-ordinates

Yes

Specify the co-ordinates where you want to Drag/Drop object.

Note: Give the co-ordinates of web page from where you want to drag and drop

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

 https://way2automation.com/way2auto_jquery/droppable.php

2.png

This keyword drags the specified object and drops it to the mentioned coordinates.

In the example, you want to drag the Square Box Object “ Drag me to my target”  from one place and drop it to the other place “Dropped” , here is how you will use this keyword:

DragAndDrop

Object <   Choose the Object From OR  that has to be dragged   >
Coordinates 100;7 0

Note : The coordinates have to be separated by a semicolon.

Here is how you will get the output:

2.png

Common Error conditions

Scenarios

Error Message

Debug Information

If  no object is given

Argument Data Missing

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

If web page is different Object Not Found Object Not Found

 

If object is different Object Not Found Object Not Found

DragAndDropAndWait

This keyword drags the specified object and drops it to given coordinates. This keyword takes OR object, coordinates (separated by semicolon) and time as input parameter.

This keyword is mostly used in situations where you want to drag an object from one place to another and then it will wait for specified seconds.

For example, you want to drag a ball from one place and drop it to some other place.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object input argument. You can choose the object from your Object Repository which you want to drag and drop it.

Data Input Arguments

Required?

Description

Co-ordinates

Yes

Specify the co-ordinates where you want to Drag/Drop object.

Note: Give the co-ordinates of web page from where you want to drag and drop.

Timeout Yes

Specify the time (in seconds).

Note: It takes only Integer value. Also the Data Input Argument timeout should be less than Step timeout.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

 https://way2automation.com/way2auto_jquery/droppable.php

2.png

This keyword drags the specified object and drops it to the mentioned coordinates and waits for specified seconds.

In the example, you want to drag the Square Box Object “ Drag me to my target”  from one place and drop it to the other place “Dropped” square box  and then half the screen for specified seconds then , here is how you will use this keyword:

DragAndDropAndWait

Object <   Choose the Object From OR  that has to be dragged   >
Coordinates 100;7 0
TimeOut 10

Note : The coordinates have to be separated by a semicolon.

Here is how you will get the output:

2.png

Common Error conditions

Scenarios

Error Message

Debug Information

If  no object is given

Argument Data Missing

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

If webpage is different Object Not Found Object Not Found
If object is different Object Not Found Object Not Found
If you provide invalid timeout Step Timed Out Step timed out. System waited for 40sec.
If you provide null timeout Argument Data Missing Argumemt(s) : (Timeout) are blank.

Enter

This keyword presses the Enter key. This keyword does not take any input parameter. This keyword is mostly used in situations where action needs to be performed by pressing enter key.

For example, you want to search an object on a website and you want that when popup should appear OK will be clicked.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

No

No

This keyword doesn’t take any data input argument.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

If you want to search an object on a website and you want that when popup appears OK will be clicked.

Common Error conditions

Scenarios

Error Message

Debug Information

If  no URL is provided.

Insufficient Privileges .

Either Browser was never Opened  or all WebDriver instances were closed.

ExcelCompare

Coming soon…

FocusButton

This keyword sets Focus on the specified button. This keyword takes button object as input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes editbox object as object input argument.

Data Input Arguments

Required?

Description

No

No

This keyword doesn’t take any data input argument.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

button.jpg

This keyword focuses on the specified button.

In this example, this keyword focuses on the specified button. While using this keyword, you should ensure that you are using this keyword with a relevant keyword (like OpenBrowser) which can open your web application having button to be focused.

Common Error conditions

Scenarios

Error Message

Debug Information

When object to be focused is not given

Browser: Mozilla Firefox

URL: https://www.crestechsoftware.com/CrestShop/

Object Input Argument: Object Not given

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

If browser name and URL of web application is not given.

Browser:

URL:

Object Input Argument: Object given

Insufficient Privileges (-14100)

Either Browser was never Opened  or all WebDriver instances were closed

 

-plugin-unable-to-take-screenshot-

Argument(s) : (Browser;URL) are blank.

FocusCheckBox

This keyword sets Focus on the specified checkbox. This keyword takes checkbox object as input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes an object as object input argument.

Data Input Arguments

Required?

Description

No

No

This keyword doesn’t take any data input argument.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

Checkbox.jpg

This keyword sets the focus on the mapped checkbox available on the web application.

While using this keyword, you should ensure that you are using this keyword with a relevant keyword (like OpenBrowser) which can open your web application having respective checkbox.

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given

Browser: Mozilla Firefox

URL: https://cresconnect.crestechglobal.com/home.php

Object Input Argument: Not given

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

When browser name & URL of web application are not given

Browser:

URL:

Object Input Argument: Mapped

Argument Data Invalid (-13300)

Insufficient Privileges (-14100)

Either Browser was never Opened  or all WebDriver instances were closed

FocusRadioButton

This keyword sets focus to the specified Radio button. This keyword takes Radiobutton object as input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

No

No

This keyword doesn’t take any data input argument.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

FocusRadioButton.jpg

This keyword focuses on the specified radio button.

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given.

Browser: Mozilla Firefox

URL: https://www.idbi.com/newautoloan.asp

Object: No Object

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected StaticValue was empty

When URL & Browser name are not given

Browser: Mozilla Firefox

URL: https://www.idbi.com/newautoloan.asp

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Argument(s): (Browser,URL) are blank

Either Browser was never Opened  or all WebDriver instances were closed

-plugin-unable-to-take-screenshot-

GetTextFromTableCellByQuery

This keyword fetches Text from the specified cell of the table using query. It takes one table type object as object input arguments.

For GetTextFromTableCellByQuery  Keyword:

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one table object as  Object Input Argument. You can select a Table Object from the Object Repository whose cell data  has to be fetched by Query.

Data Input Arguments

Required?

Description

Column Name/Index

Yes

Specify the column name or index whose Text in the specified cell has to be fetched.

Object

Index

Yes

Specify the position of the object inside the Table cell. Index starts from ‘0’
Header 1 Yes Specify the header of the column by which you can uniquely identify the table cell whose text has to be fetched.
Value 1 Yes Specify the Value of the column cell by which you can uniquely identify the table cell whose text has to be fetched.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

1.jpg

This keyword  fetches text from the specified table cell.

In the above Screenshot, if you want to fetch text from Table cell whose value is  “hi1”  , you can do so by using GetTextFromTableCellByQuery  keyword as follows:

GetTextFromTableCellByQuery  

 

Column Name/Index

Hello 2

Object Index

0

Header 1

Hello3

Value 1

hi2

Common Error conditions

Scenarios

Error Message

Debug Information

If  no browser is given

Insufficient Privileges (-14100)

DESCRIPTION:

The system does not have sufficient privileges to carry out a particular task. This mostly happens when the currently logged-in user at the execution site does not have permission to access a particular resource. The protected resource may be a network share, folder or a drive. User may contact the system administrator to sort out the issue.

Either Browser was never Opened  or all WebDriver instances were closed

When Invalid Data Input Arguments are provided.

Argument Data Invalid (-13300)

 

DESCRIPTION:

The data value for one or more input arguments was not what was expected. This might happen when the input is expected in a specific format or should be chosen from a predefined set of values. Check for spell errors and capsing.

Index is invalid.
When Invalid Object Input Arguments are provided other than table.

Argument Data Invalid (-13300)

 

DESCRIPTION:

The data value for one or more input arguments was not what was expected. This might happen when the input is expected in a specific format or should be chosen from a predefined set of values. Check for spell errors and capsing.

Specified Object is not Table

GoBackAndWait

This keyword navigates back to previous page. This keyword doesn’t take any input parameter.

This keyword is mostly used in situations when you want to go back on previous web page and then it will wait for specified seconds.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

Timeout

Yes

Specify the time (in seconds).

Note: It takes only Integer value. Also the Data Input Argument timeout should be less than Step timeout in Advance Execution.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

If you click on any link and now you want to go back on previous page and wait for specified time.

Common Error conditions

Scenarios

Error Message

Debug Information

If  no browser is given.

Insufficient Privileges

Either Browser was never Opened or all WebDriver instances were closed.

If you provided invalid timeout Step Timed Out Step timed out. System waited for 40sec.
If you provide null timeout Argument Data Missing Argument(s) : (Timeout) are blank.

GoForward

This keyword navigates forward to next browser page. This keyword does not take any input parameter.

This keyword is mostly used in situations where you want to navigate to next webpage from the current webpage.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

No

No

This keyword doesn’t take any data input argument.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

In the example below:

1. Navigate to https://www.flipkart.com

2. Then click on mobile link which will redirect to https://www.flipkart.com/mobiles?otracker=hp_nmenu_quicklinks_Mobiles

3. Use GoBackAndWait Keyword to move to the previous page i.e. https://www.flipkart.com

4. Use GoForward Keyword to navigate to the next webpage from the current webpage i.e. https://www.flipkart.com/mobiles?otracker=hp_nmenu_quicklinks_Mobiles

Note :Goforward keyword can only be used in sequence with GoBackAndWait keyword.

Common Error conditions

Scenarios

Error Message

Debug Information

If  no browser is given

Insufficient Privileges

Either Browser was never Opened  or all WebDriver instances were closed

GoForwardAndWait

This keyword navigates forward to next browser page and waits for specified time. This keyword takes time (sec) as input parameter.

This keyword is mostly used in situations where you want to navigate to next webpage from the current web page  and then it will wait for specified seconds.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

Timeout

Yes

Specify the time (in seconds).

Note: It takes only Integer value. Also the Data Input Argument timeout should be less than Step timeout in Advance Execution

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

In the example below:

Navigate to https://www.flipkart.com

Then click on mobile link which will redirect to https://www.flipkart.com/mobiles?otracker=hp_nmenu_quicklinks_Mobiles

 

Use GoBackAndWait Keyword to move to the previous page i.e. https://www.flipkart.com

Use GoForwardAndWait Keyword to navigate to the next webpage from the current webpage i.e. https://www.flipkart.com/mobiles?otracker=hp_nmenu_quicklinks_Mobiles

Then it will wait for specified time (in seconds)

Note :GoforwardAndWait keyword can only be used in sequence with GoBackAndWait keyword.

Common Error conditions

Scenarios

Error Message

Debug Information

If  no browser is given

Insufficient Privileges

Either Browser was never Opened or all WebDriver instances were closed

If you provide invalid timeout Step Timed Out Step timed out. System waited for 40sec.
If you provide null timeout Argument Data Missing Argumemt(s) : (Timeout) are blank.

HighlightObject

This keyword highlights the specified object. This keyword takes object as input parameter.

This keyword is mostly used in situations where you want that the object you specified gets  highlighted.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object input argument. You can choose the object from your Object Repository which you want to highlight.

Data Input Arguments

Required?

Description

No

No

This keyword doesn’t take any data input argument.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

If you are not able to find any specific object here you can use this keyword to highlight the specified object, here is how you can use this keyword:

HighLightObject

Object

< Choose the object which you want to highlight >

Common Error conditions

Scenarios

Error Message

Debug Information

If  no object is given

Argument Data Missing

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

KeyLeft

This keyword presses left Arrow Key of keyboard. This keyword does not take any input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

No

No

This keyword doesn’t take any data input argument.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

LeftArrowKey.png

This keyword presses left Arrow Key of keyboard.

Common Error conditions

Scenarios

Error Message

Debug Information

When URL of web application is not given.

Browser: Mozilla Firefox

URL:

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Argument(s): (Browser,URL) are blank

Either Browser was never Opened  or all WebDriver instances were closed

-plugin-unable-to-take-screenshot-

When Browser name is not given

Browser:

URL: https://www.crestechsoftware.com/CrestShop/

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Argument(s): (Browser,URL) are blank

Either Browser was never Opened  or all WebDriver instances were closed

-plugin-unable-to-take-screenshot-

KeyPressNative

This keyword is used to sendkeys (TAB, ENTER etc.). This keyword takes keys without curly braces as input parameter.

This keyword is mostly used in situations where you want that keyboard keys should be used without using keyboard.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

KeyName

Yes

Specify the Key name.

Note: Give the keys which are on keyboard.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

For example,  If any pop up appears and OK button is required to be clicked then you can use this keyword passing KeyName as ENTER and if you want to shift the focus from OK button to CANCEL button, you can pass TAB as keyName.

Common Error conditions

Scenarios

Error Message

Debug Information

If  no browser is given

Insufficient Privileges.

Either Browser was never Opened or all WebDriver instances were Closed.

KeyRight

This keyword presses Right Arrow Key of keyboard. This keyword does not take any input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

No

No

This keyword doesn’t take any data input argument.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

LeftArrowKey.png

This keyword presses Right Arrow Key of the keyboard.

Common Error conditions

Scenarios

Error Message

Debug Information

When URL of web application is not given.

Browser: Mozilla Firefox

URL:

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Argument(s): (Browser,URL) are blank

Either Browser was never Opened  or all WebDriver instances were closed

-plugin-unable-to-take-screenshot-

When Browser name is not given

Browser:

URL: https://www.crestechsoftware.com/CrestShop/

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Argument(s): (Browser,URL) are blank

Either Browser was never Opened  or all WebDriver instances were closed

-plugin-unable-to-take-screenshot-

MaximizeBrowser

This keyword maximizes the current browser. This keyword does not take any input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

No

No

This keyword doesn’t take any data input argument.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

maximizebrowser.png

This keyword maximizes the opened browser.

Common Error conditions

Scenarios

Error Message

Debug Information

When URL of web application is not given.

Browser: Mozilla Firefox

URL:

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Argument(s): (Browser,URL) are blank

Either Browser was never Opened  or all WebDriver instances were closed

-plugin-unable-to-take-screenshot-

When Browser name is not given

Browser:

URL: https://www.crestechsoftware.com/CrestShop/

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Argument(s): (Browser,URL) are blank

Either Browser was never Opened  or all WebDriver instances were closed

-plugin-unable-to-take-screenshot-

MouseHover

This keyword hovers mouse on specified OR object. It takes OR object as input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes object as object input argument.

Data Input Arguments

Required?

Description

No

No

This keyword doesn’t take any data input argument.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

Mouse Hover.jpg

This keyword hovers mouse on the mapped object available on the given web application.

In this example, this keyword hovers mouse on the mapped button object. While using this keyword, you should ensure that you are using this keyword with a relevant keyword (like OpenBrowser) which can open your web application having button to be clicked.

Common Error conditions

Scenarios

Error Message

Debug Information

When No object is mapped.

Browser: Mozilla Firefox

URL: https://cresconnect.crestechglobal.com/index.php?

Object Input Argument: No Object Mapped

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

If browser name and URL of web application is not given.

Browser:

URL:

Object Input Argument: Object Mapped

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

 

Argument(s) : (URL) are blank

Either Browser was never Opened  or all WebDriver instances were closed

-plugin-unable-to-take-screenshot-

MouseHoverOnText

This Keyword hovers the mouse  on the specified text. It takes one object as object input argument and Text To Search, Partial Text, and Index as data input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

Not Required

Data Input Arguments

Required?

Description

Text To Search

Yes

Provide Text on which Action has to be performed

Partial Text Yes Provide True if text to search is partial Text
Index Yes

Specify the Index of the object on which mouse has to be hovered

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

https://en.wikipedia.org/wiki/List_of_Bollywood_films_of_2017

1.jpg

This keyword  hovers the mouse on the text of the  object in the table cell (1,1).

In the above example we need to hovers the mouse on the text of the  Object in  the Table Cell (1,1) “Baahubali 2: The Conclusion” on the web page, we can do so by using “MouseHoverOnText” keyword  as shown below:

MouseHoverOnText

 

Text To Search

<   Baahubali  >

Partial Text

<   True  >

Index <  0  >

Common Error conditions

Scenarios

Error Message

Debug Information

When Invalid data input argument is provided

Argument Data Invalid (-13300)

DESCRIPTION:

The data value for one or more input arguments was not what was expected. This might happen when the input is expected in a specific format or should be chosen from a predefined set of values. Check for spell errors and capsing.

Index is invalid .

when Blank data Input arguments are  provided

Step Timed Out (-12200)

 

DESCRIPTION:

The step took too long to execute. Maximum time a keyword is allowed to take is defined by the timeout field in the execution initiation form. A timeout mostly indicates an unresponsive plugin or busy resource.

Step(#2) Time Out system waited for 90 Sec

OpenBrowser

This keyword opens the website of given URL on specified browser. This keyword takes Browser name & URL as data input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

String

Yes

This keyword takes Browser & URL as data input arguments.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

OpenBrowser.jpg

This keyword opens the given website on given browser.

Common Error conditions

Scenarios

Error Message

Debug Information

When URL is not given

Browser: Mozilla Firefox

URL:

Argument Data Missing (-13200)

Argument(s) : (URL) are blank.

-plugin-unable-to-take-screenshot-

When Browser name is not given

Browser:

URL: https://cresconnect.crestechglobal.com/home.php

 

Argument Data Missing (-13200)

Argument(s) : (URL) are blank.

-plugin-unable-to-take-screenshot-

PressTAB

This keyword presses TAB key. This keyword does not take any input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

No

No

This keyword doesn’t take any data input argument.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

Tab.jpg

This keyword presses TAB key which performs the corresponding action of pressing TAB key.

Common Error conditions

Scenarios

Error Message

Debug Information

When URL is not given

Browser: Mozilla Firefox

URL:

Insufficient Privileges (-14100)

Either Browser was never Opened  or all WebDriver instances were closed

-plugin-unable-to-take-screenshot-

When Browser name is not given

Browser:

URL: https://www.idbi.com/newautoloan.asp

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Either Browser was never Opened  or all WebDriver instances were closed

-plugin-unable-to-take-screenshot

RefreshAndWait

This keyword refreshes the browser page and waits for the given timeout. This keyword takes timeout (in seconds) to wait after refreshing the page.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

Yes

Yes

This keyword takes timeout value as data input argument.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

https://cresconnect.crestechglobal.com/home.php

Timeout = 2

This keyword refreshes the opened browser and wait for the given timeout.

Common Error conditions

Scenarios

Error Message

Debug Information

When URL is not given

Browser: Mozilla Firefox

URL:

Data Input Argument: 2

Argument Data Missing (-13200)

Argument(s) : (Timeout) are blank.

When Browser name is not given

Browser:

URL: https://cresconnect.crestechglobal.com/home.php

Data Input Argument: 2

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Argument(s) : (Browser,URL) are blank.

Either Browser was never Opened  or all WebDriver instances were closed

-plugin-unable-to-take-screenshot-

When timeout value is not given

Browser: Mozilla Firefox

URL: https://cresconnect.crestechglobal.com/home.php

Data Input Argument:

Argument Data Missing (-13200) Argument(s) : (Timeout) are blank.

RefreshBrowser

This keyword refreshes the current browser session. This keyword does not take any input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

No

No

This keyword doesn’t take any data input argument.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

https://cresconnect.crestechglobal.com/home.php

Timeout = 2

This keyword refreshes the opened browser.

Common Error conditions

Scenarios

Error Message

Debug Information

When URL is not given

Browser: Mozilla Firefox

URL:

Argument Data Missing (-13200)

Argument(s) : (Timeout) are blank.

When Browser name is not given

Browser:

URL: https://cresconnect.crestechglobal.com/home.php

Argument Data Missing (-13200)

Argument(s) : (URL) are blank.

-plugin-unable-to-take-screenshot-

ReportMessage

This keyword prints the message specified  by user with True/False status. It takes message to be displayed for any true condition  or False condition as per the requirement.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

Message

Yes

It takes any message to be displayed

Status Yes Specify the Status that can either be True or False.

Output

 

It prints the given message with True or False status

If the keyword passes successfully

False

If the keyword fails

Example

Let us consider a Test Case which has “TypeTextAndWait”  as the Test Step. Save the Output of this Test Step in an Output Variable “Out1” Now, if this Test Step passes successfully [Output is True] then the user wants to display a message: “ Congratulations ! The Text has been saved successfully”.

For this, the user will use the Keyword “ReportMessage” as follows

ReportMessage

Message

Congratulations !  The Text has been saved successfully

Status

Out1[True]

Note:

Out1 is the Output of the “TypeTextAndWait” keyword  which must  be True so as to display the given message.

Common Error conditions

Scenarios

Error Message

Debug Information

When the Data Input

Argument

Message” has been

left blank.

Message :

Status : True

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because

one or more of the arguments have

not been provided a value. Of all t

he arguments a keyword accepts,

some arguments might be compulsory.

As opposed to the non-compulsory ones,

the compulsory argument must be

provided some data. The data may

be provided through one of many

sources like statically entering,

output of a previous step, a global

variable etc;

but it must not be left blank.

Argument(s)

message

is/are blank

When you have

given the

Value of

Data Input

Arguments

manually

as follows:

Message: Data

Saved !

Status : False

Failure Asserted by User (-17100)

DESCRIPTION:

This happens when

user force the error to occur.

Data Saved !

ReturnConcatenate

This keyword concatenates the specified strings. It can take upto three strings only as input parameter. This keyword takes String1, String2, String3 as data input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

String

Yes

(String 1, String 2, String 3)

Output

It returns the concatenated string value.

If the keyword passes successfully

False

If the keyword fails

Example

We can use  the Return Concatenated keyword as follows:

ReturnConcatenated

String 1

22

String 2

33

String 3 44

Common Error conditions

There are no negative scenarios as it always returns true.

RightClickOnObject

This keyword Right clicks on object. This keyword is mostly used in situations where you want to perform a Right Click on provided Object before performing any action on it.

For example, you want to Click Right on Object.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object input argument. You need to select the any Object whom you want perform Right Click.

Data Input Arguments

Required?

Description

Index

Yes

This Keyword takes Index of the object in numerals.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

C:Userspallavi.goelPicturesRight.png

In the example above, if you want to right click on Find Flights Object, here is how you will use this keyword

Common Error conditions

Scenarios

Error Message

Debug Information

If no object is selected

<Data not provided for argument: ‘Object’. Expected StaticValue was empty.>

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

If Object is Provided but Index is not Provided Argument(s): (Index) are blank.

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

If Object is not Provided but Index Value is Provided Data not provided for argument: ‘Object’. Expected StaticValue was empty.

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

If Index data is wrong Object not Found

Object Not Found (-11100)

DESCRIPTION:

The object on which an action was supposed to be performed, was not found on the currently active page or view. This happens when the page is not properly loaded or the properties of the object are not exactly matched.

RunScriptAndWait

Coming soon…

SelectCheckBox

This keyword checks/unchecks the specified checkbox as per given value (ON/OFF). It takes checkbox Object and value (ON/OFF) as input argument. If the input argument value is “ON” then it ensures that checkbox must be checked. Similarly, if the input argument value is “OFF” then it ensures that checkbox must be unchecked, regardless it’s already checked or unchecked.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes object as object input argument.

Data Input Arguments

Required?

Description

String

Yes

This keyword takes ON/OFF as data input argument.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

Checked - Copy.jpg

This keyword checks the specified checkbox on the given web page.

 

In this example, this keyword clicks on the mapped checkbox object of the web application. While using this keyword, you should ensure that you are using this keyword with a relevant keyword (like OpenBrowser) which can open your web application having checkbox to be checked.

Common Error conditions

Scenarios

Error Message

Debug Information

If ON/OFF value is not given in data input argument.

Browser: Mozilla Firefox

URL: Given

Object Input Argument: Mapped

Data Input Argument: No Value

Argument Data Missing (-13200)

Argument(s) : (Value) are blank.

If OR object is not mapped with the SelectCheckBox keyword.

Browser: Mozilla Firefox

URL: Given

Object Input Argument: No Object

Data Input Argument: ON

Argument Data Missing (-13200) Data not provided for argument: ‘Object’. Expected StaticValue was empty.

If browser name & URL of web application (or Both) are not given in input argument.

Browser:

URL:

Object Input Argument: Object Mapped

Data Input Argument: ON

Argument Data Missing (-13200) Argument(s) : (Browser;URL) are blank.

SelectCheckBoxAndWait

This keyword checks/unchecks the specified checkbox and waits for the given time (in seconds). It takes checkbox Object as Object Input Argument and value (ON/OFF) as Data  input argument. If the input argument value is “ON” then it ensures that checkbox must be checked. Similarly, if the input argument value is “OFF” then it ensures that checkbox must be unchecked, regardless it’s checked or unchecked.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes object as object input argument.

Data Input Arguments

Required?

Description

String

Yes

This keyword takes ON/OFF as data input argument.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

Checked - Copy.jpg

This keyword checks the specified checkbox on the given web page and waits for the given time.

 

In this example, this keyword clicks on the mapped checkbox object of the web application and waits for the given time. While using this keyword, you should ensure that you are using this keyword with a relevant keyword (like OpenBrowser) which can open your web application having checkbox to be checked.

Common Error conditions

Scenarios

Error Message

Debug Information

If ON/OFF value is not given in data input argument.

Browser: Mozilla Firefox

URL: Given

Object Input Argument: Mapped

Data Input Argument: No Value

Argument Data Missing (-13200)

Argument(s) : (Value) are blank.

If OR object is not mapped with the SelectCheckBox keyword.

Browser: Mozilla Firefox

URL: Given

Object Input Argument: No Object

Data Input Argument: ON

Argument Data Missing (-13200) Data not provided for argument: ‘Object’. Expected StaticValue was empty.

If browser name & URL of web application (or Both) are not given in input argument.

Browser:

URL:

Object Input Argument: Object Mapped

Data Input Argument: ON

Argument Data Missing (-13200) Argument(s) : (Browser;URL) are blank.

SelectCheckBoxInTableCell

This keyword selects checkbox present in table cell. This keyword is mostly used in situations where you want to select checkbox present in table cell before performing any action on it. For example, you want to select check box in table cell.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object input argument. You can choose the object from your Object Repository.

Data Input Arguments

Required?

Description

Row Index

Yes

Specify Row id of table. Starting index must be zero.

Column Index Yes

Specify Column id of table. Starting index must be zero.

Index Yes Specify the index. Starting index must be zero.
Value Yes This Keyword takes the text value which is selected in dropdown.

Note: Index Value must be start from ‘0’ onwards.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

C:Userspallavi.goelPictures19.png

SelectCheckBoxInTableCell

Object <   Choose your object from OR   >

Common Error conditions

Scenarios

Error Message

Debug Information

If no object is selected

<Data not provided for argument: ‘Object’. Expected StaticValue was empty.>

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

If Object is Provided but Data input argument is not Provided Argumemt(s) : (Row Index;Column Index;Object Index;Value) are blank.

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

If Object is not Provided but Index Value is Provided No Object of type input found in the Table Cell

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

If Index data is wrong No Object of type input found in the Table Cell

Unsupported Operation (-11400)

DESCRIPTION:

An operation was attempted, but the target of thet operation does not support that. An analogy could be like typing on a button. Here button is the target of type operation, which it does not support. It supports clicking. While it is mostly a permanent disability, at times it could be temporary. For example browser’s Go-Back feature is unsupported while the very first page is loaded. But as soon as the browser navigates to some other page, the feature gets enabled.

SelectdropDownInTableCell

This Keyword Selects the Dropdown Value in Table Cell. This keyword is mostly used in situations where you want to select the dropdown value of desired cell in provided table before performing any action on it.

For example, you want to select dropdown value in table cell.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object in input argument. You need to select the table Object in which you want to select the drop down value.

Data Input Arguments

Required?

Description

Row Index

Yes

Specify Row id of table. Starting index must be zero.

Column Index Yes

Specify Column id of table. Starting index must be zero.

Index Yes Specify the index. Starting index must be zero.
Select Value Yes This Keyword takes the text value which is selected in dropdown.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

C:Userspallavi.goelPictures14.png

In the example above, if you want to select the value in marital status, here is how you will use this keyword.

SelectDropDownInTableCell

Object <   Choose your object from OR   >

Common Error conditions

Scenarios

Error Message

Debug Information

If no object is selected

<Data not provided for argument: ‘Object’. Expected StaticValue was empty.>

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

If Object is Provided but data input argument is not provided Argumemt(s) : (Row Index;Column Index;Index;SelectValue) are blank.

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

If Object is not Provided but Index Value is Provided Data not provided for argument: ‘Object’. Expected StaticValue was empty.

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

If Index data is wrong No Object of input type  found in the Table Cell

Unsupported Operation (-11400)

DESCRIPTION:

An operation was attempted, but the target of thet operation does not support that. An analogy could be like typing on a button. Here button is the target of type operation, which it does not support. It supports clicking. While it is mostly a permanent disability, at times it could be temporary. For example browser’s Go-Back feature is unsupported while the very first page is loaded. But as soon as the browser navigates to some other page, the feature gets enabled.

SelectDropDownItem

This keyword selects the specified value in the given dropdown object. It takes Dropdown object as Object Input Argument and Item name as data input argument that has to be selected from the dropdown object.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes dropdown object as object input argument.

Data Input Arguments

Required?

Description

Item

Yes

This keyword takes name of the item that has to be selected from the drop down list.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

dropdown.jpg

This keyword selects the given value from the dropdown list.

 

In this example, this keyword selects the given item from the dropdown list. While using this keyword, you should ensure that you are using this keyword with a relevant keyword (like OpenBrowser) which can open your web application having dropdown list of items.

Common Error conditions

Scenarios

Error Message

Debug Information

When value to be selected from dropdown list is not given.

Browser: Mozilla Firefox

URL: https://www.crestechsoftware.com/CrestShop/

Object Input Argument: Object given

Data Input Argument: Item not given

 

Object Not Found (-11100) Cannot locate element with text:

If Object in Object input argument and Item in Data input argument is not given

Browser: Mozilla Firefox

URL: https://www.crestechsoftware.com/CrestShop/

Object Input Argument: Object not given

Data Input Argument: Item not given

 

Argument Data Missing (-13200) Data not provided for argument: ‘Object’. Expected StaticValue was empty.

If browser name and URL of web application is not given.

Browser:

URL:

Object Input Argument: Object given

Data Input Argument: Item given

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Argument(s) : (URL) are blank

Either Browser was never Opened  or all WebDriver instances were closed

-plugin-unable-to-take-screenshot-

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

SelectDropDownItemAndWait

This keyword selects the specified item in dropdown and waits for specified time. It takes dropdown object as Object input argument and Item and time (sec) as data input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes object as object input argument.

Data Input Arguments

Required?

Description

Item

Yes

This keyword takes item name that has to be selected from the dropdown list

Timeout Yes Specify the time in seconds.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

dropdown.jpg

This keyword selects the given value from the dropdown list and wait for the given timeout.

 

 

In this example, this keyword selects the provided item name from the dropdown list and wait for the given timeout. While using this keyword, you should ensure that you are using this keyword with a relevant keyword (like OpenBrowser) which can open your web application having dropdown list of items.

Common Error conditions

Scenarios

Error Message

Debug Information

When value to be selected from dropdown list & timeout value is not given.

Browser: Mozilla Firefox

URL: https://www.crestechsoftware.com/CrestShop/

Object Input Argument: Object given

Data Input Argument: Item & Timeout value not given

 

Argument Data Missing (-13200) Argument(s): (Timeout) are blank.

If Object in Object input argument and Item & Timeout value in Data input argument is not given

Browser: Mozilla Firefox

URL: https://www.crestechsoftware.com/CrestShop/

Object Input Argument: Object not given

Data Input Argument: Item & Timeout value not given

 

Argument Data Missing (-13200) Data not provided for argument: ‘Object’. Expected StaticValue was empty.

If browser name and URL of web application is not given.

Browser:

URL:

Object Input Argument: Object given

Data Input Argument: Item & Timeout value given

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Argument(s) : (Browser,URL) are blank

Either Browser was never Opened  or all WebDriver instances were closed

Either Browser was never Opened  or all WebDriver instances were closed

-plugin-unable-to-take-screenshot-

SelectFrame

This keyword selects a Frame Object such that further calls are made inside the Frame Object. It takes a Frame object as data input argument.

For SelectFrame Keyword:

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one table object as  Object Input Argument.

Data Input Arguments

Required?

Description

No

No

This keyword doesn’t take any data input argument.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

1.jpg

This keyword  selects a Frame Object such that further calls are made inside the Frame Object.

 

 

In the above Screenshot, if you want to select the highlighted frame, you can do so by using SelectFrame keyword as follows:

Common Error conditions

Scenarios

Error Message

Debug Information

If  no browser is given

 

Insufficient Privileges Either Browser was never Opened or all WebDriver instances were closed.

When no object is attached

Argument Data Missing (-13200)

 

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Data not provided for argument: ‘Frame’. Expected Static Value was empty

SelectGroupRadioButton

This keyword selects specified radio button from a group of radio buttons placed in a container or a frame or a group. It takes radio button type object as object input argument and index as data input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes the container or frame or group object which contains various radio buttons.

Data Input Arguments

Required?

Description

Index

Yes

This keyword takes the index of the specified  Radio button which has to be selected

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

https://www.irctc.co.in/eticketing/userSignUp.jsf

2.jpg

This keyword selects specified radio button from a group of radio buttons placed in a container or a frame or a group

When you want to select a radio button from the group of radio button. You need to provide the Group object which contains the radio buttons. You can use the keyword “SelectGroupRadioButton” as follows:

SelectGroupRadioButton

Object

< Choose the container Object From the OR  >

Index

0

2.jpg

Common Error conditions

Scenarios

Error Message

Debug Information

When Invalid Object is provided

Object Not Found (-11100)

DESCRIPTION:

The object on which an action was supposed to be performed, was not found on the currently active page or view. This happens when the page is not properly loaded or the properties of the object are not exactly matched

Object Not Found

When blank Object is provided

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

SelectMultipleDropDownItem

This keyword selects “more than 1” item from a multivalued dropdown object. This keyword is mostly used in situations when you need to select more than 1 item from a multivalued dropdown object.  It takes one Dropdown Object as Object Input Argument. It also takes ItemString as Data Input Argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object Input argument. You can choose the dropdown object from your Object Repository from which you want to Select several items.

Data Input Arguments

Required?

Description

ItemString

Yes

Specify the name of item which you want to select.

Note: You can provide more than one item by separating them from semicolon ’;’

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

This Keyword selects the specified Item String from the Dropdown Object.

 

Suppose you want to Select two items Volvo and Opel from this Multivalued dropdown, then after mapping this dropdown object with keyword “SelectMultipleDropDownItem”,and providing “Volvo;Opel” in ItemString, this keyword selects two values Volvo and Opel from dropdown.

SelectMultipleDropDownItem

 

Object

< Choose any DropDown Object from OR >

Item String

Volvo; Opel

Common Error conditions

Scenarios

Error Message

Debug Information

When no Object Input Argument is provided

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Data not provided for argument: ‘Object’. Expected StaticValue was empty

If Items in ItemString is  separated by ‘space’

Argument Data Invalid (-13300)

DESCRIPTION:

The data value for one or more input arguments was not what was expected. This might happen when the input is expected in a specific format or should be chosen from a predefined set of values. Check for spell errors and capsing.

Text is not present in dropdown

SelectMultipleDropDownItemAndWait

This keyword selects “more than 1” item from a multivalued dropdown object and waits for specified time.

It selects the specified value in multivalued Dropdown object. It takes a Multivalued Dropdown object as input parameter in Object input parameter and value to be selected in dropdown as input parameter in Data input parameter.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object Input argument. You can choose the dropdown object from your Object Repository from which you want to Select several items.

Data Input Arguments

Required?

Description

ItemString

Yes

Specify the name of item which you want to select.

Note: You can provide more than one item by separating them from semicolon ’;’

Timeout Yes Specify a static wait, by default it takes time unit seconds and it waits for that specified time

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

This Keyword selects multiple Items from the Dropdown and then waits for the specified time.

Suppose you want to Select two items Volvo and Opel from this Multivalued dropdown, then you will use the  keyword “SelectMultipleDropDownItemAndWait” as follows:

SelectMultipleDropDownItemAndWait

 

Object

< Choose any DropDown Object from OR >

Item String

Volvo; Opel

Timeout 10

This will select the specified Item String from the Dropdown and then wait for 10 seconds.

Common Error conditions

Scenarios

Error Message

Debug Information

When no Object Input Argument is provided

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Data not provided for argument: ‘Object’. Expected StaticValue was empty

When in data input argument, “Timeout” time is not provided.

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc.; but it must not be left blank.

Argument(s): (Timeout) is/are blank.

SelectMultipleDropDownItemInTableCell

This keyword  selects multiple Items from MultiDropdown inside a table cell.It takes table type object as object input argument and row Index, column Index, index and  value as data input argument.

For SelectMultipleDropDownItemInTableCell  Keyword:

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one table object as  Object Input Argument. You can select a Table Object from the Object Repository whose dropdown values in a specified cell has to be selected.

Data Input Arguments

Required?

Description

Row

Index

Yes

Specify the row index of the table cell

Column

Index

Yes

Specify the column index of the table cell

Index

Yes Specify the position of the object inside the Table cell. Index starts from ‘0’

Value

Yes Select Values  from the dropdown in the table cell.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

Error 404.jpg

This keyword  selects multiple values from a multi dropdown  in  the specified table cell.

In the above Screenshot, if you want to select the value “Volvo;Saab; Opel;Audi”  in the  Table cell, you can do so by using SelectMultipleDropDownInTableCell keyword as follows:

SelectMultipleDropDownInTableCell

Row Index

0

Column Index

0

Object Index 0
Status Volvo;Saab;Opel;Audi;

Common Error conditions

Scenarios

Error Message

Debug Information

If  no browser is given

Insufficient Privileges (-14100)

DESCRIPTION:

The system does not have sufficient privileges to carry out a particular task. This mostly happens when the currently logged-in user at the execution site does not have permission to access a particular resource. The protected resource may be a network share, folder or a drive. User may contact the system administrator to sort out the issue.

Either Browser was never Opened  or all WebDriver instances were closed

When Invalid Data Input Arguments are provided.

Argument Data Invalid (-13300)

 

DESCRIPTION:

The data value for one or more input arguments was not what was expected. This might happen when the input is expected in a specific format or should be chosen from a predefined set of values. Check for spell errors and capsing

Actually Found <volvo;saab;opel;audi;> and Expected </volvo;saab;opel;audi;>
When Invalid Object Input Arguments are provided other than table.

Argument Data Invalid (-13300)

 

DESCRIPTION:

The data value for one or more input arguments was not what was expected. This might happen when the input is expected in a specific format or should be chosen from a predefined set of values. Check for spell errors and capsing.

Specified Object is not Table.

SelectRadioButton

This keyword selects the specified Radio button. It takes a Radiobutton object as Object input argument and index as data input argument.

You need to provide index of radio button to be selected only if there are more than one radio buttons nearby the targeted radio button.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes object as object input argument.

Data Input Arguments

Required?

Description

Numeric

Yes

Index is required as Data input argument only if there are more than radio buttons available on the web page nearby to the selected radio button.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

SelectRadioButton.jpg

This keyword selects the given radio button.

 

In this example, this keyword selects the given radio button. If there are more than one radio button then you have to provide the index of the selected radio button. While using this keyword, you should ensure that you are using this keyword with a relevant keyword (like OpenBrowser) which can open your web application having radio button(s).

Common Error conditions

Scenarios

Error Message

Debug Information

When object of radio button are not given.

Browser: Mozilla Firefox

URL: https://www.crestechsoftware.com/CrestShop/

Object Input Argument:

Data Input Argument: Index given

Object Not Found (-11100

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

If browser name and URL of web application is not given.

Browser:

URL:

Object Input Argument: Object given

Data Input Argument: Index given

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Argument(s) : (URL) are blank

Either Browser was never Opened  or all WebDriver instances were closed

-plugin-unable-to-take-screenshot-

SelectRadioButtonAndWait

This keyword selects the specified Radio button and wait for given time after selection. It takes Radiobutton object and time (sec) as input argument.

 

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes object as object input argument.

Data Input Arguments

Required?

Description

Timeout

Yes

This keyword takes timeout as Data input argument.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

SelectRadioButton.jpg

This keyword selects the given radio button and wait for the given timeout value.

 

In this example, this keyword selects the given radio button and wait for the given timeout value. While using this keyword, you should ensure that you are using this keyword with a relevant keyword (like OpenBrowser) which can open your web application having radiobuttons.

Common Error conditions

Scenarios

Error Message

Debug Information

When timeout value is not given.

Browser: Mozilla Firefox

URL: https://www.crestechsoftware.com/CrestShop/

Object Input Argument: Object Mapped

Data Input Argument: Timeout not given

Argument Data Missing (-13200) Argument(s) : (Timeout) are blank

When object of radio button is not given.

Browser: Mozilla Firefox

URL: https://www.crestechsoftware.com/CrestShop/

Object Input Argument: Object not given

Data Input Argument: Index given

Argument Data Missing (-13200) Data not provided for argument: ‘Object’. Expected StaticValue was empty.

If browser name and URL of web application is not given.

Browser:

URL:

Object Input Argument: Object given

Data Input Argument: Index given

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Argument(s) : (Browser,URL) are blank

-plugin-unable-to-take-screenshot-

Either Browser was never Opened  or all WebDriver instances were closed

Argument(s) : (Timeout) are blank

SelectRadioButtonInTableCell

This keyword selects radio button available inside any table cell. This keyword is mostly used in situations where you have to select radio button within your table cell.

For example, you want to select radio button available inside any table cell and perform action on it.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object input argument. You can choose the table object from your Object Repository within which you want to click on this link

Data Input Arguments

Required?

Description

Row Index

Yes Specify the Row number of the cell in which link appears.
Note: Row Index start from zero .
Column Index Yes

Specify the Column number of the cell in which link appears.

Note: Column Index start from zero .

Object Index Yes

Index of object in table cell

Note: Indexing of object start from zero.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

In the example table above, if you want to select “shirt size” as “S” radio button in 2nd Row last column, here is how you will use this keyword “SelectRadioButtonInTableCell”.

SelectRadioButtonInTableCell

Object <   Choose your object from OR   >
Row Index 1
Column Index 1
Object Index 0

Common Error conditions

Scenarios

Error Message

Debug Information

If table object is not found

Object Not Found

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

If specified cell is not found Argument Data Invalid Given row not exist in table
If no object is found in the specified cell Unsupported Operation Given row does not exist in table cell

SelectRadioButtonOnIndexBasis

This keyword selects the Radio button from Radio-group on the base of index specified by user. It takes a “radio button” as object in Object Input Argument and “index” as Data Input Argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes radio button object as object in Object Input Argument. You can choose the radio button object from your Object Repository.

Data Input Arguments

Required?

Description

Index

Yes

Specify the Index of the radio button which you want to select.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

This Keyword selects the Radio button from Radio-group on the base of index specified by user

 

Suppose you want to Select “Female” radio button then map this radio button object with this keyword and provide index=0 in Data input argument.

SelectRadioButtonOnIndexBasis

Object

< Choose any Radio Button Object from OR >

Index

0

Common Error conditions

Scenarios

Error Message

Debug Information

When no Object Input Argument is provided

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc.; but it must not be left blank.

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

If we provide the object which is not available on current page.

Object Not Found (-11100)

DESCRIPTION:

The object on which an action was supposed to be performed, was not found on the currently active page or view. This happens when the page is not properly loaded or the properties of the object are not exactly matched.

Object Not Found

SelectWindow

This keyword selects the specified child window on the basis of title of the window. It takes title of the child window as input parameter.

This keyword is mostly used when user needs to switch focus and perform actions on a new window opened during execution.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

Title

Yes

This argument takes the title of the child window.  

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

If you want to  perform actions on a child window opened during execution. Then you can switch focus to the child window using this keyword.

For example, you are working on a webpage “https://www.indianrail.gov.in/know_Station_Code.html”. On the page, clicking link  “Internet Reservation” opens the page on a new window with title “IRCTC Next Generation eTicketing System”.

Now If you want to switch focus to the newly opened window and perform actions on it. Then you can use it as follows

SelectWindow

Timeout IRCTC Next Generation eTicketing System

Common Error conditions

Scenarios

Error Message

Debug Information

When valid data is provided. [Title: IRCTC Next Generation eTicketing System]

Done

Not Available

When Blank data is provided.

[Title: (Blank)]

Done

 Not Available
When invalid data is provided. 

Argument Data Invalid (-13300)

DESCRIPTION:

The data value for one or more input arguments was not what was expected. This might happen when the input is expected in a specific format or should be chosen from a predefined set of values. Check for spell errors and capsing.

Actually Found : and Expected :

SetFocus

 

This keyword sets the focus on specified Object. This keyword takes object as input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes an object as object input argument.

Data Input Arguments

Required?

Description

No

No

This keyword doesn’t take any data input argument.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

SetFocus.jpg

This keyword sets focus to the specified object.

 

While using this keyword, you should ensure that you are using this keyword with a relevant keyword (like OpenBrowser) which can open your web application having particular object.

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given

Browser: Mozilla Firefox

URL: https://cresconnect.crestechglobal.com/home.php

Object Input Argument: Not given

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

When browser name & URL of web application are not given

Browser:

URL:

Object Input Argument: Given

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Either Browser was never Opened  or all WebDriver instances were closed

-plugin-unable-to-take-screenshot-

SetFocusEditField

This keyword sets focus to the specified Edit field. This keyword takes Edit field object as input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes an object as object input argument.

Data Input Arguments

Required?

Description

No

No

This keyword doesn’t take any data input argument.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

setfocuseditfield.jpg

This keyword sets focus to the specified Edit field of given webpage.

 

While using this keyword, you should ensure that you are using this keyword with a relevant keyword (like OpenBrowser) which can open your web application having edit field.

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given

Browser: Mozilla Firefox

URL: https://cresconnect.crestechglobal.com/home.php

Object Input Argument: Not given

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Either Browser was never Opened  or all WebDriver instances were closed

-plugin-unable-to-take-screenshot-

When browser name & URL of web application are not given

Browser:

URL:

Object Input Argument: Given

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Either Browser was never Opened  or all WebDriver instances were closed

-plugin-unable-to-take-screenshot-

SetFocusOnDropDown

This keyword sets focus to the specified dropdown. This keyword takes dropdown object as input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes an object input argument.

Data Input Arguments

Required?

Description

No

No

This keyword doesn’t take any data input argument.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

dropdown.jpg

This keyword sets focus to the specified dropdown.

 

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given.

Browser: Mozilla Firefox

URL: https://www.idbi.com/newautoloan.asp

Object: No Object

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

When URL & browser name are not given.

Browser:

URL:

Object: Given

Argument Data Missing (-13200) Data not provided for argument: ‘Object’. Expected StaticValue was empty

SetFocusOnWindow

This keyword sets focus on the specified window on basis of index provided. This keyword takes index as input parameter where 0 indicates the index of parent window.

This keyword is mostly used when user needs to set focus on a specified window and perform actions on the specified window during execution.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

Index

Yes

This argument takes the index of window where “0” indicates index of parent window.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

 If you want to  perform action on a specified window opened during execution on the basis on index provided. Then you can set focus on the window using this keyword.

For example, you are working on a webpage “https://www.indianrail.gov.in/know_Station_Code.html”. On the page, clicking link  “Internet Reservation” opens the page on a new window with title “IRCTC Next Generation eTicketing System”.

Now if you want to switch focus to the newly opened window and perform actions on it. Then you can use it as follows

SetFocusonWindow

Index

5

Common Error conditions

Scenarios

Error Message

Debug Information

When valid data is provided. [Index: 5]

Done

Not Available

When Blank data is provided. [Index: Blank]

Done

 Not Available

When invalid data is provided. 

[Index: -1]

Argument Data Invalid (-13300)

DESCRIPTION:

The data value for one or more input arguments was not what was expected. This might happen when the input is expected in a specific format or should be chosen from a predefined set of values. Check for spell errors and capsing.

Actually Found : and Expected :

SetFocusTextArea

This keyword sets the Focus on specified TextArea. This keyword takes TextArea object as input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes an object as object input argument.

Data Input Arguments

Required?

Description

No

No

This keyword doesn’t take any data input argument.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

setfocuseditfield.jpg

This keyword sets focus to the specified Text area.

While using this keyword, you should ensure that you are using this keyword with a relevant keyword (like OpenBrowser) which can open your web application having text area.

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given

Browser: Mozilla Firefox

URL: https://cresconnect.crestechglobal.com/home.php

Object Input Argument: Not given

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

When browser name & URL of web application are not given

Browser:

URL:

Object Input Argument: Given

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

 

Either Browser was never Opened  or all WebDriver instances were closed

-plugin-unable-to-take-screenshot-

SetPage

This keyword sets the current page by synchronizing the browser until web page loads properly. This keyword is generally used after keyword “OpenBrowser” or  where-ever page redirection happens.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

No

No

This keyword doesn’t take any data input argument.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

For example, you want to wait for the web-page to be loaded after launching the browser, then you can use this keyword for the same.

Common Error conditions

Scenarios

Error Message

Debug Information

If keyword is used without launching web-page on browser.

Insufficient Privileges (-14100)

DESCRIPTION:

The system does not have sufficient privileges to carry out a particular task. This mostly happens when the currently logged-in user at the execution site does not have permission to access a particular resource. The protected resource may be a network share, folder or a drive. User may contact the system administrator to sort out the issue.

Either Browser was never Opened  or all WebDriver instances were closed

SwitchToDefaultContent

This Keyword switches the user to the Default Content after the selection of a Frame on the web page. It does not takes any parameter. It is used only after Select Frame keyword. 

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

1.jpg

This keyword switches the user to the Default Content after selection of a Frame on the web page.

In the above Screenshot, if you want to select the highlighted frame and then switch the user to the default content then, you can do so by using keyword SwitchToDefaultContent  keyword

Common Error conditions

Scenarios

Error Message

Debug Information

When browser was never opened or the keyword is used without launching web-page on browser.

Insufficient Privileges (-14100)

DESCRIPTION:

The system does not have sufficient privileges to carry out a particular task. This mostly happens when the currently logged-in user at the execution site does not have permission to access a particular resource. The protected resource may be a network share, folder or a drive. User may contact the system administrator to sort out the issue.

Either Browser was never Opened  or all WebDriver instances were closed

SyncBrowser

This keyword synchronizes the browser until web page loads properly. This keyword is generally used after keyword “OpenBrowser” or  where-ever page redirection happens.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

No

NO

This keyword doesnot take any Data Input Argument.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

For example, you want to wait for the web-page to be loaded after launching it on the web browser, then you can use this keyword for the same.

Common Error conditions

This keyword accepts the current popup. It doesn’t take any object/data input argument.

Scenarios

Error Message

Debug Information

When No Object or Data Input Arguments are passed.

Done

Not Available

If keyword is used without launching web-page on browser.

Insufficient Privileges (-14100)

 

DESCRIPTION:

The system does not have sufficient privileges to carry out a particular task. This mostly happens when the currently logged-in user at the execution site does not have permission to access a particular resource. The protected resource may be a network share, folder or a drive. User may contact the system administrator to sort out the issue.

Either Browser was never Opened  or all WebDriver instances were closed

TypeKeysAndWait

This keyword types the specified value on given Edit field character by character and wait for given timeout. This keyword takes one object of type “Editbox” or “TextArea” as object argument, value and time to wait after typing text as data arguments.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes one object of type “EditBox” or “TextArea” as input argument. You can select the “EditBox” or “TextArea” object from your Object Repository.

Data Input Arguments

Required?

Description

Value

Yes

This argument takes the value which is to be typed on the selected editfield.

Timeout Yes This argument takes time(in seconds) to wait after typing value on the editfield. 

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

For example, you want to type some keys on an “EditBox” or “TextArea” and wait for a specified timeout , then you can use this keyword for same.

Common Error conditions

Scenarios

Error Message

Debug Information

When valid Object and Data Input Argument is provided

Valid Data

Value: Joe

Timeout: 5

Done

Not Available

When valid Object and invalid Data Input Argument is provided

Value: Joe

Timeout: -1

When invalid Object and valid Data Input Argument is provided.

Valid Data

Value: Joe

Timeout: 5

When Blank data and valid Input argument is provided.

Value: Joe

Timeout: (Blank)

Argument Data Missing (-13200)

 

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Argument(s) : (Timeout) are blank.

When blank Object and Valid data input argument is provided .

Valid Data

Value: Joe

Timeout: 5

Argument Data Missing (-13200)

 

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

TypeKeysInTextArea

This keyword is used to Type specified keys in any text area character by character. This keyword is used when you want to type any text character by character in text area and it takes Text area as Object Input Arguments and keys to be typed in Data Input Argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes an object as object input argument.

Data Input Arguments

Required?

Description

Value

Yes

This keyword takes keys to be typed in text area, as data input argument.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

001.jpg

This keyword types Text in TextArea and Press ENTER Button.

Common Error conditions

Scenarios

Error Message

Debug Information

When object & key(s) to be typed are not given.

Browser: Mozilla Firefox

URL: https://cresconnect.crestechglobal.com/index.php?

Object: No Object

Key(s) in Data Input Argument: Not Given

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

When URL & browser name are not given.

Browser:

URL:

Object: Given

Key(s) in Data Input Argument: Given

Argument Data Missing (-13200)

Insufficient Privileges (-14100)

Argument(s): (Browser,URL) are blank

Either Browser was never Opened  or all WebDriver instances were closed

-plugin-unable-to-take-screenshot-

TypeKeysOnEditBox

This keyword is used to Type specified keys on Edit Box char by char. This keyword is used when you want to type any text on specified Edit Box character by character. It takes Edit Box as Object Input Arguments and value as Data Input Argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

Edit Box in which keys has to be typed.

Data Input Arguments

Required?

Description

Value

Yes

Specify the value which has to be typed.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Blank                        If provide null Object Input Argument

Example

If you want to Type ‘Hello’ on Edit Box “firstname” then you will use this keyword as shown below –

TypeKeysOnEditBox

Object <   First Name  >

Value

Hello

Common Error conditions

Scenarios

Error Message

Debug Information

If provide Invalid Object

If provide Null Object Argument Data Missing (-13200) Data not provided for argument: ‘Object’. Expected StaticValue was empty.

TypeOnObjectInTableCell

This keyword type text on edit box. This keyword is mostly used in situations where you want to type text on edit box present in table cell. For example, you want to type text in edit box in table cell.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object input argument. You need to select the table object.

Data Input Arguments

Required?

Description

Row

Index

Yes

This keyword doesn’t take any data input argument.

Column Index

Yes  This Keyword takes index value of column.
Tag Yes  This Keyword takes the Tag value of edit box.
Index Yes  This Keyword takes the index value of the object.
Text Yes  This Keyword takes the static text for object.

Note : Index value must start from 0

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

C:Userspallavi.goelPictures16.png

In the example above, if you want to type text in the edit box of Name of First applicant, here is how you will use this keyword.

TypeKeysOnEditBox

Object <   Choose Object From OR  >

Common Error conditions

Scenarios

Error Message

Debug Information

If no object is selected

<Data not provided for argument: ‘Object’. Expected StaticValue was empty.>

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

If Object is Provided but Data input argument is not Provided Argumemt(s) : (Row Index;Column Index;Tag;Index;Text) are blank.

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

If Object is not Provided but Index Value is Provided Data not provided for argument: ‘Object’. Expected StaticValue was empty.

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

If Index data is wrong No Object of input type  found in the Table Cell

Unsupported Operation (-11400)

DESCRIPTION:

An operation was attempted, but the target of that operation does not support that. An analogy could be like typing on a button. Here button is the target of type operation, which it does not support. It supports clicking. While it is mostly a permanent disability, at times it could be temporary. For example browser’s Go-Back feature is unsupported while the very first page is loaded. But as soon as the browser navigates to some other page, the feature gets enabled.

TypeSecureText

This Keyword types the text in secure manner; by not displaying its actual content. It types given text in asterisk format (encrypted form). This Keyword is mostly used in situations where you do not want to share or display the text like password etc. It takes an object as object input argument and value as data input argument.

For TypeSecureText Keyword:

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object input argument. You can choose web object from your Object Repository where you want to type the secure text.

Data Input Arguments

Required?

Description

Value

Yes

Here you need to provide the text to be typed as secure text.

Output

 

It types the given text in encrypted format

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

https://cresconnect.crestechglobal.com/index.

php?ref=https://cresconnect.crestechglobal.com/

moredetail.php?blogid=OTE5

2.png

This keyword types the specified text in a secure manner within the specified Object.

In the above screenshot if you want to type the “password” in a secure manner then you can use “TypeSecureText” keyword as follows:

TyprSecureText

Object

<  Choose the Object from OR  >

Value

Password@1

When we provide a string value with TypeSecureText keyword then it types the string in asterisk format.

SecureText.jpg

The keyword is executed as follows:

2.png

Common Error conditions

Scenarios

Error Message

Debug Information

Object Not Given

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

When the Data Input Argument “Value” has been left blank.

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Argument(s) value is/are blank.

TypeTextAndEnterEditBox

This keyword is used to Type text in Edit box and press Enter.This keyword is used when you want to type any text in Edit Box and press Enter button. It takes Edit Box as Object Input Arguments and text to be typed in Data Input Argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

Edit Box in which text has to be typed.

Data Input Arguments

Required?

Description

Value

Yes

Specify the value which has to be typed.

Output

True

If the keyword passes successfully

False

If the keyword fails

Blank                        If provide null Object Input Argument

Example

If you want to Type ‘Hello’ on Edit Box “firstname” and press Enter button then you will use this keyword as shown below

TypeTextAndEnterEditBox

Object <   First Name  >

Value

Hello

Common Error conditions

Scenarios

Error Message

Debug Information

If provide Invalid Object

If provide Null Object Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

TypeTextAndEnterTextArea

This keyword is used to Type text in any text area and press Enter. This keyword is used when you want to type any text in text area and press Enter button. It takes Text area as Object Input Arguments and text to be typed in Data Input Argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

Text Area in which text has to be typed.

Data Input Arguments

Required?

Description

Value

Yes

Specify the value which has to be typed.

Output

True

If the keyword passes successfully

False

If the keyword fails

Blank                        If provide null Object Input Argument

Example

If you want to Type text ‘Hello’ in specified text area and press Enter button then use this keyword as shown below

TypeTextAndEnterEditBox

Object < Choose text area object from OR >

Value

Hello

Common Error conditions

Scenarios

Error Message

Debug Information

If provide Invalid Object

If provide Null Object Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

TypeTextAndWait

This keyword is used to Type text on given Edit field and wait for specified time. This keyword is used when you want to type any text in specified Edit field and then wait for some time. It takes Edit field as Object Input Arguments, text to be typed and time to wait after typing text as Data Input Argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

Edit field in which keys has to be typed.

Data Input Arguments

Required?

Description

Value

Yes

Specify the value which has to be typed.

Time Out

Yes

It takes time (sec) as input parameter.

NOTE: *It takes only Integer value.

Timeout in Data Input Arguments should be less than Step timeout set in Advance Execution Settings.

Output

True

If the keyword passes successfully

False

If the keyword fails

Blank                        If provide null Object Input Argument

Example

If you want to Type text ‘Hello’ in Edit field “Username” and wants to wait for some time then you will use this keyword as shown below

TypeTextAndWait

Object < UserName >

Value

Hello

TimeOut  10(Sec)

Common Error conditions

Scenarios

Error Message

Debug Information

If provide Invalid Object

If provide Null Object Argument Data Missing (-13200) Data not provided for argument: ‘Object’. Expected StaticValue was empty.
If provide invalid Timeout Step Timed Out (-12200) Step timed out. System waited for 60 sec

TypeTextInTableCell

This keyword types the specified Text in given object inside table cell. It takes table type object as object input argument and row Index, col Index, object Index, tag and text to be typed as data input argument.

For TypeTextInTableCell  Keyword:

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one table object as  Object Input Argument.

Data Input Arguments

Required?

Description

Row

Index

Yes

Specify the row index of the table cell

Column

Index

Yes Specify the column index of the table cell

Tag

Yes

Specify Object Tag.

Give the Tag value of parent object.

Object

Index

Yes Specify the position of the object inside the Table cell. Index starts from ‘0’

Text

Yes Select Values  from the dropdown in the table cell.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

1.jpg

This keyword   types the specified Text in given object inside table cell.

In the above Screenshot, if you want to type the value “MyComment”  in the  highlighted Table cell, you can do so by using TypeTextInTableCell keyword as follows:

TypeTextInTableCell

 

Row

Index

 

1

Column

Index

0

Tag

INPUT

Object

Index

0

Text

MY Comment

Common Error conditions

Scenarios

Error Message

Debug Information

If  no browser is given

Insufficient Privileges (-14100)

DESCRIPTION:

The system does not have sufficient privileges to carry out a particular task. This mostly happens when the currently logged-in user at the execution site does not have permission to access a particular resource. The protected resource may be a network share, folder or a drive. User may contact the system administrator to sort out the issue.

Either Browser was never Opened  or all WebDriver instances were closed

When Invalid Data Input Arguments are provided.

Argument Data Invalid (-13300)

 

DESCRIPTION:

The data value for one or more input arguments was not what was expected. This might happen when the input is expected in a specific format or should be chosen from a predefined set of values. Check for spell errors and capsing.

Index is invalid.
When Invalid Object Input Arguments are provided other than table.

Argument Data Invalid (-13300)

 

DESCRIPTION:

The data value for one or more input arguments was not what was expected. This might happen when the input is expected in a specific format or should be chosen from a predefined set of values. Check for spell errors and capsing.

Specified Object is not Table.

TypeTextInTableCellByQuery

This keyword types the specified Text in given object inside table cell by Query. It takes table type object as object input argument and Column Name/Index, Object Index, Header and Value to be typed as data input arguments.

For TypeTextInTableCellByQuery Keyword:

nput Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one table object as  Object Input Argument.

Data Input Arguments

Required?

Description

Column Name/Index

Yes

Specify the column name or index n which the value has to be typed.

Object

Index

Yes Specify the position of the object inside the Table cell. Index starts from ‘0’

Header 1

Yes

Specify the header of the column by which you can uniquely identify the table cell in which the value has to be typed

Value 1

Yes Specify the Value of the column cell by which you can uniquely identify the table cell in which the value has to be typed.

Value

Yes Specify the value which you need to type in the table cell.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

1.jpg

This keyword   types the specified Text in given object inside table cell.

In the above Screenshot, if you want to type the value “MyComment”  in the  highlighted Table cell, you can do so by using TypeTextInTableCell keyword as follows:

TypeTextInTableCell

Column

Name

 

0

Object

Index

0

Header

Hello 2

Value 1

hi1 

Value

Type text passed 

Common Error conditions

Scenarios

Error Message

Debug Information

If  no browser is given

Insufficient Privileges (-14100)

DESCRIPTION:

The system does not have sufficient privileges to carry out a particular task. This mostly happens when the currently logged-in user at the execution site does not have permission to access a particular resource. The protected resource may be a network share, folder or a drive. User may contact the system administrator to sort out the issue.

Either Browser was never Opened  or all WebDriver instances were closed

When Invalid Data Input Arguments are provided.

Argument Data Invalid (-13300)

 

DESCRIPTION:

The data value for one or more input arguments was not what was expected. This might happen when the input is expected in a specific format or should be chosen from a predefined set of values. Check for spell errors and capsing.

Index is invalid.
When Invalid Object Input Arguments are provided other than table.

Argument Data Invalid (-13300)

 

DESCRIPTION:

The data value for one or more input arguments was not what was expected. This might happen when the input is expected in a specific format or should be chosen from a predefined set of values. Check for spell errors and capsing.

Specified Object is not Table.

TypeTextInTextArea

This keyword types the specified Text in the given TextArea. This keyword takes a TextArea object and a text to be typed on Textarea, as input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes an object as object input argument.

Data Input Arguments

Required?

Description

No

No

This keyword doesn’t take any data input argument.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

TextArea.png

This keyword types the specified Text in the given TextArea.

 

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given.

Browser: Mozilla Firefox

URL: https://cresconnect.crestechglobal

.com/index.php?

Object: No Object

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

When URL & browser name are not given.

Browser:

URL:

Object: Given

Argument Data Missing (-13200) Data not provided for argument: ‘Object’. Expected StaticValue was empty.

TypeTextOnEditBox

This keyword types the specified Text in the given TextArea. This keyword takes a TextArea object and a text to be typed on Textarea, as input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes an object as object input argument.

Data Input Arguments

Required?

Description

No

No

This keyword doesn’t take any data input argument.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

TextArea.png

This keyword types the specified Text in the given TextArea.

Common Error conditions

Scenarios

Error Message

Debug Information

When object is not given.

Browser: Mozilla Firefox

URL: https://cresconnect.crestechglobal

.com/index.php?

Object: No Object

Argument Data Missing (-13200)

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

When URL & browser name are not given.

Browser:

URL:

Object: Given

 

Argument Data Missing (-13200) Data not provided for argument: ‘Object’. Expected StaticValue was empty.

Wait

This keyword is a static wait and it waits for specified time (sec). This keyword takes timeout as  Data input arguments as input parameter.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This Keyword does not require any Object Input Argument.

Data Input Arguments

Required?

Description

 

Timeout

 

Yes

*It takes time (sec) as input parameter.

NOTE: *It takes only Integer value.

Timeout in Data Input Arguments should be less than Step timeout set in Advance Execution Settings.

Output

True

If the keyword passes successfully

False

If the keyword fails

Blank Output                 If invalid Timeout is provided 

Example

If you want to wait for a while after Opening any browser then use this keyword as shown below

Wait

Object < Not Required >
Time Out 10 Secs 

Common Error conditions

Scenarios

Error Message

Debug Information

If Invalid Time Out is Provided.

< Step Timed Out (-12200) >

Step timed out. System waited for 60 sec

If Null TimeOut is provided

< Argument Data Missing (-13200) > Argument(s):(Timeout)are blank

WaitForEditBoxDisabled

This keyword waits to get Edit Box disabled for some specified time.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object input argument. You can choose the DropDown object from your Object Repository.

Data Input Arguments

Required?

Description

TimeOut

Yes

*It takes time (sec) as input parameter.

NOTE: *It takes only Integer value

* Timeout in Data Input Arguments should be less than Step timeout set in Advance Execution Settings.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Blank Output If provide Invalid timeout or Null timeout

Example

In the example below, if you want to Wait for edit box “lastname” to get Disabled then use this keyword as shown below –

WaitForEditBoxDisabled

Object <   Last Name   >
Time Out 10 Secs 

It will wait for 10 sec to get Edit box disabled, as shown below:

Common Error conditions

Scenarios

Error Message

Debug Information

If Provide invalid Timeout

< Step Timed Out (-12200) >

Step timed out. System waited for 40 sec.

If null Object is Provided

< Argument Data Missing (-13200) > Data not provided for argument: ‘Object’. Expected StaticValue was empty.

 

If Provide Invalid Object Object Not Found (-11100) Object Not Found
If Edit Box do not get disabled Step Timed Out (-12200) Step timed out. System waited for 40 sec.

WaitForEditBoxEnabled

This keyword waits to get Edit Box enabled for some specified time. This keyword takes Edit box in Object Input Argument and Timeout in Data Input Arguments as input.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

Provide Edit Box in Object Input Arguments

Data Input Arguments

Required?

Description

TimeOut

Yes

*It takes time (sec) as input parameter.

NOTE: *It takes only Integer value.

* Timeout in Data Input Arguments should be less than Step timeout set in Advance Execution Settings

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Blank Output If Invalid timeout or Null timeout is provided

Example

In the example below , if you want to Wait for edit box “lastname” to get Enabled then use this keyword as shown below –

WaitForEditBoxEnabled

Object <   Last Name   >
Time Out 10 Secs 

It will wait for 10 sec to get Edit box disabled, as shown below:

Common Error conditions

Scenarios

Error Message

Debug Information

If invalid Timeout is Provided

< Step Timed Out (-12200) >

Step timed out. System waited for 20 sec.

If null Object is Provided

< Argument Data Missing (-13200) > Data not provided for argument: ‘Object’. Expected StaticValue was empty.

 

If Edit Box does not get enabled Object Not Found (-11100) Object Not Found
If Edit Box do not get disabled Step Timed Out (-12200) Step timed out. System waited for 40 sec.

WaitForImageLoad

This keyword waits for specified Image on page in given time. This keyword used in such a condition when Page have Image and Image takes more time to show on page so in that case waitForImageLoad keyword is used. This keyword waits for the specified time and if in given time Image is visible on page then it passes the Execution if Image is not visible in given time then it fails the Execution.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object input argument. You can choose the DropDown object from your Object Repository.

Data Input Arguments

Required?

Description

Timeout

Yes

Give time duration that till that particular time keyword should wait for ImageLoad.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

In the example, if user want  to Wait for a Specified Image Object here is how you will use this keyword

For More Information user can go through below given URL   https://www.imagesbazaar.com

WaitForImageLoad

Object <   Choose your object from OR   >

Common Error conditions

Scenarios

Error Message

Debug Information

If Object is found

Object:220-SM592133

Timeout:20 Secs

If Image Object is not found

Object:Provide Wrong Object

Timeout:20 Secs

Object Not Found
If user does not provide any Data Input Arguments

Object:Wireless

PropertyName:

PropertyValue:

Timeout:

Argument Data Missing
If user does not provide any Object

Object-

Timeout:20 Secs

Argument Data Missing

 

WaitForLink

This keyword waits for specified link on page in specified time. This keyword used in such a condition when Page have Links and links takes more time to show on page so in that case waitForLink keyword is used. This keyword wait for specified time and if in given time link is visible on page then it passes the Execution if link is not visible in given time then it fails the Execution.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object input argument. You can choose the DropDown object from your Object Repository .

Data Input Arguments

Required?

Description

TimeOut

Yes

Give time duration that till that particular time keyword should wait for Link.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

In the example, if user want to Wait for Link  which is available on page  here is how you will use this keyword

For More Information user can go through below given URL https://www.gmail.com

WaitForLink

Object <   Choose your Link object from OR   >

Common Error conditions

Scenarios

Error Message

Debug Information

If Link Object is found

Object: correct object

Timeout: correct timeout value

If Link Object is not found

Object: Incorrec Object is provided

Timeout: correct timeout value

Object Not Found
If Invalid Data Input argument is passed  Verification Failed
If no link object is provided  Argument Data Missing

WaitForObjectDisable

This keyword waits for some specified time to get Object disabled. This keyword takes one object as Object Input Argument and WaitTime in Data Input Arguments.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

Provide one Object from OR which has to get disabled.

Data Input Arguments

Required?

Description

WaitTime

Yes

*It takes time (sec) as input parameter.

NOTE: *It takes only Integer value.

* Timeout in Data Input Arguments should be less than Step timeout set in Advance Execution Settings.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Blank If Invalid object or Invalid timeout is provided

Example

In the example below, if you want to wait for any specified time for a specified object to get disabled then use this keyword as shown below –

WaitForObjectDisable

Object <   Choose your object from OR   >
wait time <     10 Sec    >

Common Error conditions

Scenarios

Error Message

Debug Information

If Provide invalid Waittime.

< Step Timed Out (-12200) >

Step timed out. System waited for 20 sec.

If Provide null Waittime Argument Data Missing (-13200) Arguments(s): (Waittime) are blank.
If Provide Invalid Object Object Not Found (-11100) Object Not Found
If Provide null Object < Argument Data Missing (-13200) > Data not provided for argument: ‘Object’. Expected StaticValue was empty.
If object do not get disabled Object Not Operable (-11200) Object is not disable

WaitForObject

This keyword waits for specified Object on page in given time. This keyword used in such a condition when Page have Object and Object takes more time to show on page so in that case waitForObject keyword is used. This keyword waits for specified time and if in given time Object is visible on page then it passes the Execution if Object is not visible in given time then it fails the Execution.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object input argument. You can choose the DropDown object from your Object Repository.

Data Input Arguments

Required?

Description

TimeOut

Yes

Give time duration that till that particular time keyword should wait for Object.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

In the example, if user want  to Wait for a Specified Object here is how you will use this keyword.

For More Information user can go through below given URL https://www.gmail.com

WaitForObject

Object <   Choose your object from OR   >

Common Error conditions

Scenarios

Error Message

Debug Information

If Object is found

Object:Create account

Timeout:20 secs

If Object is not found

Object: Incorrec Object is provided

Timeout: 20 secs

Object Not Found
If user does not provide any Data Input Arguments

Object:Create account

Timeout  :

Argument Data Missing
If no object is provided  Argument Data Missing

WaitForObjectEditable

This keyword waits until provided object becomes editable to user. This keyword is used in situations where object needs some time to become editable and after that you can perform any action on it.

For example, you want to type on any editbox which becomes editable after page load, in this case you can use this keyword “WaitForObjectEditable”.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object input argument. You can choose any object from your Object Repository for which you want to wait to become visible.

Data Input Arguments

Required?

Description

TimeOut

Yes

Specify the time upto which you want to wait for object to be visible.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

In the example above, if you want to type text on “FirstName” editbox, but this editbox need some time to become visible after page load.In this case you can use this keyword.

WaitForObjectEditable

Object <   Choose your object from OR   >
TimeOut 5

Note: Time Format is in seconds.

Common Error conditions

Scenarios

Error Message

Debug Information

If object is not found

Object Not Found

Cannot locate element with text

If timeout not specified Argument Data Missing Argument Data Missing

WaitForObjectEnable

This keyword waits for some specified time to get Object enabled. This keyword takes one object as Object Input Argument and Timeout as Data Input Arguments.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

Provide an object from OR which has to get enabled

Data Input Arguments

Required?

Description

TimeOut

Yes

*It takes time (sec) as input parameter.

NOTE: *It takes only Integer value.

* Timeout in Data Input Arguments should be less than Step timeout set in Advance Execution Settings.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Blank If invalid time out or Invalid object is provided

Example

In the example below, if you want to wait for any specified time to get enabled then use this keyword as shown below –

WaitForObjectEnable

Object <   Choose your object from OR   >
Time Out <     10 Sec   >

It will wait for 10 sec to get Object enabled, as shown below.

Common Error conditions

Scenarios

Error Message

Debug Information

If Provide invalid Timeout

< Step Timed Out (-12200) >

Step timed out. System waited for 20 sec.

If Provide null Timeout Argument Data Missing (-13200) Arguments(s): (Waittime) are blank.
If Provide Invalid Object Object Not Found (-11100) Object Not Found
If Provide null Object < Argument Data Missing (-13200) > Data not provided for argument: ‘Object’. Expected StaticValue was empty.
If object do not get enabled Object Not Operatable (-11200) Web-Element is disabled

WaitForObjectProperty

This keyword waits for specified property on page in given time. This keyword used in such a condition when Page have Object and Object takes more time to show on page so in that case waitForObjectProperty keyword is used. This keyword waits for Property which is provided by user and if in given time Object Property found  then it passes the Execution if Property is not Found in given time then it fails the Execution.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object input argument. You can choose the DropDown object from your Object Repository.

Data Input Arguments

Required?

Description

PropertyName

Yes

Specify the Property Name that should be anything like “innertext”,”tag”,”index”,”link”

Note:Property should be available in Object .

 

PropertyValue

 

Yes

Specify Property Value on the basis of Property name user should provide Property Value like in case of innertext user should provide innertext value in case of link user should provide link value.
 

Timeout

 

Yes

 

Give time duration that till that particular time keyword should wait for Object Property.

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

In this Example user want to wait for ObjectProperyName “innertext” and here innertext=Wireless.

For More Information user can go through below given URL https://www.verizon.com

WaitForObjectProperty

Object <   Choose your object from OR   >

Common Error conditions

Scenarios

Error Message

Debug Information

If Object Property is found

Object:220-SM592133

PropertyName:innertext

PropertyValue:Wireless

Timeout:20 Sec

If Object Property is not found

Object:Wireless

PropertyName:innertext

PropertyValue:Residential

Timeout:20 Sec

Unsupported Operation
If user does not provide any Data Input Arguments

Object:Wireless

PropertyName:

PropertyValue:

Timeout:

Argument Data Missing
If user does not provide any Object

Object-

PropertyName:innertext

PropertyValue:Wireless

Timeout:20 Sec

Argument Data Missing

 

WaitForObjectVisible

This keyword waits until provided object becomes visible to user. This keyword is used in situations where object needs some time to become visible and after that you can perform any action on it.

For example, you want to type on any editbox which becomes visible after page load, in this case you can use this keyword “WaitForObjectVisible”.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object input argument. You can choose any object from your Object Repository for which you want to wait to become visible.

Data Input Arguments

Required?

Description

TimeOut

Yes

Specify the time upto which you want to wait for object to be visible.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

In the example above, if you want to type text on “FirstName” editbox, but this editbox need some time to become visible after page load.In this case you can use this keyword.

WaitForObjectVisible

Object <   Choose your object from OR   >
 

TimeOut

5

Note: Time format is in Seconds.

Common Error conditions

Scenarios

Error Message

Debug Information

If object is not found

Object Not Found

Cannot locate element with text

If timeout not specified Argument Data Missing Argument Data Missing

Web_clickByText

This keyword clicks on an object on the basis of its text, index.  This keyword takes 3 data arguments i.e. Text, Index and isContains. It does not require any object for completing its action. Selenium Webdriver and Selenium-JS plugins can be used for executing this keyword.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

Text

Yes

This argument takes the text of the object on which click action is to be performed.

 

Index

 

Yes

This argument takes the index of the text on which click action is to be performed. It takes 0 as default index if left blank

 

isContains

 

Yes

Selecting this option enables “isContains” property for the text and enables keyword to click on almost matched provided text.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

For example if you want to click on an object named “News” on a webpage “https://sstsinc.com”, then you can use this keyword for clicking on the object by providing the object’s text to it.

Data Input Arguments

Value

Text News

Index

0

isContains False

Common Error conditions

Scenarios

Error Message

Debug Information

If object is not given

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Argumemt(s) : (Text) are blank.

Invalid Data

Text: ~`!@#$%^&*()-_=+|}][{:;”‘/?.,

Index: 0

isContains: False

Argument Data Invalid (-13300)

DESCRIPTION:

The data value for one or more input arguments was not what was expected. This might happen when the input is expected in a specific format or should be chosen from a predefined set of values. Check for spell errors and capsing.

No Object Found With Text <~`!@#$%^&*()-_=+|}][{:;”‘/?.,>

If browser is not launched.

Insufficient Privileges (-14100)

DESCRIPTION:

The system does not have sufficient privileges to carry out a particular task. This mostly happens when the currently logged-in user at the execution site does not have permission to access a particular resource. The protected resource may be a network share, folder or a drive. User may contact the system administrator to sort out the issue

Either Browser was never Opened  or all WebDriver instances were closed

-plugin-unable-to-take-screenshot-

Web_clickByTextInSequence

This keyword clicks on the specified Text in sequential manner. It does not take any Object as Input Argument but takes TextToSearch, Index, PartialText as Data Input Arguments.

Note: You can provide minimum 1 and maximum 5 Text to be clicked in sequence.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

TextToSearch

Yes

In this Data Input Argument, specify the text on which you want to click.

(TextToSearch1,TextToSearch2,TextToSearch3, TextToSearch4, TextToSearch5)

Index Yes

In this Data Input Argument specify “the Index number of the text”. If the text appears first time on the page then its index number is “ZERO (0)”

(Index1, Index2, Index3, Index, Index 5)

PartialText Yes

In this Data Input Argument select True if you provided the Partial text in “TextToSearch” otherwise False. (By default, it is False)

(PartialText1, PartialText2, PartialText3, PartialText

4, PartialText 5)

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

https://www.sstsinc.com/

This keyword clicks on the specified Text in sequential manner.

As shown in the above screenshot if we want to Click on Home Text, then after redirecting it on 2nd page if we want to click on text “Company” which is available on 2nd page then after reaching on 3rd page if we want to click on text “Product” which is available on 3rd page then after reaching on 4rth page if we want to click on text “News” which is available on 4rth page then after reaching on 4rth page if we want to click on text “Contact” which is available on 5th page

We can use “Web_TypeByText” keyword:

Web_TypeByText

Text To Search 1 Home
Index 1   0    
Partial Text 1 False
Text To Search 2 Company
Index 2 0
Partial Text 2 False
Text To Search 3 News
Index 3 0
Partial Text 3 False
Text To Search 4 News
Index 4 0
Partial Text 4 False
Text To Search 5 Contact
Index 5 0
Partial Text 5 False

Common Error conditions

Scenarios

Error Message

Debug Information

If TextToSearch Data Input Argument is Blank.

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank

Text is not provided.

If TextToSearch1 is having partial text, Index1 is Blank and PartialText1 is false.

Object Not Found (-11100)

 

DESCRIPTION:

The object on which an action was supposed to be performed, was not found on the currently active page or view. This happens when the page is not properly loaded or the properties of the object are not exactly matched.

No Object Found with Text <userdefinedText>

Web_DeSelectCheckBoxByText

This Keyword deselects the selected checkbox by given text. It takes Text To Search, Partial Text, Index and Before as data input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

Not Required

Data Input Arguments

Required?

Description

Text To Search

Yes

Provide Text on which Action has to be performed

Partial Text

Yes  Provide True if text to search is partial Text
Index Yes  Specify the Index of the object on which the checkbox has to be selected.
Before Yes  Provide True if the CheckBox appears before the Text

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

https://cresconnect.crestechglobal.com/

1.jpg

This keyword  Deselects the selected checkBox by given Text.

In the above example we need to deselect the selected  checkBox before the Text  “Remember Me” on the web page, we can do so by using “Web_DeSelectCheckBoxByText” keyword  as shown below:

Web_DeSelectCheckBoxByText

Text To Search <  Remember Me  >
Index <   0    >
Partial Text <   True  >
Before < True  >

Common Error conditions

Scenarios

Error Message

Debug Information

When Blank data input argument is provided

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank

Arguments (Texts to Search) is/are blank.

when invalid data Input arguments are  provided

Object Not Found (-11100)

 

DESCRIPTION:

The object on which an action was supposed to be performed, was not found on the currently active page or view. This happens when the page is not properly loaded or the properties of the object are not exactly matched.

No Object Found with Text

Web_GoBack

This keyword navigates back to previous page. This keyword doesn’t take any input parameter. This keyword is mostly used in situations where you want to go back on previous webpage.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

No

No

This keyword doesn’t take any data input argument.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

In the example, you click on any link and now you want to go back on previous page.

Common Error conditions

Scenarios

Error Message

Debug Information

If  no browser is given

Insufficient Privileges

Either Browser was never Opened or all WebDriver instances were closed.

Web_SelectByText

This Keyword selects the specific dropdown item by its text. If a drop down is having more than 1 item then with help of this keyword we can select the “required item” from its TEXT.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

TextTo

Search

Yes

Specify the name of the Dropdown’s item which we want to select.

Index Yes In this Data Input Argument, we provide the index of the drop down. Example: If there is only one Drop down on that page then this drop down will have index 0(Because this will be first drop down on that page)
PartialText No It is a checkbox which needs to be checked if the user has provided Partial Text in the TextToSearch field otherwise it is false
IsMultiple

Dropdown

No In this Data Input Argument, we specify that the drop down can hold one value or more than one value at a time. If drop down can hold one value at a time then provide “False” otherwise “True” (By default, it is False)

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

https://en-gb.facebook.com/r.php?locale=en_GB

IMAGE:

This Keyword selects the specified dropdown item from its text.

In the above screenshot, if you wish to select the specified Dropdown item in from its text, here is how you will use “Web_SelectByText” keyword.

Web_SelectByText

TextToSearch

10     

Index

0

Common Error conditions

Scenarios

Error Message

Debug Information

When Index Data Input Argument is provided wrong Value

Argument Data Invalid (-13300)

DESCRIPTION:

The data value for one or more input arguments was not what was expected. This might happen when the input is expected in a specific format or should be chosen from a predefined set of values. Check for spell errors and casing.

Index Is Invalid.

When TextToSearch Data Input Argument is Blank.

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Argument(s): (TextToSearch) is/are blank.

Web_SelectCheckBoxByText

This Keyword selects the checkbox by given text. It takes Text To Search, Partial Text, Index, Before and After as data input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

Not Required

Data Input Arguments

Required?

Description

Text To Search

Yes

Provide Text on which Action has to be performed

Partial Text

Yes  Provide True if text to search is partial Text
Index Yes  Specify the Index of the object on which the checkbox has to be selected.
Before Yes  Provide True if the CheckBox appears before the Text
Status Yes  Provide Status as “ON” or “OFF

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

https://cresconnect.crestechglobal.com/

1.jpg

This keyword  Selects the checkBox by given Text.

Web_SelectCheckBoxByText

Text To Search <  Remember Me  >
Index <   0    >
Partial Text <   True  >
Before < True  >
Status < >

Common Error conditions

Scenarios

Error Message

Debug Information

When Blank data input argument is provided

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank

Arguments (Texts to Search) is/are blank.

when invalid data Input arguments are  provided

Object Not Found (-11100)

 

DESCRIPTION:

The object on which an action was supposed to be performed, was not found on the currently active page or view. This happens when the page is not properly loaded or the properties of the object are not exactly matched.

No Object Found with Text

Web_SelectDropDownByText

This keyword selects value from dropdown using any label which is located near the dropdown.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

Dropdown

Label

Yes

Specify the label/Text nearby the   Dropdown.

Index Yes In this Data Input Argument, specify the Index number of the label.
PartialText Yes In this Data Input Argument, select True if label name is partial otherwise select False. (By default, it is False)
ValueToSelect Yes In this Data Input Argument, specify the Dropdown value which you want to select.
Before No It is a checkbox which needs to be checked If the Dropdown is before the specified DropdownLabel otherwise it remains unchecked.(By default, it is unchecked i.e. False)
IsMultiple

Dropdown

No It is a checkbox which needs to be checked If the Dropdown is multivalued dropdown otherwise it remains unchecked.(By default, it is unchecked i.e. False)

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

https://i.aol.com/reg/signup

This keyword selects value from dropdown using any label which is located near the dropdown.

In the above screenshot, if you wish to select value “Female” from gender dropdown then you can use the keyword “Web_SelectDropDownByText” as follows:

Web_SelectDropDownByText

DropdownLabel <  Gender  >
Index <   0    >
Partial Text <   False  >
ValueToSelect < Female >
Before <   False  >
IsMultipleDropdown <   False  >

Common Error conditions

Scenarios

Error Message

Debug Information

If ValueToSelect Data Input Argument is blank.

Object Not Found (-11100)

DESCRIPTION:

The object on which an action was supposed to be performed, was not found on the currently active page or view. This happens when the page is not properly loaded or the properties of the object are not exactly matched.

No Object Found with Text <>

If DropdownLabel Data Input Argument is blank.

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Argument(s): (DropdownLabel) is/are blank.

Web_SelectListItem

This keyword selects the Item specified in given list, this List can be an Ordered or Unordered list. It takes List Type Object Input Argument and Item of the List as Value Data Input Argument

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword requires List Type Object Input Argument

Data Input Arguments

Required?

Description

Value

Yes

In this Data Input Argument, specify the name of the list item, which you want to select using “Web_SelectListItem”.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

 URL: https://www.sstsinc.com/

This keyword selects the list item Home.

In the above screenshot if you want to select Home using “Web_SelectListItem”, then this is how you will use:Map List Type Object with keyword Web_SelectListItem , provide the Object and Data Input Arguments as follows:

Web_SelectListItem

Object <   Choose List Type Object from DOM   >
Value <   Home >

Common Error conditions

Scenarios

Error Message

Debug Information

If Object Data Input Argument is Blank

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

If Object and Data Input Argument both are bank

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

Web_SelectRadioButtonByText

This keyword selects specified radio button by its text. It does not takes any Object Input Argument. It takes TextToSearch, Index, Partial Text and Before as Data Input Arguments.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

TextToSearch

Yes

In this Data Input Argument, specify the text by which you want to select the radio button.

Index Yes In this Data Input Argument, specify “the Index number of the text”. If that text appears first time on the page then its index number is “ZERO (0)”
PartialText Yes In this Data Input Argument, select True if you provided the Partial text in “TextToSearch”, otherwise select False. (By default, it is False)
Before Yes If the radio button is before the specified text in “TextToSearch” argument then select “True”, otherwise select “False”. (By default, it is False)

Output

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

https://www.facebook.com/

This keyword selects radio button “Male” by using text which was provided in “TextToSearch” Data Input Argument.

In the above screenshot if you wish to select “Male” Radio button then this is how you will use “Web_SelectRadioButtonByText ” keyword:

Web_SelectRadioButtonByText

TextToSearch <  Male >
Index <   0    >
Partial Text <   False  >
Before <   True  >

Common Error conditions

Scenarios

Error Message

Debug Information

If Index Data Input Argument is wrong.

Argument Data Invalid (-13300)

DESCRIPTION:

The data value for one or more input arguments was not what was expected. This might happen when the input is expected in a specific format or should be chosen from a predefined set of values. Check for spell errors and capsing.

Index Is Invalid.

If TextToSearch Data Input Argument is blank.

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Argument(s): (TextToSearch) is/are blank.

Web_TypeByText

This keyword types on an element found by the specified text. This specified text can be a place holder or label.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

TextToSearch

Yes

Specify the text by which you want to find the element. It may be a placeholder or label.

Index Yes In this Data Input Argument specify “the Index number of the text”. If the text appears first time on the page then its index number is “ZERO (0)”
PartialText Yes In this Data Input Argument select True if you have provided the Partial text in “TextToSearch” otherwise False. (By default, it is False)
TextToType Yes In this Data Input Argument specify the text which you want to type on the Element.
Before No It is a checkbox which needs to be checked If the specified text in “TextToSearch” is before the element then select “True” otherwise it remains unchecked.(By default, it is unchecked i.e. False)

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

Image

Comments

https://www.facebook.com/

This keyword types the specified text in edit box whose placeholder is “Surname”.

In the above screenshot, if you wish to type the surname in the highlighted edit box then here is how you will use “Web_TypeByText” keyword:

Suppose you want to type “kumar” in the edit box whose place holder is “Surname” then in “TextToSearch” data input argument write “Surname”, write Index 0, Select partial text “false”, write “kumar” in “TextToType” and select “False” in Before data Input Argument.

Web_TypeByText

TextToSearh <  Surname >
Index <   0    >
Partial Text <   False  >
TextToType < Kumar>
Before <   False  >

Common Error conditions

Scenarios

Error Message

Debug Information

If Index Data Input Argument is incorrect.

Argument Data Invalid (-13300)

DESCRIPTION:

The data value for one or more input arguments was not what was expected. This might happen when the input is expected in a specific format or should be chosen from a predefined set of values. Check for spell errors and capsing

Index Is Invalid.

If TextToSearch Data Input Argument is blank.

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Text is not provided.

Web_VerifyListItemExists

This keyword verifies the Item/Value specified by user exists in the List Item. It takes a List type object and Item as data input arguments.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object Input Argument from the Object Repository.

Data Input Arguments

Required?

Description

Expected

Value

Yes

Provide Item Value to be verified

Output

True

If the keyword passes successfully

False

If the keyword fails

Common Error conditions

Scenarios

Error Message

Debug Information

If  no browser is given

Insufficient Privileges

Either Browser was never Opened or all WebDriver instances were closed.

When no object is attached

Argument Data Missing (-13200)

DESCRIPTION:

A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.

Data not provided for argument: ‘Frame’. Expected Static Value was empty.

Web_SetFocusOnCurrentWindow

This keyword is used to set focus on the current window. This keyword doesn’t take any object/data Input arguments.

Input Arguments

Object Input Arguments

Required?

Description

No

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

Data

No

This keyword doesn’t take any data input argument.

Output

 

True

This keyword always passes successfully and sets focus on the current window of the web application.

False

This keyword never fails even when there is no web application to set focus.

 

Example

Image

Comments

Mozilla Firefox.jpg

Here, user wants to set focus on the recently minimized window of the Mozilla Firefox web browser.

In this screenshot, if you want to set focus on the currently minimized window of Mozilla Firefox then you can use the “Web_SetFocusOnCurrentWindow” keyword as follows:

Web_SetFocusOnCurrentWindow

Object

<  No object required  >

 

Common Error conditions

There are no error scenarios for this keyword as it always passes successfully.

Was this article helpful to you? Yes No 1