View Single Post
Old 04-05-07, 09:13 PM   #1 (permalink)
subbu_123
Junior Member
 
Join Date: May 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 3 subbu_123 is on a distinguished road
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

subbu_123 is offline Offline   Reply With Quote
 
45,000 Jobs - Get an Interview Call,  Post Your Resume Here