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 qtpro? What is quick test pro?
supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?
How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?
What is fragmentation and paging?
How to handle the exceptions using the recovery scenario manager in qtp?
What is qtp window?
Write a script to verify font style and color of a windows object using descriptive programming
How you can find length of array in qtp?
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
What is the difference between qtp and selenium?
What is action?
how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps
What is the architecture of your project? Can any one answer for this question plz........
What is the difference between byref and byval in qtp?
what is ODC and GDC?