How to make arguments optional in a function?

Answer Posted / akshay kumar

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.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of running the scripts in Hidden-mode in UFT?

915


What are the Application Functions available in QTP?

1704


What are metrics and matrix?

1541


Tell some commonly used Excel VBA functions?

797


how interviews will be on QTP?

1696


I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all

1707


how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps

1868


How does quicktest professional identifies the object in the application?

752


What are the benefits of qtp?

739


what is output value in QTP and how it can be used in automation testing

1686


In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer

2132


Explain types of output values?

733


Have you done batch testing in qtp? If yes how you are doing?

689


Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?

1723


Hi, I am working on microsoft infopath forms..It is standalone form..(not dotnet or web.) . I am not able to indentify any objects in it.. I am currently using active accessibility in the macro for the same but its execution is too slow.. Kindly help in case you have better solution.

2643