How to make arguments optional in a function?
Answers were Sorted based on User's Feedback
Answer / ashwin
Ramya you are wrong.
We can make arguments optional by writing it as two square
brackets [].
ex: Function Test(ival,sval,[<optional>])
'logic here
end function
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / 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 ? | 2 Yes | 2 No |
Do you have any knowledge about Business Processing Testing in QTP
How to load object properties to object repository through scripting.give one example
Explain in brief about the quicktest professional automation object model?
Explain different checkpoints in qtp.
what is the difference between development and testing
How to capture the text from the application using QTP?
i have .xls,.txt,.doc files are there (together). i want find only .xls file among them? how can we write function?
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...
How do you convert manual test cases to automated test cases?
To retrive the test data which tool vl use and whats basis u vl write test data? its urgent
In website, protocol has been changed http:to https what you will do? tell me your approach?
what is the Command used to start the QTp from Run.