Micro Focus QTP (UFT) Forums

Full Version: Getting text from Edit Box
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I am downloading a file form the web. Before I save it, I want to capture the file name that is in the edit box.
I tried using a = Dialog("Save As").WinEdit("File name:").GetTOProperty("Text") and "value" but noting is getting returned.
See the attachment.

Thanks,
Raj
Use

Code:
a = Dialog("Save As").WinEdit("File name:").GetROProperty("text")

TO is used to fetch the property values stored in OR.
That worked. Thank you!