Micro Focus QTP (UFT) Forums
Data Cell Variable Calculation - 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: Data Cell Variable Calculation (/Thread-Data-Cell-Variable-Calculation)



Data Cell Variable Calculation - AGrant - 10-03-2008

I have a data table that houses formulas for calculating prices. Each data cell has a different formula. For example. The first data cell is AWP*.30. The calculation is user defined. I grabed the contents of the data cell AWP*.30 and set it to a variable. Is there any way to calculate the contents of the formula within the variable. QTP is just seeing the formula as a string. I created a variable named AWP and I need it to calculate AWP*.30. Thanks for the help.