How to make arguments optional in a function?
Answer Posted / sushma
Suppose there is alogin window in the user name we can type
any thing but while running its giving som eerror we can
avoid tht error actually
so, we can make tht tsl as an optional so tht if an error
occurs it countinues but not stop
for example
Optional.Dialog("Login").WinEdit("Name:").Set "ssss"
these line make an optional now
| Is This Answer Correct ? | 1 Yes | 7 No |
Post New Answer View All Answers
What is parameter in qtp?
how can i call function (which has link with excell sheet at a remote location) within another function
What is throw Object?
after initiating one project for testing, when exacltly QTP tester role starts?
How you can decide which type of object repository you have to use?
Explain different types of checkpoints?
how to find that tools work well with ur existing system?
I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?
What is the diff between image and bitmap check point?
Explain how Does Run time data (Parameterization) is handled in QTP?
What is the file extension of the code file and object repository file in QTP?
How QTP support all types of applications (platforms)?
1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP
How many types of actions are there in quicktest professional?
Which scripting language used by quicktest professional?