Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Below mentioned are action keywords along with their example usage.

Action

Parameters

Example Usage

pdf_fileOpen


To open the file (mentioned in parameter 1) at location (mentioned in parameter 2).

If name is not provided, the last modified file will be picked up, located at the mentioned location in parameter 2.

If file location is not provided, the default download location of the browser will be used.

Param 1 (Optional) : Name of the pdf file.
Param 2 (Optional) : Location of the pdf file.

Example 1 :

pdf_fileOpen : <File Name : pdfFile1> <File Location : C:/users/xxxxx/>

Opens pdf file named pdfFile1 located at C:/users/xxxxx/.

Example 2 (when file name is not provided) :

pdf_fileOpen : <File Name : > <File Location : C:/users/xxxxx/>

Opens pdf file named samplePDF located at C:/users/xxxxx/.

Example 3 (when file name & file location is not provided) :

pdf_fileOpen : <File Name : > <File Location : >

Opens pdf file named samplePDF located at C:/users/xxxxx/Downloads/.

pdf_verifyTextExist


To verify the text (mentioned in parameter 1) exists on page number (mentioned in parameter 4), in PDF (file name mentioned in parameter 2) located at location (mentioned in parameter 3).

If file name is not provided, the last modified file will be picked up, located at location (mentioned in parameter 3).

If file location is not provided, the default download location of the page will be used on the provided page number.

If page number is not provided, first page will be used as default.

Param 1 : Text to verify
Param 2 (Optional) : Name of the file
Param 3 (Optional) : Location of the file
Param 4 (Optional) : Page number
Param 5 (Optional) : Password

Parameter 1 is case sensitive.

Enter password in parameter 5 if the pdf file is password protected.

Example 1 :

pdf_verifyTextExist : <Text to verify : bqurious> <File Name : pdfFile1> <File Location : C:/users/xxxxx/> <Page Number : 2> <Password : >

Verifies text bqurious exists in pdf file named pdfFile1, at page 2, located at C:/users/xxxxx/.

Example 2 (when file name is not provided) :

pdf_verifyTextExist : <Text to verify : bqurious> <File Name : > <File Location : C:/users/xxxxx/> <Page Number : 2> <Password : >

Verifies text bqurious exists in pdf file named sampleFile, at page 2, located at C:/users/xxxxx/.

Example 3 (when file location is not provided) :

pdf_verifyTextExist : <Text to verify : bqurious> <File Name : pdfFile1> <File Location : > <Page Number : 2> <Password : >

Verifies text bqurious exists in pdf file named pdfFile1, at page 2, located at C:/users/xxxxx/Downloads.

Example 4 (when page number is not provided) :

pdf_verifyTextExist : <Text to verify : bqurious> <File Name : pdfFile1> <File Location : C:/users/xxxxx/> <Page Number : > <Password : >

Verifies text bqurious exists in pdf file named pdfFile1, at page 1, located at C:/users/xxxxx/.

  • No labels