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
please can you help me to get a code of flames using a visual basic 6
What are the rules to name variable in vbscript?
What are class properties?
can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.
wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......
hi Set myobj=Description.Create() myobj("type").value="submit" myobj("name").value="google search" myobj("html tag").value="button" browser("title:=google").page("title:=google").webButton (myobj).Click i was running above code in one weak back it was working fine i got result,again i opened after few days ,again i was trying to run the code it shows run time error in last line of my code ,why ?pls answer my question?
Mention what is the technology used by vb script?
Mention the environments where vbscript could be run?
What is the use of the formatdatetime function in the vbscript language?
What methods are used to create text files and open text files in the vbscript language?
What is the main difference between function and sub-procedure?
Which operator is used to concatenate the 2 values in the vbscript language?
when we use filter funtiom invb script(QTP)
What is the event handling in vbscript?
How will you get the last occurrence of one string within another string using vbscript?