Hi
I need to take input from a mouse click. For example I click on a label with caption '1111', and the caption keeps changing with the action I take. Is possible to store the caption in a variable so that I can validate the value? And depending on the value I have to pass or fail the recording.
The repository item is something like text[@caption='111']
Could you please help me with this?
Thanks,
Sourav
Taking input from a mouse click
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Taking input from a mouse click
Hi,
Yes, you should normally be able to save it.
Do you have tried to get it via the following code?
Markus
Ranorex Support Team
Yes, you should normally be able to save it.
Do you have tried to get it via the following code?
String caption = yourText.Caption;Regards,
Markus
Ranorex Support Team