Class library usage, coding and language questions.
-
arishahsan
- Posts: 26
- Joined: Thu Jan 18, 2007 12:04 pm
Post
by arishahsan » Fri Mar 16, 2007 2:22 pm
I was using Rannorex ControlProxy to automate those Gui controls which dont have ControlName and I didnt find the way to perform the task.
Could you suggest me how to use ControlProxy ....Here is the code which I have used..
Ranorex.Form tempForm = Ranorex.Application.FindFormTitle("MySoftware")
RanorexSpy.ControlProxy temp2 = new RanorexSpy.ControlProxy(tempForm.Handle);
-
webops
- Site Admin

- Posts: 350
- Joined: Wed Jul 05, 2006 7:44 pm
Post
by webops » Fri Mar 16, 2007 7:43 pm
You can automate only .NET controls with the Proxy class, but .NET controls have a ControlName.
Use Form.FindControlId, Form.FindClassName or the Element.FindChild function to find and automate GUI controls which don't have a control name.
Jenö
Ranorex Team