How to make arguments optional in a function?

Answer Posted / subbu

In QTP we dont use "Optional" keyword just like in VB.
But work around is use Dictionary object. It is just like
multi dimension arrays.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans

1714


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

675


What is reusable action?

691


How many types of status are there?

681


I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .

1818






Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?

1613


hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]

1552


can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com

1859


In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.

1538


What are the differences between quicktest professional and winrunner?

613


What is the diff between image and bitmap check point?

681


Is the qtp course will help to create a virtual object?

1612


How to use output values in qtp ?

640


What is Unicode Compatibility?

1545


how will load the object during runtime?

1672