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

can any body give the banking domain concepts/links

3624


Both static and dynamic arrays are handled by the vb script. Is it true?

547


How many types of status are there?

580


How many types of object repository in qtp?

594


How do you know the location Id of an object if you know its index id?

576






What are some test assets and related extensions of qtp?

543


Whats the realtime QTP testing process

1984


Define Canvas view of UFT?

605


Hi, I am supposed to automate mainframe application through qtp. I do not know how to start abt it. Can you plz help me in first initializing the process or do you anybody have a guide book or a link which guides me through the process of automating the mainframe applications and things involved in it.

6648


What is the descriptive programming?

1505


Hi, my requirement is to make a query in SQL using QTP. And i have to get the results of that query and i have to use those results for future testing. I created a driver but i dont know the code for using this Driver. please help me by providing the solution for y requorement

1634


How many types of recording modes in qtp? Which will be used when?

542


I am having major problems with some DB Table Checkpoints I add to my script. I 35 web based applications recorded and each has DB Table Checkpoints insert but only 1 script isn't recognizing the DB Table Checkpoints for some reason. I've checked the DB connections and the info in the Library Functions and still only this one script out of 35 doesn't recognize the DB Table Checkpoints. Can someone please help me figure out why only this one script out of 35 that's hitting the same database is having a problem.

1730


When to use shared and local object repository?

622


How to find Operating system information using QTP script?

565