1. Home
  2. OpKey Help
  3. 25. OpKey Keyword Documentation
  4. 25.2.2 Generic Keywords – Assertion

25.2.2 Generic Keywords – Assertion

AssertTextPresent

This keyword verifies the Multiple Text Separated by Semicolon(;) if it is present on the current page. It takes single Text or Multiple Text to be verified on current page. This keyword used in such a condition when user want to verify the existence of Single Text or Multiple Text on page. If Provided Text found on opened page then it passes the Execution if Text is not Found then it fails the Execution.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

Expected Text

Yes

Give the text from page ,which you want to verify if it exists on the current webpage or not

Note: User can go through Html code to verify Text with the help of inspect Element

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

In the example, user opens www.opkey.com and wants to verify the existence of multiple Texts- “Features” and “Pricing” separated by semicolon. You can verify from Html code that given text is right or wrong by inspecting element.

For More Information user can go through below given URL

http://www.opkey.com

Common Error conditions

Scenarios

Error Message

Debug Information

If Provided text is found

Expected Text:Features

If Provided wrong text is provided which is not available on the page. Verification Failed
If expected text is not Provided. Verified

VerifyAllButtons

This Keyword verifies all the buttons present on the current page. It takes buttons 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

AllButtons

Yes

Specify all the buttons present on the current  web page.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

URL

Comments

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

My exe.jpg

This keyword  verifies all the buttons present on the current web page.

In the example above, if you want to verify all the buttons present on the current web page then, use the Keyword “GetAllButtons” that fetches all the buttons, then store the output of it in a Output variable “Buttons”  and use it as an input to VerifyAllButtons keyword  as shown below:

VerifyAllButtons

AllButtons <   Output of the  GetAllButtons Keyword   >  Here, output Variable “Buttons

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

When InValid Data Input Arguments are provided.

Value : 1

Verification Failed (-16100)

 

DESCRIPTION:

The value which is required, was not found on the currently active page or view.

Actually Found < Send, Cancel    >

and Expected Found  < 1  >

VerifyAllDropDownItemExist

This keyword verifies the specified dropdown item exists in the given Dropdown List. This keyword used in such a condition where DropDown List have multiple Items and user wants to verify the existence of specified item in a dropdown list.

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

Value String

Yes

Give DropDown Item which is available inside DropDown List

Note: User Can Provide Text of DropDown Item as a Value String

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

In the example, if user want  to Verify Drop Down Item Exist in a Drop down List here is how you will use this keyword

For More Information user can go through below given URL https://www.idbi.com:8443/index.asp

VerifyAllDropDownItemExist

Object <   Choose your object from OR   >

Common Error conditions

Scenarios

Error Message

Debug Information

If DropDown Object is found

Object:DropDown Object

Value String-Personal; corporate

If DropDown Object is not found Object Not Found
If User Doesnot Provide Value String  Verification Failed
If User Doesnot Provide the DropDown Object  Argument Data Missing

VerifyAllDropDownItems

This keyword verifies the existence of multiple dropdownitems from the given Dropdown List. This keyword used in such a condition where user wants to verify the existence of multiple Items from the DropDown List.

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

Value String

Yes

Give multiple DropDown Items separated by semicolon(;) which is available inside DropDown List

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

In the example, if user wants  to Verify the existence of multiple Drop Down Items in a Drop down List here is how you will use this keyword

For More Information user can go through below given URL https://www.idbi.com:8443/index.asp

VerifyAllDropDownItems

Object <   Choose your object from OR   >

Common Error conditions

Scenarios

Error Message

Debug Information

If DropDown Object is found

Object:DropDown Object

Value String-Personal; corporate

If DropDown Object is not found Object Not Found
If User Doesnot Provide Value String  Verification Failed
If User Doesnot Provide the DropDown Object  Argument Data Missing

VerifyAllLink

This keyword Verify links which are available on the webpage.  This keyword used in such a condition where user want to Verify links which are available on the current webpage. To use this keyword, user can use the output of GetAllLink Keyword as input for VerifyAllLink keyword.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

Expected Link

Yes

Give all the Links available on the current webpage separated by semicolon(;)

Note: User can use output of GetAllLink keyword in Expected Link as input

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

In the example, if user want  to verify Links which are available on this page here is how you will use this keyword

Note:- Links which are available on the webpage are Browser dependent. It may be possible that Mozilla gives some additional links which is not available on Chrome browser so links varies from browser to browser.

For More Information user can go through below given URL https://validator.w3.org/checklink

Common Error conditions

Scenarios

Error Message

Debug Information

If all Links are Matched.

Expected Links:URL;redirects;Accept-Language;Referer;Cookie

If Links are not matched with Expected given links 

Expected Link:Verizon

Verification Failed
If User doesnot Provide Expected Links 

Expected Link:

Insufficient Privileges (-14100)

VerifyAllLinkExist

This keyword Verify links which are available on the webpage. This keyword used in such a condition where user want to Verify links which are available on the current webpage. To use this keyword, user can use the output of GetAllLink Keyword as input for VerifyAllLink keyword.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This keyword doesn’t take any object input argument.

Data Input Arguments

Required?

Description

Expected Link

Yes

Give all the Links available on the current webpage separated by semicolon(;)

Note: User can use output of GetAllLink keyword in Expected Link as input

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

In the example, if user want  to verify Links which are available on this page here is how you will use this keyword

Note:- Links which are available on the webpage are Browser dependent. It may be possible that Mozilla gives some additional links which is not available on Chrome browser so links varies from browser to browser.

https://validator.w3.org/checklink

Common Error conditions

Scenarios

Error Message

Debug Information

If all Links are Matched.

