how to display message with out using msgbox function?

Answers were Sorted based on User's Feedback



how to display message with out using msgbox function?..

Answer / sandeepguttikonda

I don't know whether am answerig your question or not.

But I would like to share my knowledge upon this question.

In QTP we are having one keyword named "Print"

This will display the results in QTP's "Quick Test PrintLog"

This also functions same as Msgbox.

Example:

1) Print "Print this in Quicktest PrintLog"

2) Result = 3+4
Print "The sum of two numbers = "&result.

Please let me know if I have not answered your Question
mean while I will explore for other solution too.

Thanks.

Regards,
Sandeep Guttikonda

Is This Answer Correct ?    12 Yes 0 No

how to display message with out using msgbox function?..

Answer / harsha

hi sandeep....print is different from message box. We can
display message box by this way also.

Set oShell = CreateObject("WScript.Shell")
Mesgbox = oShell.Popup("Do you Want to
Continue",10,"Welcome",3)

Is This Answer Correct ?    11 Yes 2 No

how to display message with out using msgbox function?..

Answer / venkat

hello swathi.......


you are wrong..

Wscript.Stdout.Write will not work...

Is This Answer Correct ?    6 Yes 0 No

how to display message with out using msgbox function?..

Answer / na

Wscript.Stdout.Write will not work...

Is This Answer Correct ?    0 Yes 0 No

how to display message with out using msgbox function?..

Answer / swathi

to display message without using msgbox in standard output
format

Wscript.Stdout.Write

it will display the results same like msgbox

please correct me if am wrong..

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

What are the different types of qtp test assets and their extensions?

0 Answers  


How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.

0 Answers   ING,


Hi,All How to create a link in excel sheet using qtp

0 Answers  


request to add whatsapp grp for test engineer

1 Answers  


how to write this script using descriptive programming? the script below is the script generated by QTP plz write the script using descriptive programming? plzzzzzzzz do answer thanku Browser("Welcome: Mercury Tours").Page("orkut - login").WebEdit("Email").Set "test123" Browser("Welcome: Mercury Tours").Page("orkut - login").WebEdit ("Passwd").SetSecure "475259b450e3d212bef4a5f5ce9d32ebcbf4" Browser("Welcome: Mercury Tours").Page("orkut - login").WebButton("Sign in").Click Browser("Welcome: Mercury Tours").Page("orkut - home").Link ("Logout").Click Browser("Welcome: Mercury Tours").Page("orkut - login").Sync Browser("Welcome: Mercury Tours").Close

3 Answers  






hello, i was install Q.T.P.8.2 in windows xp version .when i am running my programs all the desktop icons are disappear why so. please guide me anybody how can i come out side this problem.

3 Answers  


It is regarding VBScript, how to export our function results to ExcelSheet through VBscripting. Ex: I have written add function, that result should export to Excel.

3 Answers  


if we can find the status of script in qtp that either it's pass or fail then why we need to put this status on different excel file or log file in hybrid framework .please let me know asap thanks

1 Answers   iCreate,


1) 100 test boxes there in application. how to click 100 test boxes using vb script? 2) 100 objects there in web page,how we will store that 100 objects repostries?

3 Answers   ANZ,


How to make arguments optional in a function?

0 Answers   Crea,


How many scripts do you write per day. What is the average number of scripts you have written in your recent project

1 Answers   CenturyLink, Optum, Value Labs,


What is API?

1 Answers  


Categories