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...

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


Please Help Members By Posting Answers For Below Questions

How to execute a winrunner script in quicktest professional (qtp)?

1004


What is quicktest professional?

1100


hai, i completed my b.tech in 2010 with 62.3%. i having knowledge on manual testing and Qtp. i want Relavent experience in testing.watever may be d salary i dont bother..I just want to gain knowledge. i dont have good communication skills.

1898


What is the extension of qtp local repository?

1061


What are the common defects found in your project? (in qtp interview)

2111


How many lines of code in each script of QTP?

4533


In the website, the protocol has been changed http: to https what you will do? Tell me your approach?

1070


Explain the types of object repositorys in qtp?

1157


Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..

1874


What is the difference between a Function and Procedure in QTP?

1263


How do you send email with attachment from outlook using qtp ?

1063


Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji

1442


Limitations in QTP?

2219


How do we analyze the checkpoint results?

1083


How will you test a keyboard?

1141