Expected Links:URL;redirects;Accept-Language;Referer;Cookies

If Links are not matched with Expected given links 

Expected Link:Verizon

Verification Failed
If User doesnot Provide Expected Links 

Expected Link:

Insufficient Privileges (-14100) 

VerifyBrowserExist

It verifies the opened browser with specified title. It takes window title as input parameter. This keyword used in such a condition where user wants to verify browser existence with the help of browser title. Websites have different title on different page so in that case user should give page browser title. If Provided title found on opened page then it passes the execution if title is not found then it fails the execution.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This Keyword does not require any object input argument.

Data Input Arguments

Required?

Description

Title

Yes

Give the browser title.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

In the example, user opened www.opkey.com and click on “Feature”. The browser title found is “Opkey | The Future Agnostic Test Automation Platform”.

For More Information user can go through below given URL http://www.opkey.com

Common Error conditions

Scenarios

Error Message

Debug Information

If Object property is found

Title-Opkey | The Future Agnostic Test Automation Platform

If wrong Title is provided

Title:The Future Agnostic Test Automation

Verification Failed
If User Doesnot Provide any Title 

 

Verification Failed

VerifyBrowserTitle

This keyword is used for the verification of browser title on specific Browser which user provide in input argument.

This keyword is mostly used in situations where you need to verify the existence of a browser title on a specific browser.

NOTE: This keyword is a case sensitive it only takes the same title which is shown on the browser title, if it mismatches then keyword gets failed.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This Keyword does not require any object input argument.

Data Input Arguments

Required?

Description

Browser Name

Yes

Specify the Browser name

Expected Browser Title Yes Specify the Expected Browser Title which should be case sensitive.

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

C:Usersharshit.agarwalAppDataLocalMicrosoftWindowsINetCacheContent.Wordbrowsertitle.jpg

In the example, user opened www.google.com on IE. The browser title found is “Google”. If user want to verify “Google” as Browser Title on any specific browser then user can use this keyword.

VerifyBrowserTitle

Browser Name <   IE   >
Expected browser title < Google >

Common Error conditions

Scenarios

Error Message

Debug Information

If expected title value is not found.

Verification Failed (-16100) 

Actually Found : and Expected :<>

If Browser name and expected title value is null. Verification Failed (-16100)  Actually Found : and Expected :<>
If Browser name given and expected title value is null. Verification Failed (-16100) 

 

Actually Found : and Expected :<>
If Browser name is null and expected title value is given(correct).

Done

 

If No web page is open, Browser name is null and expected title value is null.

Insufficient Privileges (-14100)

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

VerifyButtonDisabled

This keyword is used for the verification that a specified Button is disabled on web page. This keyword is mostly used in situations where you require to verify that button is disabled on any web page or not. It takes an OR Object as Object Input Argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes One Button Object as 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

 http://172.17.20.225/opkey/user-guide/pages.php?subid=247&accordid=14&val=TEAM

This keyword verifies that the specified button is disabled on the web page.

In the example above, if you want to verify that “My Button” is disabled then, use this keyword as shown below

VerifyButtonDisabled

Object <   Choose Button Object From OR   > Here, My Button

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 is provided

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 browser was never opened and  valid Object is provided.

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

VerifyButtonEnabled

This keyword is used for the verification of specified Button is enabled on web page. This keyword is mostly used in situations where you need to verify that button is enabled on any web page or not.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes one object input argument. You can choose button object from your Object Repository.

Note: Button which has to be verified that is enabled on page or not.

Data Input Arguments

Required?

Description

No

NO

Not Required

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Blank Output If Object is not provided 

Example

In the above example, if you want to verify that button is enabled on any particular web page then use this keyword.

VerifyButtonEnabled

Object <   Choose Button Object From OR   >

Common Error conditions

NOTE: If user want to verify that button is in enabled state on any particular web page then, open any browser (along with specified URL of your web application) and use this keyword “VerifyButtonEnabled”. It will provide “True” value.

Scenarios

Error Message

Debug Information

If Invalid Object is provided

If Null Object is provided  Argument Data Missing (-13200)

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

If button is in the disabled state Verification Failed (-16100) Web-element is disabled

VerifyButtonExist

This keyword is used for the verification of specified Button exists on web page.

This keyword is mostly used in situations where you need to verify that button exists on the web page or not and it takes button object as input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes one object input argument. You can choose button object from your Object Repository.

Data Input Arguments

Required?

Description

No

NO

Not Required

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Blank Output If Object is not provided 

Example

In the above example, if you want to verify button “Proceed” exist on page then you can use this keyword.

VerifyButtonExist

Object <   Choose Button Object From OR   >

Common Error conditions

NOTE: If user want to verify that button exist on web page, you can open any browser (along with specified URL of your web application) and use this keyword “VerifyButtonExist” and it will provide “True” as its output.

Scenarios

Error Message

Debug Information

If Invalid Object is provided

If Null Object is provided  Argument Data Missing (-13200)

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

VerifyButtonToolTip

This keyword is used for the verification of the text displayed in the tool tip of the Button object. This keyword is mostly used in situations where you need to verify that tool tip appears on any button available on the web page or not and it takes button object as input argument.

NOTE: This keyword is a case sensitive it only accepts the same tool tip text which is shown on the button object, if it mismatches then keyword gets failed.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes one object input argument. You can choose button object from your Object Repository.

Note: Button should have Tool tip.

Data Input Arguments

Required?

Description

ToolTip

Yes

Tool Tip Text

Output

 

True

If the keyword passes successfully

False

If the keyword fails

Example

In the above example, if you want to verify tool tip text of button object “Proceed” whose Tool tip is “This button don’t do anything” then use this keyword.

