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 |
how and what kind of vb functions do us ein QTP?
Difference between copy to action and call to action?
Can I import a excel sheet in Action1 datatable? How?
What is recovery scenario manager? When you go for recovery scenario manager?
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, and also tell me the best institute and the estimate cost for joining the institute ib delhi NCR. Hence, if possible, kinldy mail PDF file to my mail-ID: kumar123.pathak@gmail.com , Regards, kumar pathak
A web Page has 2 frames. Find out the number of weblist items in the second frame of the page.
how u track bugs using Test director in manual testing.
anyone can explain about "Smart Identification" in QTP I mean what is the use of "Smart Identification" Give an example
Can objects recognised without repository?
Describe the differences between functions and actions in UFT?
What is the dis advantage of check points in QTP, if any?
images are dynamically changes how to compare two images