PDFtable function

This function is used to read and store PDF table data and then use that data for validation.
RUN Command will be used to achieve this feature and in the parameters section user will pass the pdf function as given below:

Syntax: ${__pdftable(path of pdf file, some text just before the table, some text just after the table, alias name)}

Edit parameter section and click on Form, select functions from the dropdown and select PDFTABLE function. Provide the values in the form.

Example: ${__pdftable(D:\SampleFiles_for_BB\SamplePDFs\ast_sci_data_tables_sample.pdf,short circuits.,Example 3:,table)}

The second and third parameter is some text just before and after the table whose data we are going to store. Here table is a alias or variable which has the table data and will be used for fetching data using dot(.) with column name.

Example: ${__getcellvalue(table.Number of Paperclips)} Here, Number of Paperclips is the column name in the table.

Further user can give indexing also after column name.
Example: ${__getcellvalue(table.Number of Paperclips.2)}

Sample pdf table from a pdf file:

Was this page helpful?