VerifyButtonToolTip

 

Object

<   Choose Button Object which has Tool Tip

From OR   >

It will verify the Tool tip “This button don’t do anything” of button “Proceed”.

Common Error conditions

NOTE: If user want to get the tool tip text of any button object then, open any browser (along with specified URL of your web application) and use this keyword “VerifyButtonToolTip” and provide the expected tool tip value in its data input argument. It will provide “True” value, if both the tool tip value i.e. expected and actual gets matched.

Scenarios

Error Message

Debug Information

If Invalid Object is provided

If Invalid ToolTip is provided  Verification Failed (-16100)

Actually Found :

 

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

VerifyCheckBoxDisabled

This keyword is used for the verification of specified Checkbox is disabled on web page. This keyword is mostly used in situations where you require to verify that Checkbox is disabled on any web page or not. It takes an OR Object as Object Input Argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes One CheckBox Object as 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://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_checkbox_disabled2

This keyword verifies that the specified checkBox is disabled on the web page.

In the example above, if you want to verify that “Checkbox” is disabled then, use this keyword as shown below:

VerifyCheckBoxDisabled

Object <   Choose CheckBox Object From OR   > Here, My Checkbox

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 is provided

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 browser was never opened and  valid Object is provided.

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

VerifyCheckBoxEnabled

This keyword is used for the verification that the specified CheckBox is enabled on web page. This keyword is mostly used in situations where you need to verify that Checkbox is enabled on any web page or not. It takes an OR Object as Object Input Argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes one object input argument. You can choose CheckBox object from your Object Repository.

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://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_checkbox_disabled2

12.jpg

This keyword verifies that the specified checkbox  is enabled on the web page.

In the example above, if you want to verify that the given CheckBox  is enabled then, use this keyword as shown below:

VerifyCheckBoxEnabled

Object <   Choose CheckBox Object From OR   >

Common Error conditions

Scenarios

Error Message

Debug Information

When browser was never opened and Invalid Object is provided

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

VerifyCheckBoxExist

This keyword is used for the verification of check box which exists on web page. This keyword is mostly used in situations where you need to verify that check box is available on the web page or not and it takes checkbox type object as object input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes one object input argument. You can choose check box type object from your Object Repository.

Data Input Arguments

Required?

Description

No

No

Not Required

Output

 

True

If the keyword passes successfully

False

If an error is there

Blank Object If Object is not provided 

Example

In the above example, if you want to verify check box “ I have a bike” exists on web page then use this keyword.

VerifyCheckBoxExist

Object <   Choose CheckBox Object From OR   >

It will verify checkbox “I have a bike” exists on web page.

Common Error conditions

NOTE: If user want to verify the check box exists on web page, you can open any browser (along with specified URL of your web application) and use this keyword “VerifyCheckBoxExist” and it will provide “True” as its output.

 

Scenarios

Error Message

Debug Information

If Invalid Object is provided

 

If Null object is provided 

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

VerifyCheckBoxStatus

This keyword is used to validate the status of check box whether it is ON/OFF. This keyword is mostly used in situations where you need to verify the status of the check box which is available on the web page i.e. ON/OFF.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes one object input argument. You can choose checkbox object from your Object Repository whose status needs to be verified.

Data Input Arguments

Required?

Description

Value

Yes

ON/OFF

Output

 

True

If the keyword passes successfully

False

If an error is there

Blank Object If No Object is provided 

Example

In the above example, if you want to verify “Checkbox” status that is ON or OFF, you can use this keyword.

VerifyCheckBoxStatus

 

Object

<   Choose CheckBox Object From OR   >
Value <   ON/OFF  >

It will verify “Checkbox” status.

Common Error conditions

NOTE: If user want to validate the status of checkbox object, you can open any browser (along with specified URL of your web application) and use this keyword “VerifyCheckBoxStatus” providing expected status value of the check box in its data input argument. It will provide “True” value, if both the status value i.e. expected and actual gets matched.

Scenarios

Error Message

Debug Information

If provide Wrong status

Verification Failed (-16100)

Actually Found:< OFF > and Expected:< ON >

If provide Null object Argument Data Missing (-13200)

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

VerifyCheckBoxStatusInTableCell

This keyword  validates Checkbox ON/OFF status in table. It takes table type  object as object input argument and row Index , column Index , object index and status(ON/OFF) as data input arguments.

For VerifyCheckBoxStatusInTableCell  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

Row

Index

Yes

This keyword doesn’t take any data input argument.

Column

Index

 

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’

Status

Yes Set Value “ON” or “OFF” . Here, Yes if the checkbox is checked and “NO”, if the checkbox is unchecked.

Output

 

True

If the keyword passes successfully

False

If an error is there

Example

Image

Comments

Error 404.jpg

This keyword  Verifies the status of the checkbox in  the specified table cell.

In the above Screenshot, if you want to verify the status of the “checkbox”  in the  Table cell, you can do so by using VerifyCheckBoxStatusInTableCell  keyword as follows:

VerifyCheckBoxStatusInTableCell

Row

Index

0

Column

Index

3

Object

Index

0
Status OFF

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.

Verification Failed (-16100)

DESCRIPTION:

The value which is required, was not found on the currently active page or view.

Actually Found and Expected
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.

VerifyCheckBoxToolTip

This keyword is used for the verification of the text displayed in the tool tip of the check box object.

This keyword is mostly used in situations where you need to verify that tool tip available on any check box exists on the web page or not and it takes string value in data as input argument.

NOTE: This keyword is a case sensitive it only accepts the same tooltip text which is available in the check box object, if it mismatches then keyword gets failed.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes one object input argument. You can choose checkbox type object from your Object Repository whose tool tip has to be verified.

