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...


Please Example programms on vbscript 1)writing functions
and calling functions

Answers were Sorted based on User's Feedback



Please Example programms on vbscript 1)writing functions and calling functions..

Answer / badri

'writing function


function example()

msgbox "This is example for writing funtion"
end function


'calling the above function--just we write the function name

example()

Is This Answer Correct ?    4 Yes 0 No

Please Example programms on vbscript 1)writing functions and calling functions..

Answer / cil testing team(jaipalreddy)

Public function login(x,y)
'record or write descriptive script for repeatable
operation
here xand y are arguements
End Function
'save this function in function library or copy them in
notepad or wordpad and save them with .vbs exension

While calling this function in test
call like this in test
login "Mercury","mercury"
then steps->1.File menu->settings->Resources Tab ->here
click + mark to Browse the path
->Click apply->Click Ok

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More VB Script Interview Questions

Mention what if you do not specify anything when you call a procedure?

0 Answers  


how to acces the remote mechine using vb cript(QTP)

0 Answers   TCS,


How to throw an error in vbscript?

0 Answers  


I have a webtable and many objects are embedded in side.(like buttons,checkboxes etc). How to know how many such objects are there? what is the class of that objects?

1 Answers   HP, TCS,


What is the purpose of regexp object in vbscript?

0 Answers  


Check whether given Number is Even or Odd?

2 Answers   HDFC,


how to write codings in QTP using vb script. please help me. i am new to QTP. it is easy or very much tough. please tell me

3 Answers   TCS,


Which date function is used in the vbscript language to find the difference between the 2 dates?

0 Answers  


when you use For Loop, While..do, do..while? at what situations which loop will use.

1 Answers  


What is the difference between javascript and vbscript?

0 Answers  


How to replace junk code recorded by QTP with a mall function.

0 Answers  


Create a file system object to do the following i. Create a folder ii. Create a text file in the folder iii. Update text file with some tex

2 Answers  


Categories