Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



How to set the function parameters as optional. Pls anybody can give the answer.. Thanks in adva..

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

How to set the function parameters as optional. Pls anybody can give the answer.. Thanks in adva..

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

Post New Answer

More QTP Interview Questions

What is object spy in quicktest professional?

0 Answers  


1. What is extense of Result file in QTP?

7 Answers  


What is difference between Recording time object identification and Run time (Execution) time.

0 Answers   Tech Mahindra,


QTP9.1 does not support to text checkpoint in Windows application? Is this correct? If this is correct, what is alternative for Text checkpoint?

2 Answers  


How to capture screenshots of Exceptions/Errors during run- time?

12 Answers   Ordain Solutions,


Got job with 3 years fake Experience

1 Answers   MNC,


How many types of object repository in qtp?

0 Answers  


How will u test content of an web application with out using chechpoints in QTP 9.2?

3 Answers   CTS,


give me the code for check point for validating application

1 Answers  


How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..

0 Answers  


Differentiate the type of test cases which can be automated and which cannot be automated?

0 Answers  


how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?

0 Answers   IBM,


Categories