reddy siva saran


{ City } bangalore
< Country > india
* Profession *
User No # 25033
Total Questions Posted # 0
Total Answers Posted # 3

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 2
Users Marked my Answers as Wrong # 6
Questions / { reddy siva saran }
Questions Answers Category Views Company eMail




Answers / { reddy siva saran }

Question { GE, 16912 }

What does VBS file contain...??? what is VBS file.. ???


Answer

HI
I AM SIVA SARAN

I HAVE ONE DOUGHT IN QTP
CAN ANY ONE HELP ME PLEASE

ACTUALLY I HAVE ONE VBS SCRIPT FOR FINDING WHETHER A PROCESS
IS RUNNING OR NOT
I HAD ASKED THAT BY USING QTP I HAVE TO CALL THAT VBS FILE
I KNOW HOW TO CALL THAT VBS FILE IN QTP
BUT MY QUESTION IS HOW TO CALL THAT VBS FILE AT A PARTICULAR
LINE IN QTP

FOR EXAMPLE IF MY QTP SCRIPT HAVE 100 LINES
HOW TO CALL THAT VBS FILE AFTER EXECUTING THE 75th LINE IN QTP
ALSO THE RESULT OF THAT VBS FILE SHOULD BE DISPLAYED IN THE
RESULT PAGE OF QTP

THIS IS MY VBS FILE

Dim AllProcess
Dim Process
Dim strFoundProcess
strFoundProcess = False
Set AllProcess = getobject("winmgmts:") 'create object
For Each Process In AllProcess.InstancesOf("Win32_process")
'Get all the processes running in your PC
If (Instr (Ucase(Process.Name),"POLRESOLVER.EXE") = 1) Then
'Made all uppercase to remove ambiguity. Replace TASKMGR.EXE
with your application name in CAPS.
msgbox "Application is already running!" 'You can replace
this with Reporter.ReportEvent
strFoundProcess = True
Exit for
End If
Next
If strFoundProcess = False Then
msgbox "Go ahead!Application is not running" 'You can
replace this with Reporter.ReportEvent
End If
Set AllProcess = nothing



CAN ANY ONE HELP ME PLZ

can u send the answer to MY MAIL ID
sivasaran558@gmail.com

Is This Answer Correct ?    1 Yes 5 No

Question { UHG, 52945 }

how u write vb script in qtp pls give me some basic script
and some material


Answer

Hi,can any one tell how to call vbscripts in QTP
MY MAIL ID IS sivasaran558@gmail.com

Is This Answer Correct ?    0 Yes 1 No


Question { 3226 }

Hi,
can any one tell this
Actually I AM NEW TO QTP
I have one qtp script in which it calls the vbs file during
it's run TIME by using the ExecuteFile "absolute path"
If the vbs file is executed seperately it will give the
output in a msgbox
In the same way if qtp script is executed the result will be
displayed in w result window right?
Now the question is how to get that vbs file output in the
qtp result window when I run the qtp script which calls the
vbsfile during it's run TIME


Answer

Yes,
we can do that by using the Reprter.ReportEvent statement
Reporter.ReportEvent Eventstatus,ReportStepName,Details

Is This Answer Correct ?    1 Yes 0 No