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 |
suppose take one row in a row 16 columns is there.in 16 columns 16 numbers is there.but i want to get each 3 column number.o/p :5 columns get in 16 columns means. so can anybody write this function? plz send if u know the answer.
Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet 'traffic congestion' problems to be accounted for in testing?
Why use Regular Expressions?
how u track bugs using Test director in manual testing.
what is the defference between QTP 8.2 and 9.0and 9.2? plz tell me
What will be the script for recovery scenerio.plzanyone give ans with aexample related to banking project
How to save your test using quicktest professional?
object types is used for what?
What is the extension of script and object repository files?
what is the difference between xmlutil and xmlDOM in qtp?
suppose the given string str = {"vamsikrishna%%&%*&**"} count the no of vowels and special characters are repeated
You have an application version 1 with 5 combo boxes, Developers develop version 2. Here they replaced bottom 3 combo boxes with each other. While executing the Test script for version1 no errors. When we execute the Test script for version2 that QTP showing the error message "Object not identified" remember no property changed in version 2, ordinal identifier also disabled. Find what properties might change here in this scenario