How to make arguments optional in a function?
Answer Posted / ramchandra patil
Hi Narendra,
Good question!
See basically QTP does not support optional arguments but u
can achieve this with following ways-
1. You can pass NULL or Empty values
2. By using dictionary object
I am agree with Subbu...
@Meenu we use optional in front of statement if we wanted
to execute the statement at some criteria..we never use
Optional keyword while passing arguments to function...n I
think narendras question is related to function...
hey guys let me know if I am wrong with valid solution and
please do post if u know any other way..
Thanks in Advance..
Ramchandra
9699851282
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Where to use Property Let, Property Get, Property Set in UFT
How to save your test using quicktest professional (qtp)?
What are the views available in quicktest professional?
hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com
How do you do batch testing in wr & is it possible to do in qtp, if so explain?
In qtp is it possible to check broken links of a page?
when u script reveiwing in which area u more concentrates?
what are the critical test cases in crm? tell me atleast 5 critical test cases? what are the critical bug u find out while testing crm domain?
How to open a new test using quicktest professional?
How do you handle multiple banners(at the top the page, the banner is scrolling) in a web page(Dont take the name property(regular expression))
How can you identify the browser and its information using the qtp script?
how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)
Tell some commonly used Excel VBA functions?
how to know no.of mails in our g mail by using vb-script
how to disable the pop ups through QTP using a script