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 |
Explain the .wsf files?
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.
We have an application which is built using multiple technologies and are using QTP as the tool for Automating the same. While we spy over a combo box in this application, we get the object name as a "Combo Control" and we are not able to perform any action over this object in either selecting or checking any method for the same like "Exist" etc. Hence we thought of a solution and the same can be found below
Difference between Function and Sub routine?
write a vb script to display first 5 odd numbers from 1 to 100
who will create the object?
What is the difference between do until loop and do while loop?
In html file what is an ideal position to include vbscript?
How to load vbs functions in qtp
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 ?
if there is any string in a given format like as "company name employeecode date" then we have to fetch employeecode form string for ex-string is "capgemini12345june2013" then we have to fetch 12345 by using vb script so guys how can we do that please reply it.
How to find the font in qtp. Scenario:After entering the username and passwd you will be navigate into the "welcome:Username" page.Now I want to extarct font for this message.