How to make arguments optional in a function?

Answer Posted / 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 ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

banking project description for software tester

7031


How to call a test from another test?

688


What is recovery scenario manager? When you go for recovery scenario manager? Tell me one scenario were your used recovery scenario in your project?

582


am not having intrest in coding lang like c c++ java etc can i choose Testing tools as my carrier and please suggest me which tool is good (suitable for me)

1284


How to run a test using quicktest professional?

534






How to connect the remote desktop using QTP 9.2 explain the method or procedure?

2805


How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined

1467


Explain how you can find the absolute value of the number in qtp?

648


what could go wrong with test automation?

1509


An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))

1591


explain how to write vb script in qtp?when will you write own script?

1860


How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..

1725


Explain how to use QTP to check broken links on a page?

589


Can we record using all the modes in a single script? Explanation with example is appreciated

1392


What are the different recording modes?

568