| || |
PushTestInfo () and PopTestInfo () - EXAMPLE ?
Can anybody give me example of
PushTestInfo () and PopTestInfo ()?
Any related thing is appreciated
Re: PushTestInfo () and PopTestInfo () - EXAMPLE ?
These functions are used to send information to the runtime window. This is the little window that appears when you run a testcase. You can send messages to it and they appear on the window.
I cannot really find a common need for these functions, but if you want to play around with them, here is a sample. When you run it, take a look at the runtime window.
[-] main ()
[ ] PushTestInfo("This message will appear in the runtime window")
[ ] sleep(10)
[ ] PopTestInfo ()
[ ] Sleep(10)
Make sure that in your Options/Runtime window, Show Detailed Status is checked. Otherwise you won't see anything.