Quality Testing

Quality is delighting customers

Is there any alternative for message box in Vbscript?

 
Hi Friends,

 

Is there any alternative method acn be used to avoid Message box while writing Vbscript? 

 

Thanks

mythreyi

Views: 1592

Reply to This

Replies to This Discussion

alert("") function is there in VB Script

 

Thanx

Srikar

Pls. can you give me the syntax for alert ("")

Thanx

Mythri

Hi Raja....

  There in no Alert Function in VB Script okay.

  

 

You can also use Print

hi

you can use print for displaying results.

and also you want to see the result summary sheet  you can use

reporter.reportevent micpass,"verify ","test is pass" this is also used in whether used in if condition

 

hi Mythreyi,

 

We can go for using reporter.reportevent method to print results after execution in results window .

Hello Mythreyi,

You can write your message to a notepad with step number and maintain it as a log. So, that you can use it for debugging also.

 

Thanks and regards,

 

Dhana

 

Hi

we can use Windows shell Script Advantage of this Script is it's time delay Msgbox.

'-----------------------------------------------------------------------------------------

Dim oWsh

Set oWsh = CreateObject("Wscript.Shell")

oWsh.Popup "Suresh4qtp@gmail.com", 5, "Windows Shell Script"

'-----------------------------------------------------------------------------------------

Note: Suresh4qtp@gmail.com - is Display Message

         5 - is number of Seconds to display Message box

         Windows Shell Script - is Header of the Message Box.

        

print option is there 

Suresh,

Its very nice, im looking it for past few weeks.

Use print statement

syntax:print variablename or "constant"

Thanks,

Manu

RSS

TTWT Magazine


Advertisement

Advertisement

Advertisement

Advertisement

© 2021   Created by Quality Testing.   Powered by

Badges  |  Report an Issue  |  Terms of Service