Micro Focus QTP (UFT) Forums
Is this possbile to retrive the read only values from the edit box . - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Is this possbile to retrive the read only values from the edit box . (/Thread-Is-this-possbile-to-retrive-the-read-only-values-from-the-edit-box)



Is this possbile to retrive the read only values from the edit box . - njnirmal - 07-16-2009

Hi..
I want to retrive the values for the read only edit box. Let me explain with a simple example ..
IN Flight reservation windows application , rate box is display where the flight rate display after selecting the flight detail . Now i want to retrive this flight rate .How can i do this ? What would be the script for this ?
I also tried for the text area check points but nothing i get it..


RE: Is this possbile to retrive the read only values from the edit box . - Saket - 07-16-2009

you will be able to get this using GetROProperty
try this -
Code:
Window("Flight Reservation").WinEdit("Price:").GetROProperty ("text")



RE: Is this possbile to retrive the read only values from the edit box . - QTPian - 07-16-2009

Hi,

Add the price object in object repository and then use the LOC provided by Saket.

Thanks!