How to set the function parameters as optional.
Pls anybody can give the answer.. Thanks in advance...
Answers were Sorted based on User's Feedback
Answer / uday kumar_anem
As far as i am aware, there is no keyword for optional
parameters in VBScripts.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / saroj
In function parameter you can't use optional option. But
you can mark the statements inside the function as optional
by putting keyword "OptionalStep" before the statement.
ex:
Function login(name,passwd)
OptionalStep.Brw("login").Webedit("name").set name
Brw("login").Webedit("passwd").set passwd
Brw("login").Webbutton("ok").click
End Function
This may help you.
Is This Answer Correct ? | 0 Yes | 0 No |
Does UNIX support QTP? If not what is the other tool used for Unix environment?
anyone can explain about "Hybrid framework" in QTP
How does qtp recognize objects in aut?
DIFFERENT RUN MODE IN QTP..1-VERIFY MODE 2-UPDATE MODE 3- dEBUG MODE. My question is in whic sitution we use these modes Explain me with example
when do we write a script in qtp?(plz give me more then 2 reasons)
please tell me how to identify the index of the link in the web table .links are not constant.example i want to click the link in the inbox ,search the item and click the partcular mail.(mail links count is not constant)
Can u tell me example for virtual objects?
On the website, the protocol has been changed https: to https what you will do? Tell me your approach?
Can we do server automation by QTP? If you have any helpful links ,pls post it. Thanks Uma
Can abody explain me Send keys concept
How can we see the analog recording steps in QTP..the Steps are stored in a track file with an extension .dat..how can we open the file..
What are the different types of functions available in qtp and explain ?