How to make arguments optional in a function?
Answers were Sorted based on User's Feedback
Answer / ashwin
Ramya you are wrong.
We can make arguments optional by writing it as two square
brackets [].
ex: Function Test(ival,sval,[<optional>])
'logic here
end function
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / ramyab.mca@gmail.com
Hai.....
this is not possible as default VBS doesn't support this.
Instead you can pass a blank scring and have a default
value if arguments r not required.
K,Byeee...
Thanks & Regards
B.Ramyasri
| Is This Answer Correct ? | 2 Yes | 2 No |
when qtp recognizes a web link like (hyper link)wich properties it is going to take to identify the objects unquely? what is Ini file in QTP?
hi everyone today is the first time i saw this website,and hi iam siraj,iam very impressed by seeing evryones response towards questions,iam a newcomer and i have got tryining in testing can anyone please send me some projects relaited to testing.i know it is very confidential but still if u send it will a great help. my mail id venku_krs@yahoo.co.in
Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)
1 Answers Autodesk, EDS, Wipro,
Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.
How many types of trigger events are there in qtp?
Tell me the situations where we will use Data Driven?
Why we are selecting QTP for testing ?
Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?
How do you return a value from a function
Explain quicktest professional testing process?
Hi PLZ explain User Defined Functions in QTP with eample?
what is the difference between rational rose and QTP? WHICH TOOL IS BETTER TO LEARN? PLEASE SEND ME AT sana_50218@yahoo.com sandeep@epuratech.com