Forum Discussion

kinsleyd's avatar
kinsleyd
Contributor
15 years ago

IE status bar alert sign

I'm attempting to find the object or property within an Internet explorer session for the Yield Exclamation sign in the bottom left hand corner - Status bar.  Its the only thing apparent when pages return java script errors of a certain type.  I've used the finder tool, but it only returns

Sys.Process("iexplore").IEFrame(0).Tab("http://jpidev02.jpidev.com/gsa/pipadmin.nsf/jserror?OpenForm - Windows Internet Explorer").Window("msctls_statusbar32", "", 1)

which doesn't seem to indicate that error status.  You see the same .Window("msctls_statusbar32", "", 1) in cases when there isn't an error.



Any thoughts?

13 Replies

  • Its unclear what you mean by "extended section".  The image from a few posts ago shows the object - nothing's changed.  Attached the zipped up project suite as indicated.  The test itself is in the Testing script unit.  Right now it'll produce a runtime error, I suspect because the wImage(0) object does not exist (at least it doesn't show in the object browser) - if one removes it the code runs, but with the logic error that is not trapping what I need it to.
  • Hi Dave,


    The log files you provided do not contain any information on the fact that TestComplete failed to find the wImage property. Could you please post a simple project which contains only the problematic code and the results of its execution?


    As for the Extended section, please see the attached image. The image you attached earlier did not include information on project properties, just a fragment of the objects tree.


    BTW, if the image checking functionality is significant for you and you need to implement it without any further investigations, I recommend that you just use Region checkpoints to validate whether the image is displayed (see the "Region Checkpoints" help topic ( http://www.automatedqa.com/support/viewarticle.aspx?aid=2984 ) for more information).


  • stref's avatar
    stref
    Occasional Contributor
    Dave,

      You also might try turning on MSAA support for "msctls_statusbar32". You'll see a lot more information about the sections of the status bar which could be helpful.  To add this double click your project from the explorer, select properties, click Open Applications | MSAA and add a new entry with the string quoted above.





    I created a video on working with MSAA in case this seems confusing.





    http://tv.falafel.com/default/09-11-06/TestComplete_support_for_MSAA_can_ease_UI_automation.aspx







    -Steve