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
give me any information abou vb script books learn quckly
What is the use of the formatdatetime function in the vbscript language?
What is variant in vb script?
How will you get a random number between 0 and 1 in vbscript?
How are values assigned to the variables in the vbscript language?
What is the purpose of the err object in the vbscript language?
Mention how to create a cookie using vbscript?
Which data type/types are supported by vbscript language and what are their specialties?
How to Import data from a file (file is on the desktop) to the data table
What's the difference between vbscript and vb.net?
how to increase the values in text box in a given text box increament by two values by clicking on button
How to pass argument by reference to a function in vbscript?
wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......
What are the 2 ways to pass a value to the function?
Explain the filter expression?