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

Write a user defined function to count the no. of buttons existed in a webpage ? i dont want to use descriptive.create ()

1 Answers  


Hi All, I am a beginner in QTP and have understood the basics of QTP by going through tutorial. I am trying to Automate a HRMIS application, What is the right approach to Automate this application. Kindly answer. Thanks in advance

1 Answers  


How many ways we can parameterize data in QTP?

6 Answers   Liquid Crystal,


what is use of optionexplicit in variable declaration

5 Answers   GE,


one page contain next button.when we enter that its not going to next page.what type of error that one.

3 Answers   TCS,






w is recovery senario manager

3 Answers   Infosys,


Which environments does qtp support?

0 Answers  


What is the extension of script and object repository files in QTP?

9 Answers  


one ok button and one text box is there.when i click on ok button in that text box one no. will display from 1 to 100 randomley.if that is not 100 when we click on ok button again ,again another text box ll created with another no. we will continue this till the text box created and displays 100.and when its 100 ok button should disabled. remember thet no will display not seriely ,it displays randomley,and each time new text box will created.

6 Answers   ADP,


Without integrating QC/Testdirector with QTP, is it possible to keep track of the defects?If yes how? How to export QTP results to an excel sheet?

0 Answers  


how do you done Data-driven test using MS-Word Instead of DataTable

3 Answers   IBM,


Hi. plz expalin abouit SetToProperty, SetRoProperty, GetToProperty, GetRoProperty,GetToPrperties. with examples.

6 Answers  


Categories