adspace


How does you pass optional arguments in qtp?

Answer Posted / Lokesh Jangpangi

To pass optional arguments in QTP, you can use the 'Parameter' keyword while defining the action. During the call to the action, you can provide the optional arguments as values for these parameters. For example: Parameterizing Action LoginAction (username As String, password As String). You can call this action with optional arguments like Call LoginAction "john" "password".n

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

2327


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

2081


Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.

3424


Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?

2188


what is actually contain test report? can anybody post the test report

2095


What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.

2220


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

3951


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

2017


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

1943


Pls can anybody send me the Recent Technical and Interview Questions Which were asked in IBM(QTP)Automation PLZZZZZZZZZ

2114


When to use shared and local object repository?

1162


any body can you help me what is the script to automate an comand promt

2570


Can you brief the hurdles you faced during Automation testing?

1140


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?

1301


How software tester can use constants and variables in scripts?

2345