Ranorex

Cannot search control with class name

 
Post new topic   Reply to topic    Ranorex Forum Index -> RanorexNet
View previous topic :: View next topic  
Author Message
hsc



Joined: 19 Jul 2006
Posts: 1

PostPosted: Wed Jul 19, 2006 4:52 pm    Post subject: Cannot search control with class name
I would like to find a control in a dialog with class name, but the form class doesn´t have a function for this.
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 05 Jul 2006
Posts: 351

PostPosted: Wed Jul 19, 2006 10:57 pm    Post subject: FindClassName implemented for V0.9.2
OK, you are right, I added this function to the Form class (Form.FindClassName).
You can use it in the next Version 0.9.2

But some suggestions:

    If a control has a control name, search the control by control name.
    If a control hasn't a control name, but has a control Id,
    than search the control by control Id.
    If you have problems with the first two, you can search the control by class name, but use this possibility only if you have no other one.

Jenö Herget
Ranorex
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Ranorex Forum Index -> RanorexNet All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum