Hi all..I have two values. a=20 ,b=30
I want to perform c= a+b and c= a*b using user define
function.please anyone give the answer
Answer / prathyusha
Res=Add (20,30)
msgbox Res
Function Add (a,b)
c=a+b
Add=c
End Function
Res1= Mul (20,30)
msgbox Res1
Function Mul (a,b)
c=a*b
Mul=c
End Function
| Is This Answer Correct ? | 0 Yes | 0 No |
How can you create an object in vbscript?
what is the code in QTP to take screen shot? Please send me any one to my mail id. my mailid is manu.sanepalli@gmail.com
How to map test cases with Automation script? Please explain in details.With example Thanks for your co-operation(In Advance)
Capture the Unique label changes on google home page for I am feeling lucky button and save those label changes to Notepad Note: Using QTP
write a qtp script to count the number of minimized windows
after medical test,when will be the police verification
what is the differance between BYVAL,BYREF?
How to open a file. What is the perpose of true and false mode there?
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 ?
how to operate webobjects in a webpage using getobject function and then using generic methods?
How to return a value from function...? you should not tell msgbox, print.. etc.,
My Salary is 65000. How Much TDS I have to pay