Interview Questions

How to to get the information from the status bar without doing any activity/click on the hyperlink?

Mercury WinRunner FAQ


(Continued from previous question...)

How to to get the information from the status bar without doing any activity/click on the hyperlink?

You can use the "statusbar_get_text("Status Bar",0,text);" function "text" variable contains the status bar statement.
or
web_cursor_to_link ( link, x, y );
link The name of the link.
x,y The x- and y-coordinates of the mouse pointer when moved to a link, relative to the upper left corner of the link.

(Continued on next question...)

Other Interview Questions