Note: Check box should have Tool tip.

Data Input Arguments

Required?

Description

ToolTip

Yes

Tool Tip Text

Output

 

Tool Tip

If Tool Tip is matched

False

If an error is there

Example

In the above example, if you want to verify tool tip text of button object “Proceed” whose Tool tip is “This button don’t do anything” then use this keyword.

VerifyCheckBoxToolTip

 

Object

<   Choose CheckBox Object

From OR   >

It will verify the Tool tip “Required to proceed” of checkbox.

Common Error conditions

NOTE: If user want to verify the tooltip text of any check box object then, open any browser (along with specified URL of your web application) and use this keyword “VerifyCheckBoxToolTip” and provide the expected check box tool tip value in its data input argument. It will provide “True” value, if both the tool tip value i.e. expected and actual gets matched.

Scenarios

Error Message

Debug Information

If Invalid Object is provided

If Invalid ToolTip is provided  Verification Failed (-16100)

Actually Found :

 

:< Required to proceed > and Expected :< Required to >

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

VerifyChildObjectCount

This keyword verifies the child item count of specified object. It takes one object as object input argument and tag, property name, property value and count as data input argument.

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

Tag

Yes

Specify Object Tag.

Note: Give the Tag value of parent object.

Property

  Name

Yes

Specify Property Name.

Note: Give the Property name of parent object.

Property

Value

Yes

Specify Property Value.

Note: Give the Property value of parent object.

Count Yes Specify the number of Child object

Output

 

True

If the keyword passes successfully

False

If an error is there

Example

In the example above, you want to verify the number of child objects available in parent object, then use “GetChildObjectCount” to fetch the number of child object then use the Output of “verifyChildObjectCount” keyword as follows:

verifyChildObjectCount

Object

< Choose your parent object from OR > Here, div

Tag

< Give the Tag value of child object > Here,  Input

Property

  Name

<   Give the Property name of child object  > Here, class

Property

  Value

< Give the Property value of child object >

Here, col-sm-6

Count

< Specify the number of Child Object Count>

Here, form _control input -lg

Common Error conditions

Scenarios

Error Message

Debug Information

If Invalid Object is provided

Verification Failed (-16100)

DESCRIPTION:

The value which is required, was not found on the currently active page or view.

Actually Found <0> and Expected <2 >

If  no object is 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.

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

VerifyDropDownDefaultItem

This keyword is used for the verification of default item available in the drop down object.

This keyword is mostly used in situations where you need to verify the existence of default selected item in a drop down object on any particular web page.

NOTE: This keyword is a case sensitive it only accepts the exact default item name which is present in the drop down object, if it mismatches then keyword gets failed.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes one object input argument. You can choose drop down object from your Object Repository.

Note: Drop down of which default selected item has to be verified.

Data Input Arguments

Required?

Description

Item

Yes

Default Item of Dropdown

Output

 

True

If the Keyword Passes Successfully

False

If an error is there

Example

In the above example, if you want to verify default selected item of any drop down then use this keyword.

VerifyDropDownDefaultItem

 

Object

<   Choose DropDown Object

From OR   >

Item < — first option — >

It will verify the default selected item of dropdown.

Common Error conditions

NOTE: If user want to verify the default selected item available in the drop down object then, open any browser (along with specified URL of your web application) and use this keyword “VerifyDropDownDefaultItem” providing the expected item value from drop down in its data input argument. It will provide “True” value, if both the items value i.e. expected and actual get match.

Scenarios

Error Message

Debug Information

If provide Item other default item in drop down

Verification Failed (-16100)

Actually Found :<–first option –> and Expected :<–second option

If provide invalid Object Object Not Operatable (-11200)

Wrong Web Element is provided

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

VerifyDropDownDisabled

This keyword is used to verification that the specified Dropdown is disabled on web page. This keyword is mostly used in situations where you require to verify that dropdown is disabled on any web page or not. It takes an OR Object as Object Input Argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes One Dropdown Object as 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 an error is there

Example

URL

Comments

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

This keyword verifies that the specified dropdown is disabled on the web page.

In the example above, if you want to verify that the dropdown “Volvo” is disabled then, use this keyword as shown below:

VerifyDropDownDisabled

Object <   Choose Dropdown Object From OR   > Here, Volvo

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 is provided

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 browser was never opened and  valid Object is provided.

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

VerifyDropDownEnabled

This keyword verifies whether a particular DropDown is enabled or disabled.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one Object Input Argument. You can choose the DropDown Object from the Object Repository for which you need to check whether it is enabled or disabled.

Data Input Arguments

Required?

Description

NO

No

Not Required

Output

 

True

If the keyword passes successfully

False

If an error is there

Example

C:Userspallavi.goelPicturesAll-bookMyShow.png

In the  Screenshot  given above, if you want to verify whether “ALL”  DropDown Object is enabled or disabled, here is how you will use this keyword.

VerifyDropDownEnabled

 

Object

<   Choose DropDown Object

From OR   > Here, All

Common Error conditions

Scenarios

Error Message

Debug Information

If  DropDown Object is not Provided.

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

< 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 provide invalid Object

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

VerifyDropDownExist

This keyword is used to verify whether a particular DropDown Object is visible or not. It verifies the existence of the specified DropDown Object. This keyword is mainly used in situations where the user is not able to view the DropDown Object on the page although it might be present there.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one Object Input Argument. You can choose the DropDown Object from the Object Repository for which you need to check whether it is visible or not.

Data Input Arguments

Required?

Description

No

No

Not Required

Output

 

True

If the keyword passes successfully

