Ranorex

Accessing StatusStripLabel

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



Joined: 19 May 2008
Posts: 2

PostPosted: Mon May 19, 2008 3:28 pm    Post subject: Accessing StatusStripLabel
I've been trying to find a way to read the status bar in a Windows form. Is there a way to do this without putting hooks (invoke method) into the actual code?

Thanks
Back to top
View user's profile Send private message
Support Team
Site Admin


Joined: 07 Jul 2006
Posts: 435

PostPosted: Tue May 20, 2008 5:20 pm    Post subject:
Steve,

You can try the following:

1) Search for the StatusStrip control by control name
2) Use the Element property of the control to retrieve its element representation
3) Search in the element by role "StaticText"

Michael
Ranorex Team
Back to top
View user's profile Send private message Visit poster's website
Steve589



Joined: 19 May 2008
Posts: 2

PostPosted: Wed May 21, 2008 1:17 pm    Post subject:
Michael,

Thanks for fast response, exactly what I needed.

Steve
Back to top
View user's profile Send private message
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