You can add the browser's statusbar to the GUI map, then retrieve it's contents via a statusbar_get_text() function.
In WR, select Tools:GUI Map Editor
- Click the Learn button
- Point the 'hand' cursor to the browser's statusbar.
- Save changes to your GUI map.
In your script, set the window, then use statusbar_get_text:
statusbar_get_text ("MyStatusbar" , 0 , outText);
# the variable outText contains any text found in the first field of the status bar.
Hope this helps!
Herrick Douglass Technology Development
[This message has been edited by shysmith (edited 03-21-2001).]
Herrick Douglass Technology Development, Inc.
CPS: LoadRunner/CS, TestSuite, TestSuite/TE
Thanks!! I got it..
I am new to winrunner and I would like to know if there's a way to read the Browser Status Bar messages (Done, Applet Running, etc..)
Thanks in advance