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 |
What expansion of "MIC" in MICPASS (TEST ReportPAGE)
How to explain a banking project in interview as a test engineer???
in order to start automation testing what we should require (entry level to automation testing)
can any one say that where we can download the QTP trail version ??????????
What is keyword view in qtp?
How to insert screenshot on to the body of outlook? -1 how to use insert-picture tab in new email outlook to insert image in the body. Suggest something.......
what to do if application have 3 "ok" button with same logical name and same properties, how qtp can identify them.
suppose i opened 6browsers and i want re-open the 4browser what is code for this..pls help me..
WHAT IS PARAMITARIZATION?
in qtp how i can retrive from a browser how many links are there.means total no of links used in a browser
Explain about Standard output value, Text output value, database o/p value, Xml O/p value, Xm o/p Value
Can you tell me QTP is support for GIS(Geography Information System) Based Software.