What is Diff. between Pause() ,report_msg() statements?
Answers were Sorted based on User's Feedback
Answer / sunil reddy
pause : It is a user defined function to create Pause or
continue msg
report_msg is used to report error message
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / mercurytsl
Pause() function will hault the execution of the script and
show the msg,if it any.where as report_msg() will display
the message in the test results window.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / neelima
Pause():pauses the test execution and displays a message
report_msg:inserts a message in a test report
Is This Answer Correct ? | 0 Yes | 0 No |
pause() pause the execution and displays the message and
after pressing a required key the remaining test will be
executed, where as
report_msg() displays the message in Test log windows after
completion of the test.
and these 2 functions are not an error messages, it's a
message or result defined by TE
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vinoda
What Prasad MVsn said is right but i want to make some
changes in it regarding the report_msg()
report_msg() is just like printf() it displays the message
what ever we want in a message box ..but not in a Test Log
file....
Printf() function will the print the message in a seperate
Test log file
Is This Answer Correct ? | 0 Yes | 0 No |
how v should get data from third excel sheet?
when start testing
write a function for addition of two numbers
How to get the resolution settings?
By Default if you save a File with just pause statement in the script how it is going to store in winrunner?
How to find the local host name using winrunner ?
How do you add a property to the checkpoint from the script?
How do you execute your tests from windows run command?
What happens when the gui map file get loaded?
how scripting language & programming language are different?
What is synchronization? what is the purpose of wait() function? what is the diff. between wait() and other synchronization functions in winrunner?
8 Answers Infeneon Technologies,
which testcases do u automate?