False

If an error is there

Example

C:Userspallavi.goelPicturesAll-bookMyShow.png

In the above example, if you want to verify default selected item of any drop down then use this keyword.

VerifyDropDownExist

 

Object

<   Choose DropDown Object

From OR   >

Item < — first option — >

In the  Screenshot  given above, if you want to verify whether “ALL”  DropDown Object Exist or not, here is how you will use this keyword.

Common Error conditions

Scenarios

Error Message

Debug Information

If Object is not Provided.

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

< 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 Visible on the Page Object Not Operatable (-11200)

Wrong Web Element is provided

If provide Null object < 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.>

VerifyDropDownItemCount

This keyword verifies whether the Count of the number of DropDown Items is correct or not.

For VerifyDropDownItemCount keyword:

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one Object Input Argument. You can choose the DropDown Object from the Object Repository for which you need to verify whether  the  Count of  the DropDown Items is correct or not.

Data Input Arguments

Required?

Description

Value

Yes

Provide the expected value of the  count of the number of DropDown Items.

Note : The value of count starts from 1.

Output

 

True

If the keyword passes successfully

False

If an error is there

Example

C:Userspallavi.goelPicturesAll-bookMyShow.png

In the Screenshot given above, if you want to verify the count for the number of items in the “ALL” DropDown Object is correct or not, here is how you will use this keyword.

VerifyDropDownItemCount

 

Object

<   Choose DropDown Object

From OR   > Here, All

Value 4

In the  Screenshot  given above, if you want to verify whether “ALL”  DropDown Object Exist or not, here is how you will use this keyword.

Common Error conditions

Scenarios

Error Message

Debug Information

If Object is not Provided.

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

< 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 Visible on the Page < Object not Found >

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

If Correct Object Provided but blank or wrong count is provided Actually Found :<3> and Expected :<5> < The value which is required, was not found on the currently active page or view.

VerifyDropDownItemExists

This keyword verifies the Existence of the specified Dropdown Item.This keyword is mainly used in situations where the user is not able to view any specific DropDown Item in the Item list being displayed on the page. However, it might be present there.

For VerifyDropDownItemExist keyword:  

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one Object Input Argument. You can choose the DropDown Object from the Object Repository for which you need to check whether it Exists or not.

Data Input Arguments

Required?

Description

Item

Yes

Provide the Item Name  for which you want to check the visibility.

Output

 

True

If the keyword passes successfully

False

If an error is there

Example

C:Userspallavi.goelPicturesAll-bookMyShow.png

In the  Screenshot  given above, if you want to verify whether the Item Name “Sports” exists in the “ALL”  DropDown Object or not, here is how you will use this keyword.

VerifyDropDownItemExists

 

Object

<   Choose DropDown Object

From OR   > Here, All+

Item < Sports >

In the  Screenshot  given above, if you want to verify whether “ALL”  DropDown Object Exist or not, here is how you will use this keyword.

Common Error conditions

Scenarios

Error Message

Debug Information

If Object is not Provided.

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

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

VerifyDropDownItemSelection

This keyword verifies the Selected Item in DropDown Object. This keyword is mostly used in situations where you have to verify that Particular Item is selected in Dropdown or not before clicking or performing any action on it. For example, you want to verify that Item is selected.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object input argument. You need to select the Dropdown object which needs to be verified.

Tip: You can use OpKey Spy or Add to OR to add your Dropdown object to Object Repository.

Data Input Arguments

Required?

Description

Item

Yes

This Keyword takes Item Value in String.

Tip: This is Case Sensitive

Output

 

True

If the keyword passes successfully

False

If an error is there

Example

C:Userspallavi.goelPicturesfresh.png

In the example above, if you want to verify the value is selected in dropdown, here is how you will use this keyword

VerifyDropDownSelection

 

Object

<   Choose DropDown Object

From OR   >

Item < — Fresh Milk — >

In the  Screenshot  given above, if you want to verify whether “ALL”  DropDown Object Exist or not, here is how you will use this keyword.

Common Error conditions

Scenarios

Error Message

Debug Information

If Object is not 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 the provided object doesn’t exist on the page

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.

If no Item is Provided in Data input Argument Selected element not matched

Verification Failed (-16100)

DESCRIPTION:

The value which is required, was not found on the currently active page or view.

VerifyDropDownToolTip

This keyword verifies the ToolTip Text of DropDown Object. This keyword is mostly used in situations where you have to verify the ToolTip Text of Dropdown Object before clicking or performing any action on it.

For VerifyDropdownToolTip Keyword :

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one Object Input Argument. You can choose the DropDown Object from the Object Repository for which you want to verify the ToolTip Text.

Data Input Arguments

Required?

Description

Tool Tip

Yes

Provide the Tool Tip Text for the DropDown Object which has to be verified.

Note : This is Case Sensitive

Output

 

True

If the keyword passes successfully

False

If an error is there

Example

C:Userspallavi.goelPicturestooltip.png

In the screenshot above, “Search in” is the ToolTip Text which has to be verified for “ALL” DropDown.

VerifyDropDownToolTip

 

Object

<   Choose DropDown Object

From OR   > Here, All

Tool Tip < — Search In — >

In the  Screenshot  given above, if you want to verify whether “ALL”  DropDown Object Exist or not, here is how you will use this keyword.

Common Error conditions

Scenarios

Error Message

Debug Information

If Object is not 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 the provided object doesn’t exist on the page 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.

If provided Tool Tip value is blank or wrong Actually Found : and Expected :<>

Verification Failed (-16100)

DESCRIPTION:

The value which is required, was not found on the currently active page or view.

Actually Found : and Expected :

VerifyEditable

