Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / surya

vbs file contains the user defined functions which are
reusable that can be used in our test or compnent according
to our requirement

Is This Answer Correct ?    11 Yes 4 No

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

Answer / rajendra

Hai sairam i am rajendra

VBS means Visual basic script file

Normally QTP uses VBscript for automation script generation.
You can view this code in expert mode of QTP.

I think you are clear with this answer

if have any doubt regarding testing both manual or
automation you can contact me

rajendra_penumalli@yahoo.com
Mobile;9885162742
Hyderabad

Is This Answer Correct ?    8 Yes 3 No

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

Answer / abhesheke

hi sriram

Vbs mean Visual basic script file

open a notepad write a user defined function and save it in
any location open->test tab ->setting->go to resource tab
and u have option there(associtave library files) link .ur
vbs file there and click ok

after that call that function from ur expert view.

if u are not clear ping me i will give u an example

Is This Answer Correct ?    5 Yes 3 No

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

Answer / amit

Hi Siva,

Please use the following command in QTP wherever you wish to
call this file.

ExecuteFile("Path")

That's it

Is This Answer Correct ?    2 Yes 0 No

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

Answer / sreekanth chilam

VBS file extension is .vbs(Visual Basic Script file)

Basically .vbs file is also called as "Library File" in QTP

A file in which the Code or functions are written in the VB
Script format is called "Library File(.vbs)".

The functions written in library files are called
as "Library Functions"

Is This Answer Correct ?    2 Yes 5 No

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

Answer / reddy siva saran

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

Post New Answer

More QTP Interview Questions

WHAT IS DIFFERENCE B/W QC 9.2 AND QC 10.0

1 Answers   SoftTech,


any one can send me the concepts of qtp

0 Answers  


difference between GetROProperty and GetTOProperty

3 Answers   Wipro,


Hi Everybody, Can anybody please tell me the how to display the result of the QTP in the notepad text file rather than in the QTP result window. Suppose this is my simple script:WHich will open the notepad file and enter some text and then will change the font then will calculate how much time has been taken.Now, in this script i want to display the result in notepad file. Dim s Dim starttimer,endtimer,timeit s="uyetuywqtywqte" SystemUtil.Run "notepad","","Y:\","" Window("Notepad").WinEditor("Edit").Type micCtrlDwn + "s" + micCtrlUp Window("Notepad").Dialog("Save As").WinEdit("File name:").Set "test1" Window("Notepad").Dialog("Save As").WinEdit("File name:").Type micReturn Window("Notepad_3").Type s Window("Notepad_3").WinEditor("Edit").Type micCtrlDwn + "s" + micCtrlUp starttimer=timer Window("Notepad_3").WinMenu("Menu").Select "Format;Font..." Window("Notepad_3").Dialog("Font").WinEdit ("Font:").Type "cou" + micDwn Window("Notepad_3").Dialog("Font").WinComboBox ("Font:").Select "Courier" Window("Notepad_3").Dialog("Font").WinEdit ("Font:").Set "Courier" Window("Notepad_3").Dialog("Font").WinEdit("Font:").Type micReturn endtimer=timer timeit=endtimer-starttimer print(timeit) Please also tell me where the function for the text file result will be declared and where it should be called. Thanks, Gaytri

2 Answers  


Have you used xml check point in your project?

0 Answers  


· What should test in BANKING DOMAIN application ?

2 Answers   TCS,


Differentiate the type of test cases which can be automated and which cannot be automated?

0 Answers  


How to add a runtime parameter to a datasheet?

1 Answers   Crea,


Define Canvas view of UFT?

0 Answers  


If u r using descriptive programming to identify the object where do u write the script for those objects? do u write it in the expertview? plz do answer its urgent thanks advance.

3 Answers  


How to export data in excelsheet to qtp without using datatable.

4 Answers  


What are the check points can be inserted without recording?

0 Answers  


Categories