| How to solve this function .. in QTP Hai everybody
Can anybody give solution for this...
In QTP..flight application ... I want to test one function i.e. Whether application displaying correct Total price according to no of passengers selected...
Total Price = No of passengers selected * single ticket price
1). I retrived property value into variable through GetROProperty... but it is storing price with $ symbol ... for Total Price, Single Price ticket...then it is not possible to calculate ...how to eliminate doller symbol .
2). when i retrieved into variable ...if that value is decimal number it is not possible to compare ...
Open default 4th record and try to solved this problem...
In Winrunner we have split function we use for this type of problem but what is function we use in qtp
SEND DETAILED PROCEDURE WITH SCRIPT  |