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
How to do call a output parameter from one action to another action??/
What is difference between Recording time object identification and Run time (Execution) time.
What are the common defects found in your project? (in qtp interview)
In order to select an automation tool for automating ur application, what r the things u need to consider? For eg i will go for automation; 1) When there is a lot of retesting and regression testing. 2) Return on investments. 3) Whether the tool supports the appln. 4)--------------, etc. Pls give me more number of points because my answer did not satisfy the interviewer. Very urgent pls
What is the difference between the design-time and run-time data tables?
How will you check a web application for broken links using qtp?
what is the latest version of QTP? Main difference between 9.2 and 10 version
What is the meaning Work bench?
What is the differences between image check point and bit map check point?
1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.
please any one can explain the keyword driven framework. with gmail example.
Where we can use the synchronization?
The structure of keyword driven frame work is like a folder structure the different sub folder are 1-functional libray folder 2-object repository folder 3- database folder 4-appliction1.xls 5-initalzation vbs file 6-sequence file 7-driver script 8-test case list file My question is whether these are in a local server machine or in our pc.((whether It like Vss). can u give example of driver script(code)
Print the Prime numbers in below format only up to 20(Need commas also) 1,2,3,5,7,9,11,13,17,19
How do client side image and server side image work?