How to make arguments optional in a function?



How to make arguments optional in a function?..

Answer / kotike

we can make arguments optional by using "Optional" keyword

ex: fucntion fun_name(a,b,optional c)

end function

Regards,
mahi.kotike@gmail.com

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More QTP Interview Questions

If I give some thousand tests to execute in two days what do you do?

1 Answers  


What is the main differece between QTP 9.0 and 9.2

1 Answers   VeriSign,


what are the mandatory and assistive properties of objects in QTP?What is attached text?Plz assist me with proper answer.

7 Answers   MBT,


what is a good testcase?

3 Answers   Wipro,


What is object spy in quicktest professional?

1 Answers  


Hi, this is venkatesh. Q: I have 10 files in a folder(say D:\). Out of which there are some .txt, .xls, .doc. I want to know how to get the count of each file using qtp? If U have any ans, plz write script for that...

4 Answers   EDS,


If i entered 2 columns and 4 rows inputs in DDT Like Mango fruit, Banana Fruit, Brinjal Veget, Carrot Veget.. . My Q is How to get the 2nd column value for corresponding 1 column input in 3rd row ie, ( i need to get "veget" in messge box @ run time

5 Answers   CTS,


What is the difference between keyword driven frameworkd and Modularisation framework?(Chandana)

5 Answers   Wipro,


How to handle the exceptions using recovery scenario manager in QTP?

1 Answers   Crea,


With what extension you can save the list of tests in a file to run in test batch runner?

1 Answers  


Do you know SQL? I know SQL but i don't have any experience...that's it..No more questions ...simply he said " you can leave for the day" ...guys prepare SQL Quires before attending interview in bank of america...

1 Answers   Bank Of America,


why you have standardized functions? plzzz guys with real time exp. do answer

1 Answers  


Categories