I have below user Defained function
function AddTwo(ByVal a, ByVal b)
Dim Ans
Ans=a+b
MsgBox Ans
End function
Now my question comes here...from given below methods which
method is right to call above function?Which is Wrong and why?
1. AddTwo(2,4)
2. Call AddTwo(2,4)
3. AddTwo 2,4
4. Call AddTwo 2,4
Answer / sisira
Call AddTwo(2,4)
AddTwo 2,4
these two ans are true
Thanks
sisira
| Is This Answer Correct ? | 1 Yes | 0 No |
how to write testcases for web based insurance,from the script by using qtp.
Hi All. Can you please explaing what is checkpoint? How it Will Work? what is meaning of "check checkpoint ("proprtname").how it will compate with expected value? Thanks in Advance............... Lakshmi
example-date format is 01-jan-09 in QTP.How to convert this format to 01-01-09?
How do you capture tooltip using QTP?
I have java based application on my computer. Can I install QTP on it? What are system requirements for installing QTP?
Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?
what are the functions availabla in QTP? what are the data types in QTP?
Subj: realtime example of Database check point, Can any one please detail on how the Database check point is utilized/implemented in a real time project. I already know how to make one by creating DSN/ODBC and writing the required query manually and other steps...I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thank you in advance
I've some problem in Descriptive programming plz help me. I've written in a click event code in Functional library when I run this flight reservation program It is not run. How to I write multiple click event in functional library. My program is this. I have associate an action with functional library. Public Function ClickButton(byval ApplicationName, byval WindowName, byval ObjectName, byref Comments) If Dialog("text:=" &WindowName).WinButton("text:=" &ObjectName).Exist Then Dialog("text:=" &WindowName).Activate Dialog("text:=" &WindowName).WinButton("text:=" &ObjectName).Click Elseif Window("text:="&ApplicationName).WinButton("text:=" &ObjectName).Exist Then Window("text:=" &ApplicationName).Activate Window("text:=" &ApplicationName).WinButton("text:=" &ObjectName).Click End if End Function
how to acess a test in RSA?
what is the Vbscript to connect Database
Whether qtp 9.0 supports Test director8.0