Micro Focus QTP (UFT) Forums
Intersting problem in QTP - 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: Intersting problem in QTP (/Thread-Intersting-problem-in-QTP)



Intersting problem in QTP - anshu.khandelwal - 05-08-2008

I'm stucked in my new and very first QTP assignment:
1)How to capture data from and output parameter I written code
Code:
Dim return
return =   Window("Display").Dialog("Itinerary. 30.15 km. 24").Output CheckPoint("Itinerary. 30.15 km. 24 min, 25 sec_Source")

it's giving syntax error:expected end of statement?
Can any QTP expert help



RE: Intersting problem in QTP - Anshoo Arora - 05-10-2008

Use GetROProperty?

Something in the following lines:

Code:
sValue = Window("").Dialog("").GetROProperty("property_you_want_to_capture")