10-18-2008, 01:37 AM
Hi,
The question that I am having is that I want to execute an IF ELSE decision statement to check a value from a table that is from the application and execute necessary action. I have attached a snapshot of what I am talking about. If you see the status column, I want QTP select invoices that have their status as Open and then pay for this invoice. The problem is this table is not constant and it keeps changing and if another table is shown to QTP, QTP might pay for an invoice which has already been paid and testing error results. So I want QTP to check the list of invoices and see which is open and then pay for the invoice that is open. How do I make that happen? Thanks
The question that I am having is that I want to execute an IF ELSE decision statement to check a value from a table that is from the application and execute necessary action. I have attached a snapshot of what I am talking about. If you see the status column, I want QTP select invoices that have their status as Open and then pay for this invoice. The problem is this table is not constant and it keeps changing and if another table is shown to QTP, QTP might pay for an invoice which has already been paid and testing error results. So I want QTP to check the list of invoices and see which is open and then pay for the invoice that is open. How do I make that happen? Thanks