Veeva Keywords - Action

Overview - Action keywords are predefined commands that trigger specific actions or functions within an application. These keywords allow users to interact with the system by performing tasks like clearing fields, clicking buttons, mouse-hover etc. This article lists all the action keywords available for use in the Veeva application. 


Keyword Name - Veeva_ClearEditField 


Description - This keyword clears the value of the specified Edit box.  


For example, if you want to clear the text in the edit field of the Username, then this keyword will be used. 


 


How to add the keyword in a test case: 

Click on the Add Step option and search for the keyword to add it as a step. 


 


Next, we will specify the details or unique identifiers this keyword will act upon. For that, click on the three dots respective to the keyword, and click on the Set Input data.  

 

 


On the window that opens, click on the Edit Test Object arrow.  


 


A new page opens to enter the details of Object properties. 


 

The Edit box field to be cleared will have object properties like Logical Name, ID, CSS, XPath, Name, Class, or Text. Provide details for any or all of these as input for the keyword. 


Keyword Name - Veeva_ClearEditFieldUsingText 


Description - This keyword clears the value of the Edit box by the specified text.  


For example, if you want to clear the value of the edit field with a different text, this keyword will be used.  

 

 


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


The Edit box field to be cleared using text will have object properties like Logical Name, TextToSearch, Index, PartialText, Before. Provide details for any or all of these as input for the keyword. 

 

 


The Input properties will ask for details like TextToSearch, TextIndex, PartialText, Before. Provide details for any or all of these as input for the keyword. 

 

 


Keyword Name – Veeva_Click 


Description - This keyword clicks on the specified object.  


For example, if you want to click on the Save button, then this keyword will be used. 


 

 

 

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


 

The object to be clicked on the application will have object properties like Logical Name, ID, CSS, Xpath, Name, Class, Text, TextToSearch, Index, PartialText, Before, After. Provide details for any or all of these as input for the keyword. Provide details for any or all of these as input for the keyword. 

 

Keyword Name – Veeva_ClickButton 

Description - This keyword clicks on the specified object of a button in the application.  


For example, if you want to click on the More Tabs button on 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 object to be clicked on the application will have object properties like Logical Name, ID, CSS, Xpath, Name, Class, Text, TextToSearch, Index, PartialText, Before, After. Provide details for any or all of these as input for the keyword. Provide details for any or all of these as input for the keyword. 

 

Keyword Name – Veeva_ClickImage 

Description - This keyword will click on the specified image object in the application. 

 

For example, if you want to click an image on the application's home page, then this keyword will be used. 



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


 


The image object to be clicked will have object properties like Logical Name, ID, CSS, XPath, Name, Class, or Text. Provide details for any or all of these as input for the keyword. 

 

Keyword Name – Veeva_ClickLink 

Description - This keyword clicks on a specified link in the application.  


For example, if you want to click a link to "Audits" 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 link object to be clicked will have object properties like Logical Name, ID, CSS, XPath, Name, Class, or Text. Provide details for any or all of these as input for the keyword. 


Keyword Name – Veeva_DeselectCheckbox 

Description - This keyword will deselect the given checkbox.  


For example, if you want to deselect the “Use binder section numbers” checkbox, this keyword will be used. 


 



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


 


The object to be clicked on the application will have object properties like Logical Name, ID, CSS, Xpath, Name, Class, Text, TextToSearch, Index, PartialText, Before, and After. Provide details for any or all of these as input for the keyword. Provide details for any or all of these as input for the keyword. 

 

Keyword Name – Veeva_GetObjectExistence  


Description - This keyword returns whether the specified object exists in DOM, which is the data representation of the objects that comprise the structure and content of a document on the web.  


For example, if you want to verify whether the "Cancel button" Object exists 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 object to be clicked will have object properties like Logical Name, ID, CSS, XPath, Name, Class, or Text. Provide details for any or all of these as input for the keyword. 


Keyword Name – Veeva_GetObjectText 

Description - This keyword returns the text of object between the Before and After parameters. 


For example, if you want to get the Text Object “Connections” this keyword will be used. 


 



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


 


The text object that is required to get will have object properties like Before and After parameters. Provide details for any or all of these as input for the keyword. 

 

Keyword Name – Veeva_MouseHover 

Description - This keyword hovers the mouse on the specified OR object.


For example, this keyword will be used if you want to hover the mouse over the OR object of the Email Log. 


 



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


 



The object where the mouse will hover will have object properties like Logical Name, ID, CSS, XPath, Name, Class, or Text. Provide details for any or all of these as input for the keyword. 


Keyword Name – Veeva_SelectCheckBox 

Description - This keyword checks the specified checkbox Object as per the given Status (True/False). 


For example, if you want to check the selected checkbox of Configuration Mode Active, 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 object properties like Logical Name, ID, CSS, Xpath, Name, Class, Text, TextToSearch, Index, PartialText, and Before.  Provide details for any or all of these as Objects for the keyword.  


Provide Value to this keyword through the data drive option. 


Keyword Name – Veeva_SelectDropdownItem 

Description - This keyword selects the dropdown item in the application. 


For example, if you want to select the dropdown item of “Timestamp” 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 dropdown item to be selected will have properties like Object and Item. Provide all the details. 


Keyword Name – Veeva_SelectMultipleDropdownItem 

Description - This keyword selects multiple dropdown items in the application. 


For example, if you want to select multiple dropdown items of “Timestamp, Is in the last, Day” 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 multiple dropdown item to be selected will have properties like Object and ItemString. Provide all the details. 


Keyword Name – Veeva_SelectRadioButton 

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


For example, to select the radio button 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 item to be selected will have properties like Object and Index. Provide all the details. 


Keyword Name – Veeva_SelectWindow 

Description - This keyword selects the specified child window based on the title of the window. 


For example, if you want to select a window of “Name” 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 window to be selected will have properties like Title and TitleIndex. 

 

Keyword Name – Veeva_Wait 

Description - This keyword is a static wait, and it waits for specified time (sec). For example, if you want to wait for 5 seconds after clicking the Create button 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 wait time specified for the Object will have properties of Timeout. Provide the details.  

Keyword Name – Veeva_WaitForObject 

Description - This keyword waits for the specified Object on the page for the given time.  

For example, if you want to wait for the “Quality Event Type” object on the page for a specific time duration after the filter is applied, then this keyword will be used.  

 

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

 

The wait object will have properties of Object and Timeout. 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