Micro Focus QTP (UFT) Forums
Error with QTP DataSheet Values. - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Error with QTP DataSheet Values. (/Thread-Error-with-QTP-DataSheet-Values)



Error with QTP DataSheet Values. - srach84 - 11-24-2014

Hi,

I am getting an error with the Amount value entered on the screen.

When the script is executed with QTP when the 'Add' button is clicked after entering all the relevant values on the screen. The error is seen as 'Invalid Amount" when the 'Add' button clicked. By default, the Amount is seen as $0.00 and takes the number value from QTP and adds $ sign automatically before the number.

However, when the 'Add' button is clicked manually, the Amount value is accepted on the screen without the error as Invalid amount.

Please clarify if the numbers in datasheet are to be formatted in a particular way for the numbers to be accepted through QTP.

Thanks,
Shilpa R.

.


RE: Error with QTP DataSheet Values. - vinod123 - 11-27-2014

Try use numbers only in the amount field while running QTP because the field is automatically inserting dollar symbol the datatable cell which amount field is present should be formatted for numbers only and try again