Please consider the following use case:
- Refer the following table
- I would like to download the invoices for which the amount is < 1000$ in a Folder.
Could anyone help me with the approach.
Please consider the following use case:
Could anyone help me with the approach.
without dynamic XPath it would be hard to do this, maybe only image or coordinate based.
But you can do a hack here:
all the download links have the same pattern: https://invoiceplane.workfusion.com/index.php/invoices/generate_pdf/${invoice_number}
where invoice_number is a text of the 2nd column, which can be obtained as a List in the Web Element action.
your XPath to obtain the list of invoice numbers can look like this one:
//*[@id="filter_results"]/div/table/tbody/tr/td[2]/a