adspace


How to make arguments optional in a function?

Answer Posted / ashwin

Ramya you are wrong.
We can make arguments optional by writing it as two square
brackets [].
ex: Function Test(ival,sval,[<optional>])
'logic here
end function

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods

2027


How can you identify the browser and its information using QTP script?

1096


what kind of frame work you used in your last project?

2420


how to use the regular expression for the below code-- swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:56" There is a tree view window of the folder's ie Medication- >Pharmacy(sub folder)with 56 as count of records...The records can be different or if no records present in the specific folder..then it show "Paharmacy:-no records".Whe i record at the first time .....and try to rerun the same script with different records count say "pharmacy:800"..qtp is not regnizing it...therefore i want to user regular expression..but donot now how to use it and where to use...i have tried.... swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:\*"..but it s of no use..plz help..me

3018


Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)

2566


Hi friends did any budy attend accenture system test for qtp? if any budy pls drop questions.not only accenture any other mnc company which you attended system test(QTP)?it may helpful to others also

2406


Hybrid framework supports Descriptive programming. Is it true?

1245


can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process

1878


I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?

1307


hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com

1948


Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in

2090


any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in

3958


can anyone tell me from where i can download qtp demo or crack version

2090


Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B

3457


What is the registration process and examination fees?

1177