how to export the result to notepad....for example i want to
enter the user name and pass word and clicking on login
button ......once you click on login button the
corresponding page will open ...in that page you having one
list box ...here you can get either success or failure
........friends here i want export the message what ever i
got either success or failure .....how to export the result
to note pad



how to export the result to notepad....for example i want to enter the user name and pass word and ..

Answer / acharya

By Using RO property we can get the value, whether its a success or a failure..and save the value in a variable..
and write a code to open the notepad and append the value stored in a variable in notepad

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More QTP Interview Questions

.mtr ( modular test repository or mercury test repository) plz give correct answer??

3 Answers  


I have to pass all the test cases into gmail userid and password using functions please give me code thanks have anice and greate day

2 Answers  


why use Description programming? what is advantages and disadvantage of this methods?

2 Answers  


How is a Step generator used in UFT?

0 Answers  


Can we Test Welcome Screens and Process Images with QTP

0 Answers  






Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...

0 Answers  


can any one tell me what is syntax error in line msgexist=Browser("title:=Gmail: Email.*").Page( "title:=Gmail: Email .*").WebElement(innertext=&msg).exist 'code ************** Call login("lal="," " ) wait(5) Call errormsg("Invalid email address. [?]" ) Function errormsg(msg) msgexist=Browser("title:=Gmail: Email.*").Page( "title:=Gmail: Email .*").WebElement(innertext=&msg).exist if msgexist then Reporter.ReportEvent micPass,"enter valid username or pwd ",msg else Reporter.ReportEvent micFail, "entered valid uname and pwd",msg end if End Function

5 Answers  


Hai Guys, can anybody show me how to write automaed test cases using VB scprit(examples)...i had an interviw soon...please guyz send as quickly as possible

5 Answers  


How to Identify broken links in QTP

2 Answers   Ness Technologies,


What are the types of Object Repositories in QTP?

9 Answers  


If object is not recognized by qtp but the object is standard object what is your approach?

0 Answers  


What is the extension of script and object repositary files?

7 Answers   Maveric,


Categories