Forum Discussion
Julia_K
12 years agoSmartBear Alumni (Retired)
Dev,
Thank you for the details.
You can try obtaining the text by using the native Text property or the native get_Text method of the WinFormsObject("txtOutput") object.
For example:
Set my_textarea = Sys.Process("AirTestHarness").WinFormsObject("frmPreprocessTestInterface").WinFormsObject("gbOutput").WinFormsObject("txtOutput")
' Obtains the control's text by using the Text property
my_data1 = my_textarea.Text
Or
Set my_textarea = Sys.Process("AirTestHarness").WinFormsObject("frmPreprocessTestInterface").WinFormsObject("gbOutput").WinFormsObject("txtOutput")
' Obtains the control's text by using the get_Text method
my_data1 = my_textarea.get_Text
Do they return a correct value? Do any errors occur?
Please let us know your results.
Thank you.