This keyword verifies that the specified object is editable or not. It is mostly used in situations where user wants edit/modify the input information of an Object.  For VerifyEditable Keyword :

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one Object Input Argument. You need to select an Object from the Object Repository  for which you want to check whether it is Editable or not.

Data Input Arguments

Required?

Description

No

No

Not Required

Output

 

True

If the keyword passes successfully

False

If an error is there

Example

C:Userspallavi.goelPicturesedit1.png

In the screenshot above, if you want to verify whether the “E-mail Address” Textbox is editable or not, here is how you will use this keyword.

VerifyEditable

Object E-mail Address

Common Error conditions

Scenarios

Error Message

Debug Information

If Object is not 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 the provided object doesn’t exist on the page 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.

VerifyEditBoxDefaultValue

This keyword verifies the default value of an Editable object. For example, you want to verify the default value of an Editable object.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one Object Input Argument. You can choose the Edit Box Object from the Object Repository whose default value has to be verified.

Data Input Arguments

Required?

Description

Value

Yes

Provide the default value of the Edit Box.

Note : This is Case Sensitive.

Output

 

True

If the Keyword Passes Successfully

False

If an error is there

Example

C:Userspallavi.goelPicturesauto.png

In the screenshot above, if you want to verify the  Default Value of  “E-mail Address”, here is how you will use this keyword

VerifyEditBoxDefaultValue

Object E-mail Address
Value Automation

Common Error conditions

Scenarios

Error Message

Debug Information

If 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.

If the provided object doesn’t exist on the page

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.

If provided value is blank or wrong Actually Found : and Expected :<>

Verification Failed (-16100)

DESCRIPTION:

The value which is required, was not found on the currently active page or view.

Actually Found : and Expected :

VerifyEditBoxDisabled

This keyword is used for the verification that the specified Edit Box is disabled on web page. This keyword is mostly used in situations where you require to verify that Editbox is disabled on any web page or not. It takes an OR Object as Object Input Argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes One EditBox Object as 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 an error is there

Example

URL

Comments

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

This keyword verifies that the specified EditBox is disabled on the web page.

In the example above, if you want to verify that the editbox “Last name” is disabled then, use this keyword as shown below:

VerifyEditBoxDisabled

Object <   Choose EditBox Object From OR   > Here, Last Name

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 is provided

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 browser was never opened and  valid Object is provided.

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

VerifyEditBoxEditable

This keyword verifies that an Editable Object is being enabled or disabled. This keyword is mostly used in situations where user needs to verify that the Edit Box object is in the Editable mode or not, on particular page before clicking or doing any action on it.

For VerifyEditBoxEditable  Keyword:

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one Object Input Argument.You can select an Editable Object from the Object Repository which has to be verified whether it is enabled or disabled.

Data Input Arguments

Required?

Description

No

No

Not Required

Output

 

True

If the Keyword Passes Successfully

False

If an error is there

Example

C:Userspallavi.goelPicturesedit.png

In the Screenshot above, if you want to verify that the  “E-mail Address” & ”Password” Text Box are  editable or not, here is how you will use this keyword.

VerifyEditBoxEditable

Object E-mail Address

Common Error conditions

Scenarios

Error Message

Debug Information

If no object is provided

If the provided object doesn’t exist on the page

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.

If the provided object doesn’t exist on the page 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.

VerifyEditBoxEnabled

This keyword verifies if an edit box is enabled or not. This keyword is mostly used in situations where you have to verify that edit box is enabled or not before clicking or performing any action on it.

For example, you want to verify that edit box enabled.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object input argument. You need to select the Edit Box object which needs to be verified.

Data Input Arguments

Required?

Description

NO

No

Not Required

Output

 

True

If the keyword passes successfully

False

If an error is there

Example

C:Userspallavi.goelPicturesauto.png

In the example above, if you want to verify the Email Address edit box, here is how you will use this keyword.

VerifyEditBoxEnabled

 

Object

<   Choose your EditBox Object

From OR   >

Common Error conditions

Scenarios

Error Message

Debug Information

If  No Object is not 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 the provided object doesn’t exist on the page 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.

VerifyEditBoxExist

This keyword verifies if the specified edit box exists within specified time.

This keyword is used to verify if the specified edit box exists or not on the given page.

*Note – Providing Timeout is not mandatory.

For example, you want type a value in specified edit box but you want to verify the existence of the edit box before moving forward in the script.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes Editbox type object input argument. You can choose edit box to be verified from your Object Repository

Data Input Arguments

Required?

Description

TimeOut

Yes

Specify the time within which you want edit box existence to be verified.

Output

 

True

If the keyword passes successfully

False

If an error is there

Example

In the example above, if you want to verify the existence of highlighted object, here is how you will use this keyword –

  • Add OpenBrowser and provide URL http://global.blackberry.com/en/enterprise/contact-us.html

  • Add VerifyEditBoxExist keyword

VerifyEditBoxExist

 

Object

<   Choose EditBox Object

From OR   >

Time Out < — Specify In seconds — >

Common Error conditions

Scenarios

Error Message

Debug Information

Valid object, Invalid data

Web-Element exists

Invalid object, Valid data

Blank object, Valid data Argument Data Missing Data not provided for argument: ‘Object’.
Blank object and data Argument Data Missing Data not provided for argument: ‘Object’.

VerifyEditBoxLength

This keyword verifies the specified length of the edit box object provided from OR.

This keyword can be used in script to verify max length allowed in specified edit box before entering data in edit box through Test Case.

For Example, length of an edit box can be verified and condition can be set before entering data in edit box that data to be entered must not exceed max length allowed in edit box.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes Editbox type object input argument. You can choose edit box to be verified from your Object Repository.

