how to write the pass or fail message in winrunner
for eg: in QTP we can write
like "Reporter.reportEvenr,micDon,"Test Test pass"

Answer Posted / anusha subbu

Here one of the pre-define function in winrunner (just
press f7 for getting all pre-define functions)
That is
tl_step(“step name”, 0 or 1, ”description(pass or fail)”);
Here 0 means status is pass
1 means status is fail

Eg: tl_step(“s1”,0,”pass”)

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can i get apex technologies interview questions in testing

1826


I want to do smoke test in my application but i have learnt the application before recording but im getting an error class name not found while running the script.I want to check each links and each text in my application. Can anybody answer my quesion plz.If it is possible i want test script for Yahoo login form with "New User" Login.

1632


What is toogle breakpoints? How does it differ from break points?

1784


What are the platforms that WinRunner can be used?

1593


Explain the purpose of gui map configuration?

612






How do you copy and move objects between different gui map files?

634


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

582


What are the two modes of recording?

584


Write test scripts on a scenario where you have to transfer data from one table to another.

1570


Where did you learn winrunner and testdirector?

679


Are there any suitable free tools to conduct performance test on a php web application?Manual or automation which is preferable for such kind of application? please answer ASAP

1791


What is the use of virtual object wizard and how it is used?

609


What is the purpose of set_window command?

698


What do you verify with the sync point for object/window bitmap and what command it generates, explain syntax?

605


What is the difference between gui map and gui map files?

555