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

HOW to invoke any recorded script in QTP with out using RECORD & PLAYBACK CONCEPT?

1 Answers  


How do i relate the checkbox properties with webelement when checkbox properties are changing on every login to the application

1 Answers   TCS,


what is reusable action and how the same can be implemented (process)?

2 Answers  


On what document base Descriptive programming is written if build is not yet ready ?

0 Answers  


What are the three challenges U faced during automation testing of your application.

2 Answers   L&T,


This is the script generated by qtp plz can anyone write the same script using descriptive programming plzzzz guys do answer. Browser("orkut - login").Page("orkut - login").WebEdit ("Email").Set "rgovard" Browser("orkut - login").Page("orkut - login").WebEdit ("Passwd").SetSecure "47525d8be4926ea2f6e96b9a3f7472b6ae38" Browser("orkut - login").Page("orkut - login").WebButton ("Sign in").Click Browser("orkut - login").Page("orkut - home").Link ("Logout").Click Browser("orkut - login").Page("orkut - login").Sync Browser("orkut - login").Close

6 Answers  


How to create basic scripts from a manual test case in QTP?

1 Answers  


What is the qtp testing process?

0 Answers  


if numbers are always changing write a script for that

1 Answers   Nous,


WHAT IS ENVIRONMENT VARIABLES?

7 Answers   AZTEC, CTS, Ready Test Go,


QTP supports both client server and Web applications. Does it support Plug-in?

0 Answers  


What are the features supported by UFT?

0 Answers  


Categories