cancel
Showing results for 
Search instead for 
Did you mean: 

Testing credit card authorization scenario using B1 TC

Former Member
0 Kudos

In the image below you can see that the credit card authorization is enabled only for 'Sales Order' screen. Also the credit card payment term is set as 'ZP10NET30'.

Here the expected behavior of our add-on is that, on adding a Sales Order the add-on should prompt "Would you like to authorize this document?" if the customer's payment term matches with the credit card's payment term(in this case 'ZP10NET30'). If Yes is clicked with the prompt, then the lastly added document should be loaded back to the Sales Order screen and a Card Authorization window should be loaded. If No is clicked then the sales order should be added with out loading the Card Authorization window.

Can B1 TC be used for handling such scenario?

Regards,

Sam

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Sam,

in my opinion you should prepare database with specific data that encompasses a scenario you test (e.g. with record that causes the prompt appears). Then before running a scenario you should restore prepared database. In test script you can include e.g. "CompareItem" line comparing text label in appeared message form.

Regards,

Winicjusz