Data Input Arguments

Required?

Description

Length

Yes

Specify the max length allowed

Tip: You can inspect your web element and get max length.

Output

 

True

If the keyword passes successfully

False

If an error is there

Example

In the example above, if you want to verify the length of highlighted object, here is how you will use this keyword –

  • Add OpenBrowser and provide URL http://global.blackberry.com/en/enterprise/contact-us.html

  • Add VerifyEditBoxLength keyword

VerifyEditBoxLength

 

Object

<   Choose EditBox Object

From OR   >

Length < — Specify Max Length allowed in edit box — >

Common Error conditions

Scenarios

Error Message

Debug Information

Valid object, Invalid data

Verification Failed

Actually Found :<50> and Expected :<0>

Invalid object, Valid data

Unsupported Operation

Property not Found

Blank object, Valid data Argument Data Missing Data not provided for argument: ‘Object’.
Blank object and data Argument Data Missing Data not provided for argument: ‘Object’.

VerifyEditBoxName

This keyword verifies the specified name of the edit box object provided from OR.

This keyword can be used in script to verify the name of specified edit box before entering data in edit box through Test Case.

For Example, name of an edit box can be verified and condition can be set before entering data in edit box that name of edit box must be verified before entering data in edit box.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes Editbox type object input argument. You can choose edit box to be verified from your Object Repository

Data Input Arguments

Required?

Description

Ecpected Name

Yes

Specify edit box name

Tip: You can inspect your web element and get name

Output

 

True

If the keyword passes successfully

False

If an error is there

Example

In the example above, if you want to verify the name of highlighted object, here is how you will use this keyword –

  • Add OpenBrowser and provide URL http://global.blackberry.com/en/enterprise/contact-us.html

  • Add VerifyEditBoxName keyword

VerifyEditBoxName

 

Object

<   Choose your EditBox Object

From OR   >

Expected Name < — Specify name of the Edit Box — >

Common Error conditions

Scenarios

Error Message

Debug Information

Valid object, Invalid data

Verification Failed

Actually Found : and Expected : <56@$@$@>

Invalid object, Valid data

Blank object, Valid data Verification Failed Actually Found : and Expected : <56@$@$@>
Blank object and data Argument Data Missing Data not provided for argument: ‘Object’.

VerifyEditBoxNonEditable

This keyword verifies that an Object of editbox type is disabled or enabled. This keyword is mostly used in situations where user needs to verify that the Edit Box object is in the Editable mode or not, on particular page before clicking or doing any action on it. It takes one OR object as object input argument.

For VerifyEditBoxNonEditable  Keyword:

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one Object Input Argument.You can select an Editable Object from the Object Repository which has to be verified whether it is enabled or disabled.

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 an error is there

Example

URL

Comments

http://cresconnect.crestechglobal.com/medical.php

1.jpg

This keyword  verifies that the edit box object is not editable on the web page.

In the Screenshot above, if you want to verify that the  “Name” edit Box are  editable or not, here is how you will use this keyword.

VerifyEditBoxNonEditable

Object Name

Common Error conditions

Scenarios

Error Message

Debug Information

If no object is attached
If the provided object doesn’t exist on the page 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.

VerifyEditBoxNotExist

This keyword verifies the non existence of a specified Edit Box object on the page. It takes Edit Box type object as object Input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes one Edit Box Type object Input argument. You can choose Edit Box object from your Object Repository.

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 an error is there

Example

URL

Comments

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

1.jpg

This keyword  verifies the non existence of  Edit Box type object.

In the above example we need to verify that the Edit Box “Comment” does not exists on the page, we can do so by using  VerifyEditBoxNotExists keyword  as shown below:

VerifyEditBoxNotExists

Object <   Choose your Edit Box Object From OR   >

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 object  Input Arguments are provided is provided as follows:

Title

Verification Failed (-16100)

 

DESCRIPTION:

The value which is required, was not found on the currently active page or view.

Not Verified

VerifyEditBoxText

This Keyword verifies the specified text  with the text available in the editbox. It takes editbox type object as object input argument and text as data input argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This keyword takes one Edit Box  Type object Input argument. You can choose Edit Box  object from your Object Repository.

Data Input Arguments

Required?

Description

Value

Yes

Specify the value of the edit box.

Output

 

True

If the keyword passes successfully

False

If an error is there

Example

URL

Comments

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

My exe.jpg

This keyword  verifies the default value of the Edit Box object.

In the above example we need to default value of the Edit Box  “Your Name” by using  VerifyEdit Box Text  keyword  as shown below:

VerifyEditBoxText

Object

<   Choose your EditBox object from OR     >  

Value

 < Blank >

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 valid Data Input Arguments are provided.

Value :My Name

Object :Text Area

Verification Failed (-16100)

 

DESCRIPTION:

The value which is required, was not found on the currently active page or view.

Actually Found <    >

and Expected Found  

VerifyEditBoxToolTip

This keyword verifies the specified tool tip of the edit box object provided from OR. This keyword can be used in script to verify the tool tip of specified edit box before entering data in edit box through Test Case.For Example, tool tip of an edit box can be verified and condition can be set before entering data in edit box that tool tip of edit box must match specified tooltip before entering data in edit box.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes one object input argument. You can choose edit box to be verified from your Object Repository.

Data Input Arguments

Required?

Description

ToolTip

Yes

Specify the tool tip

Tip: You can inspect your web element and get tool tip

Output

True

If the keyword passes successfully

False

If an error is there

Example

