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 to set one column as primary key in QTP and fetch values accordingly
What is the use of option explicit in vbscript?
Explain the functionality of vbscript?
In our application qtp unable to indentify the menu items,we tried number of times to add objetcs into object repository but fail. through normal recording mode only objects going to add into repository but while running same recording script qtp showing a error like " unable to indentify the object". in repository there is no any properties and pro values for that object and also i tried with virtual object config also unable to find the object in application and in repository. Then what i have to do to identify menu objects????? can anybody hell me pls..............
how to retrive the tooltip by using descriptive programming in qtp?
i need to login to my yahoo accoutnt using VB Script, automating the operation of webobjects, even launching of IE. How?
How to find arry size in qtp vb script
How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...
Mention what is the difference between vbscript and vba?
What is the event handling in vbscript?
how to write vb script code for login gmail page by using notepad and how to run script in notepad
Explain about tristate constants?