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

How to define array in qtp?

0 Answers  


when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next

1 Answers  


How do u write regular expression for a window name which is changing for each build ? i.e. in first build the window name is : "computer graphics are very ...." . in second build the window name is : "computer graphics can be created" . - Appreciate proper replies

4 Answers   Semantic Space,


1.In VB Script 100 lines Script. How can check the Syntax errors? 2. Write a VB Script for X = India/Srilanka/Australia/England/South Africa.I need the Output Country wise? [ 1st Msgbox India , 2nd Msgbox Srilanka] ---- 3. How can Choose these test cases to be automated?

5 Answers   HP,


Is there any site to download QTP....otherwise tell me the way how to get the QTP sofware??????????????????? Thnx in advance

5 Answers   Cegonsoft,






how to merge 2 object repositories in qtp 9.0.what is use of merge and y merge is used?

1 Answers  


what is the difference between image and bitmap check point

3 Answers  


Test Life cycle starts IS it Requirments stage or Test Initiation?

1 Answers  


object types is used for what?

1 Answers  


what is main difference between QTP 8.2 AND QTP 9.0/9.2 HOME PAGE?i mean what are extra thing in QTP 9.0 than in QTP 8.2?

1 Answers   Infosys,


Today only i joined in this site. Can u please tell me definition of parameterization. and how i can do the parameterization?

4 Answers  


wht is the difference betn check point and output value?

5 Answers   BirlaSoft,


Categories