Forum Discussion

Varun_1's avatar
Varun_1
New Contributor
15 years ago

Get text from Status Bar control

I am trying to automate our ERP application whose objects TestComplete (v7.52) accesses via the MSAA engine.



TC recognizes the control as - Sys.Process("EBS").Form("Edu Comp").PropertyPage("Status Bar").Text("Static")



I am stuck at a point where I want to get the text displayed in this Status Bar 'Text' control. The content of this control is a line of text which changes based on the activity performed. After a while, it displays 'Ready...' as the text. I need to pick up this text. How can I achieve this?

5 Replies

  • Hi,



    Enable Advanced view mode in the Object Browser and look at properties of this object. There should be a property which will return the object's text. Look for something named Text, Value or similar.
  • Varun_1's avatar
    Varun_1
    New Contributor
    Jared,



    I am already running with 'Show Hidden Properties' checked under Tools -> Options -> Engine - General. I'm on v7.52 and the Object Properties window looks different than the one shown in the screenshot of the link you have suggested, which I believe should be from v8.0 and above.



    The extended properties displayed for the control are given below:

    Caption - Static

    ControlIndex - 0

    ControlIndexInGroup - 0

    ObjectIdentifier - Static

    ObjectType - Text



    I could not find a Text or Value or any similar property. Any alternatives?

    Thanks!
  • Hi,



    Can you post here images demonstrating all properties of your object as they are displayed in the Object Browser?
  • Varun_1's avatar
    Varun_1
    New Contributor
    I have attached the screenshot of the object browser.