Veeva Keywords - ByText

Bytext keywords are specific commands used to interact with web elements or fields on a page based on the visible text associated with those elements. These keywords allow us to locate and perform actions (like clicking or inputting data) on web components by identifying them through the text they display, rather than using their HTML structure (like class, ID, or XPath). 


This article lists all the bytext keywords available for use in the Veeva application.


Keyword Name – Veeva_DeselectCheckboxByText 

Description This keyword will deselect the checkbox that is available in the text. 

For example, if you want to deselect the given checkbox by the text of “Allow Outbound Packages”, this keyword will be used. 

 

Add the keyword and specify the details or unique identifiers that this keyword will act upon. 

 

The text to be clicked on will have properties like TextToSearch, Index, PartialText, Object, Before, After. Provide details for any or all of these as input for the keyword. 

Keyword Name – Veeva_ClickByText 

Description This keyword clicks on an object containing specific text.  

For example, if you want to click on a specific text of Templates on the application, this keyword will be used. 

 

Add the keyword and specify the details or unique identifiers that this keyword will act upon. 

 

The text to be clicked on will have properties like TextToSearch, Index, PartialText, Object, Before, and After. Provide details for any or all of these as input for the keyword. 


Keyword Name – Veeva_GetObjectTextByLabel 

Description It returns the text of the object found by a nearby label in the application. 

For example, if you want to search the text of the object found by a nearby label “Admin”, then this keyword will be used. 

 

Add the keyword and specify the details or unique identifiers that this keyword will act upon. 

 

The text by label to be searched will have properties like TextToSearch, Index, PartialText, Before, Object. Provide details for any or all of these as input for the keyword. 

 

Keyword Name – Veeva_IsTextPresentOnScreen 

Description - This keyword checks if the specified text is present on the screen.  

For example, if you want to check if the text “Logs” is present on screen or not, then this keyword will be used.  

 

Add the keyword and specify the details or unique identifiers that this keyword will act upon. 

 

The text to be clicked will have properties like Object, TextToSearchPartialText, Before, and After. Provide details for any or all of these as input for the keyword. 


Keyword Name – Veeva_SelectCheckBoxByText 

Description - This keyword selects the Checkbox by the given text. 

For example, if the checkbox needs to be checked with the text “Enable Duplicate Content Detection, then this keyword will be used. 

 

Add the keyword and specify the details or unique identifiers that this keyword will act upon. 

 

The checkbox to be checked will have properties like TextToSearch, Index, PartialText, Before, Status, Object.  


Keyword Name – Veeva_SelectRadioButtonByText 

Description - This keyword selects a radio button by text in the application. 

For example, to select a radio button by text of "Yes" in the application, this keyword will be used. 


Add the keyword and specify the details or unique identifiers that this keyword will act upon. 

 

The radio button to be selected will have properties like TextToSearch, Index, PartialText, Before, Object. 

Keyword Name – VeevaTypeByText 

Description This keyword types on an element found by the specified text. 

For example, if you want to type on a specified text of “Description” in the application, then this keyword will be used. 

 

Add the keyword and specify the details or unique identifiers that this keyword will act upon. 

 

The element to be typed upon will have properties like TextToSearch, Index, PartialTextTextToType, Before, and Object. 

Keyword Name – Veeva_TypeByTextandEnter 

Description This keyword types on an element found by the specified text of and press enter. 

For example, if you want to type on an element by the specified text of “Search Columns” in the application and press enter, then this keyword will be used. 

 


Add the keyword and specify the details or unique identifiers that this keyword will act upon. 

  

The element to be typed upon will have properties like TextToSearch, Index, PartialTextTextToType, Before, and Object. 

Keyword Name – Veeva_TypeTextandEnterEditBox 

Description - This keyword Types text in Edit box and press Enter. 

For example, if you want to type text in the edit box of “Include Components Modified Since” and press enter, then this keyword will be used. 

 

Add the keyword and specify the details or unique identifiers that this keyword will act upon. 

 

The edit box to be typed upon will have properties like Object and Value. Provide all the details. 

Keyword Name – Veeva_TypeTextAndEnterTextArea 

Description - This keyword is used to Type text in any text area and press Enter. 

For example, if you want to type text in the “Search Box” and press enter, then this keyword will be used. 

 

Add the keyword and specify the details or unique identifiers that this keyword will act upon. 

 

The edit box to be typed upon will have properties like Object and Value. Provide the details of Value through data drive. 

Keyword Name – Veeva_TypeTextinTextArea 

Description - This keyword types the specified Text in the given TextArea. 

For example, if you want to type text in the specified text area, then this keyword will be used. 

 

Add the keyword and specify the details or unique identifiers that this keyword will act upon. 

 

The text box to be typed upon will have properties like Object and Value. Provide the details of Value through data drive. 

Keyword Name – Veeva_TypeTextonEditBox 

Description - This keyword is used to type text on the given edit box field. For example, if you want to type in the edit box of Exception Name, then this keyword will be used. 

 

 

Add the keyword and specify the details or unique identifiers that this keyword will act upon. 

 

The text box to be typed upon will have properties of Object and Value. Provide the details of Value through data drive. 

Keyword Name – VerifyObjectText 

Description This Keyword verifies the Text of a specified object on the web page. For example, if you want to verify the object text of Vault Document, then this keyword will be used. 

 

Add the keyword and specify the details or unique identifiers that this keyword will act upon. 

 

The Object text to be verified will have properties of Object, Value, Before and After. Provide all 

 

 

Keyword Name – Veeva_SelectDropDownByText 

Description - This keyword selects the dropdown by the given text. For example, if you want to select the drop down of “Quality Events”, then this keyword will be used. 

 

Add the keyword and specify the details or unique identifiers that this keyword will act upon. 

 

The drop down by text object will have properties of DropdownLabel, Index, Partial Text, ValueToSelect, Before, IsMultipleDropdown, and Object. Provide all the details. 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article