I am having difficulty in capturing the text in the "WinEdit" object.
Like the text in the sample application: Flight in QTP
I need to capture the "Flight No.", "Departure Time:"... etc... all of these are non-editable...
GetROProperty needs the Property to retrieve from the object, you should pass the property like text, value etc to get the value from your winedit object. Window("Flight Reservation").WinEdit("Flight No:").GetROProperty("text") should work here.
Hi Saket,
I am trying to capture the text in the WinEdit object and copy it to the Excel sheet... I have copied the WinComboBox object but i am facing a problem with WiEdit...
I am facing the following error:
"Cannot identify the object "Flight No:" (of class WinEdit). Verify that this object's properties match an object currently displayed in your application.
Tip: If the objects in your application have changed, the Maintenance Run Mode can
help you identify and update your steps and/or the objects in your repository."