Please Example programms on vbscript 1)writing functions
and calling functions
Answer Posted / 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 View All Answers
How will you get the largest subscript of an array in vbscript?
What are string functions in vbscript?
Explain about .wsf files?
How to Enter Values on the Command promt using VB script
Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?
Explain some uses of vb script?
what is the differance between BYVAL,BYREF?
Out of the different type of operators, which are evaluated first and last in the vbscript language?
Which operator can be used to do an xor operation in vbscript?
how to comvert 120 into one hunderd twenty rupees only and vice varsa
how to answer "TELL ME ABOUT UR SELF" as exp.person. whr to start and whr to stop. can anyone tel me
What is difference between vbscript and vba?
Mention what if you do not specify anything when you call a procedure?
Mention what are the rules to name variable in vbscript?
What are the differences between sub procedures and function procedures?