04-20-2009, 05:29 PM
Hi all
I have a field called txtSalary and a field called txtSalaryDeduction
when i enter a value in txtSalary, txtSalaryDeduction is populated with the value of txtSalary minus 8%
Ex. entered 400.000 and the value of txtSalaryDeduction is: 368.000
how do I (in my qtp script) verify that this value is correct ?
I can get the value of txtSalary with the getRoProperty, but how do i do the calculation ?
I have a field called txtSalary and a field called txtSalaryDeduction
when i enter a value in txtSalary, txtSalaryDeduction is populated with the value of txtSalary minus 8%
Ex. entered 400.000 and the value of txtSalaryDeduction is: 368.000
how do I (in my qtp script) verify that this value is correct ?
I can get the value of txtSalary with the getRoProperty, but how do i do the calculation ?