How to set the function parameters as optional.
Pls anybody can give the answer.. Thanks in advance...
Answer Posted / 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 |
Post New Answer View All Answers
What kind of performance is expected on the client side (e.g., how fast should pages appear, how fast should animations, applets, etc. load and run)?
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))
What is an object repository?
What are table and db checkpoints?
what is error and fault in terms of software quality?
How to Upgrade or support firefox 2.0 version on QTP 9.0? I have installed QTP 9.0 and installed firefox 2.0. But in REcord and Run Settings, it shows firefox 1.5 in Web tab for browser selection.
why should we give deliver good quality software?
What is meant by a Check Point in UFT? Also, explain the applicable Check Points.
Explain about the quicktest professional (qtp) automation object model?
How u will do versioning in QTP?
what are the utilities and drivers
Explain types of descriptive programming?
What is the difference between the design-time and run-time data tables?
How to break the object spy ?
How many types of recording facility are available in quicktest professional?