Print Page | Close Window

Help on Logic needed

Printed From: One Stop Testing
Category: Testing Tools @ OneStopTesting
Forum Name: WinRunner @ OneStopTesting
Forum Discription: WinRunner is an automated functional GUI testing tool that allows a user to record and play back UI interactions as test scripts using a proprietary Test Script Language (TSL).
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=477
Printed Date: 02Jul2024 at 2:41pm


Topic: Help on Logic needed
Posted By: Alok047
Subject: Help on Logic needed
Date Posted: 02Apr2007 at 5:55am
I have a situation with the dollar amounts. I have to automate the process.

Here is the info:

There are 4 lines on a claim with the dollar amounts as:

Line 1 $10
Line 2 $20
Line 3 $30
Line 4 $60

I have to perform some logic on this and capture the lines which will add up to $70 (Final Amount to remove).

The number of lines, the dollar amounts on them and the amount to remove are all variables.

Is there any logic to handle this.

Any help is greatly appreciated.



Print Page | Close Window