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 natural logarithm of the given number in vbscript?
Explain the string concatenation function in vbscript?
How to throw an error in vbscript?
What are the valid scopes of a variable in vbscript?
What are the uses of vb script?
Differentiate javascript and vbscript?
Could Anybody Please tell me What is the script for Find 3rd Largest element in the Array without using a SORT function int Find(int arr[], int size); Thanks in Advance..
What are the data types supported by vbscript?
What are keywords in the vbscript language?
Both Static and dynamic arrays are handled by VB script. Is it true?
how to set one column as primary key in QTP and fetch values accordingly
Which operator is used to concatenate the 2 values in the vbscript language?
Why is error handling required?
Mention how you can call vbscript functions?
What are lbound and ubound in the vbscript language?