Please Example programms on vbscript 1)writing functions
and calling functions
Answers were Sorted based on User's Feedback
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 |
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 |
The function template cocept is implemented in vb.net is ???
what is the purpose of the Reporter.ReportEvent in QTP and also please give the brief description about Reporter.ReportEvent ?
Write a program to create a Dynamic array of size 5 elements and display all the elements.
pls tell me which is good book or site for vbscript?
Mention when to use function procedures and what are its characteristics?
plz give ans to this in vb script........ "krishna radha" i want to print this string "Radha Krishna" like this
How will you format a number in percetage format in vbscript?
What is the use of option explicit statement?
what is the differance between BYVAL,BYREF?
What are the 2 ways to pass a value to the function?
Explain about tristate constants?
which is the best institute in banglaore for software testing?