In the example above, if you want to verify the tool Tip Text of the highlighted object, here is how you will use this keyword –

  • Add OpenBrowser and provide URL http://global.blackberry.com/en/enterprise/contact-us.html

  • Add VerifyEditBoxExist keyword

VerifyEditBoxTooTip

 

Object

<   Choose EditBox Object

From OR   >

Tool Tip < — Specify the tool tip of the Editbox — >

Common Error conditions

Scenarios

Error Message

Debug Information

Valid object, Invalid data

Verification Failed

Actually Found : and Expected : <56@$@$@>

Invalid object, Valid data

Verification Failed

Actually Found : and Expected :

Blank object, Valid data Verification Failed Actually Found : and Expected :<>
Blank object and data Argument Data Missing Data not provided for argument: ‘Object’.

VerifyEditBoxValue

This keyword verifies the entered value in the edit box object provided from OR.

This keyword can be used in script to verify the value entered in specified edit box. You must enter the value in edit box first.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes Editbox type object input argument. You can choose edit box to be verified from your Object Repository

Data Input Arguments

Required?

Description

Expected

Value

Yes

Specify the value to be verified.

Output

 

True

If the keyword passes successfully

False

If an error is there

Example

In the example above, if you want to verify the value of the highlighted object, here is how you will use this keyword –

  • Add OpenBrowser and provide URL http://global.blackberry.com/en/enterprise/contact-us.html

  • Add VerifyEditBoxExist keyword

VerifyEditBoxExist

 

Object

<   Choose EditBox Object

From OR   >

Expected Value < — Specify the value to be verified in the edit box –>

Common Error conditions

Scenarios

Error Message

Debug Information

Valid object, Invalid data

Verification Failed

Actually Found : and Expected :

Invalid object, Valid data

Blank object, Valid data Verification Failed Actually Found : and Expected :<>
Blank object and data Argument Data Missing Data not provided for argument: ‘Object’.

VerifyFullTableText

This keyword verifies the full/complete text of the table. It takes an OR Object of table type as Object Input Argument and Text as data input arguments.

For example, you want to verify the full/complete text of the table.

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

Text

Yes

Specify the number of expected Columns

Output

 

True

If the keyword passes successfully

False

If an error is there

Example

URL

Comments

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

Keywords.jpg

This keyword  verifies full/complete text of the table.

In the example above, if you want to verify full/complete text of the table then, use the Keyword “GetTableText” that fetches full table text, then store the output of it in a Output variable “text”  and use it as an input in the VerifyFullTableText keyword  as shown below:

VerifyFullTableText

Object < Choose your table object From OR  >
Text <   Output of the GetTableText Keyword   > Here, Output Variable “Text

Common Error conditions

Scenarios

Error Message

Debug Information

When no object is provided

IArgument 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.

Text :

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.

Argument(s) : Text is /are blank

VerifyImageCount

This keyword verifies the count of image available at the time of execution. This keyword can be used in script to verify the image count found on the webpage with the expected count.

Input Arguments

Object Input Arguments

Required?

Description

Object

No

This Keyword does not require any object input argument.

Data Input Arguments

Required?

Description

Expected

Value

Yes

Specify the value to be verified.

Output

 

True

If the keyword passes successfully

False

If an error is there

Example

If you want to verify the count of images on webpage, here is how you will use this keyword –

  • Add OpenBrowser and provide URL http://www.bmw.in/en/topics/bmw-insights/bmw-next-100/home.html

  • Add VerifyImageCount keyword

Common Error conditions

Scenarios

Error Message

Debug Information

Invalid data

Verification Failed

Actually Found :<6> and Expected :<60>

Blank data Verification Failed Actually Found :<6> and Expected :<0>

VerifyImageDisabled

This keyword is used for the verification that the specified image is disabled on web page. This keyword is mostly used in situations where you require to verify that image is disabled on any web page or not. It takes an OR Object as Object Input Argument.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes One Image Object as 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 an error is there

Example

URL

Comments

This keyword verifies that the specified image  is disabled on the web page.

In the example above, if you want to verify that the given image is disabled then, use this keyword as shown below:

VerifyImageDisabled

Object <   Choose Image Object From OR   > Here, Last Name

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 is provided

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 browser was never opened and  valid Object is provided.

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

VerifyImageEnabled

This keyword verifies if specified image is enabled. This keyword does not require any data input.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes Image type object input argument. You can choose Image type to be verified from your Object Repository.

Data Input Arguments

Required?

Description

No

No

Not Required

Output

 

True

If the keyword passes successfully

False

If an error is there

Example

If you want to verify the count of images on webpage, here is how you will use this keyword –

  • Add OpenBrowser and provide URL http://www.bmw.in/en/topics/bmw-insights/bmw-next-100/home.html

  • Add VerifyImageEnabled keyword

Common Error conditions

Scenarios

Error Message

Debug Information

Invalid object

Blank object

Argument Data Missing

Data not provided for argument: ‘Object’.

VerifyImageExist

This keyword verifies if specified image exists on the webpage. This keyword does not require any data input.

Input Arguments

Object Input Arguments

Required?

Description

Object

Yes

This Keyword takes Editbox type object input argument. You can choose edit box to be verified from your Object Repository

Data Input Arguments

Required?

Description

No

No

Not Required

Output

 

True

If the keyword passes successfully

False

If an error is there

Example

If you want to verify the existence images on webpage, here is how you will use this keyword –

  • Add OpenBrowser and provide URL http://www.bmw.in/en/topics/bmw-insights/bmw-next-100/home.html

  • Add VerifyImageExist keyword

Common Error conditions

Scenarios

Error Message

Debug Information

Invalid Object

Blank Object

Argument Data Missing

Data not provided for argument: ‘Object’.

VerifyImageNotVisible