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
Mention when to use function procedures and what are its characteristics?
what do you mean .ota mobile format
What is event handling in vbscript?
Explain about filter expression?
What is sql loader? Explain the files used by sql loader to load file?
wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......
1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.
How will you get the octal value of the given number in vbscript?
how to answer "TELL ME ABOUT UR SELF" as exp.person. whr to start and whr to stop. can anyone tel me
What are the valid scopes of a variable in vbscript?
Which in-built function related to an array joins substrings into one string in the vbscript language?
Why is error handling required?
Hi anyone Can Send Solution to the Question wt m posting now Prepare Script for the Bellow Scenario? Login to Gmail Page Open Inbox check Mails save them in a Folder
Explain about the functionality of vb script?
Explain what is loose binding? Why is it not a good practice to use it?