QTP Script to get count of number of mails in outlook application
Set a = CreateObject("Outlook.Application")
Set b = a.GetNameSpace("MAPI")
Set c = b.GetDefaultFolder(6)
msgbox(C.Items.Count)
QTP Script to get count of number of mails in outlook application-VB Script to get count of number of mails in outlook application
qtp script to get message box text in 2 lines-vb script to get message box text in two lines
qtp script to get message box text in two lines
MsgBox ("Hi" & vbCrLf & "Hello")
Output-
Hi
Hello
QTP Script to display Message Box Text in Multiple Lines-VB Script to get message box text in multiple lines
qtp script to get message box text in multiple lines
MsgBox ("Line1" & vbCrLf & "Line2" & vbCrLf & "Line3" & vbCrLf & "Line4" & vbCrLf & "Line5")
Output -
Line1
Line2
Line3
Line4
Line5
QTP Script to get version of Outlook-VB Script to get version of Outlook
QTP Script to get version of Outlook
dim a
set a=createobject("Outlook.Application")
Msgbox(a.version)
Subscribe to:
Posts (Atom)