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 to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.
Which in-built function related to an array joins substrings into one string in the vbscript language?
hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?
give me any information abou vb script books learn quckly
can anyone tell me the procedure of interview held in applabs
When are redim statement and preserve keyword used in the vbscript language?
Explain about tristate constants?
What is the use of the formatdatetime function in the vbscript language?
Mention how you can call vbscript functions?
I am working on QTP, got struck in one place.. In my application depending upon configuration WebEdit count is increasing/ decreasing.. how to get these webedits..
What is the difference between function and procedure?
Explain about the extension .hta?
When to use function procedures and what are its characteristics?
How many types of operators are available in the vbscript language?
Explain few date functions in vbscript?