How to pass the parameter from one function to another
function in VB Scripting?
Answer / vaishnavi murugan
dim a
a=10
b=20
call value(a,b)
function value(a,b)
c = a+b
msgbox c
call val1(c)
end function
function val1(c)
d = c+2
msgbox d
end function
| Is This Answer Correct ? | 4 Yes | 0 No |
* ** *** Please write a code to get output like above diagram? ple explain as it how the code works?
this q asked in applabs, q is: QTP should open google.com page and enter "qtp" in one edit(search) box and click search and should open google.com again and enter "job" in edit(search) box and click on search. I tried this but getting error "Edit(search) box matches more than one object", could anyone this question plz..
What is event handling in vbscript?
if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.
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.
how does vb script help in web page designing? explain with example.
Here in my automation tool, i am retreiving some values and i need to store this values in the excel. How can i achieve this?. We are using VBA as scripting language. please let me know if you require any further inputs.
How to assign a date value to a variable?
What is sql loader? Explain the files used by sql loader to load file?
how do you make the variable declaration mandatory?what is the use of "option explicit"?
Which in-built function related to an array joins substrings into one string in the vbscript language?
Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?