Hi Support,
I am in need to get TextArea value. For ex if there's a textarea box having value as 'SDimbre'(please see attachment) I want to get that value 'SDimbre' in some variable and use. Please forgive me for dumb question.
Thanks and Regards,
SDimbre
how to get txtArea value.
how to get txtArea value.
You do not have the required permissions to view the files attached to this post.
Re: how to get txtArea value.
Ranorex.Text txtField = "rxpath to field";
Console.WriteLine(txtField.Text);
Console.WriteLine(txtField.Text);
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: how to get txtArea value.
Hi,
you can access the attributes of a adapter in code.
So, if you have e.g. a TextAreaTag adapter you can access the attribute TagValue to get the value of it.
Tobias
Support Team
you can access the attributes of a adapter in code.
So, if you have e.g. a TextAreaTag adapter you can access the attribute TagValue to get the value of it.
TextAreaTag textArea = "/Path/To/Your/textarea"; String value = textArea.TagValue;Regards,
Tobias
Support Team