How to pass parameters to Actions

Pls anybody can give the answer.. Thanks in advance...

Answers were Sorted based on User's Feedback



How to pass parameters to Actions Pls anybody can give the answer.. Thanks in advance.....

Answer / m.hemakumar

RunAction "ActionName",oneiteration,"inputparameter1","input
parameter2","outputparameter"

Note:
1)outputparameter is specified when called action returning
any value

Is This Answer Correct ?    1 Yes 1 No

How to pass parameters to Actions Pls anybody can give the answer.. Thanks in advance.....

Answer / akshar jain,automation test en

go to test settings there environment & add ur object name
type

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

where u maintain qtp scripts in ur company

4 Answers   HCL,


How do u insert an object during runtime in qtp?

2 Answers  


what is frame work?

2 Answers   Wipro,


What does ".mst" stands for? (abc.mst)

3 Answers   Infosys,


Hi Everybody, Can anybody please tell me the how to display the result of the QTP in the notepad text file rather than in the QTP result window. Suppose this is my simple script:WHich will open the notepad file and enter some text and then will change the font then will calculate how much time has been taken.Now, in this script i want to display the result in notepad file. Dim s Dim starttimer,endtimer,timeit s="uyetuywqtywqte" SystemUtil.Run "notepad","","Y:\","" Window("Notepad").WinEditor("Edit").Type micCtrlDwn + "s" + micCtrlUp Window("Notepad").Dialog("Save As").WinEdit("File name:").Set "test1" Window("Notepad").Dialog("Save As").WinEdit("File name:").Type micReturn Window("Notepad_3").Type s Window("Notepad_3").WinEditor("Edit").Type micCtrlDwn + "s" + micCtrlUp starttimer=timer Window("Notepad_3").WinMenu("Menu").Select "Format;Font..." Window("Notepad_3").Dialog("Font").WinEdit ("Font:").Type "cou" + micDwn Window("Notepad_3").Dialog("Font").WinComboBox ("Font:").Select "Courier" Window("Notepad_3").Dialog("Font").WinEdit ("Font:").Set "Courier" Window("Notepad_3").Dialog("Font").WinEdit("Font:").Type micReturn endtimer=timer timeit=endtimer-starttimer print(timeit) Please also tell me where the function for the text file result will be declared and where it should be called. Thanks, Gaytri

2 Answers  






what is Smart identification

1 Answers   Wipro,


What are SetToProperty, SetRoProperty, GetToProperty scripting?

2 Answers  


Hi, I Would Like to Know which is the Best QTP Certification Training Institute in Hyd? Thanks in Advance kishan

1 Answers  


In descriptive programming how we know the properties of the objects, if application is not developed and the prototype of the application is also not developed.

1 Answers  


Write a code check the checkbox in the web table which is in the 4th row and fifth column (Use child item concept)

2 Answers   FIS, Wipro,


What is the keyword view and expert view in qtp?

0 Answers  


Question:how many types of repositories in QTP9.2?and explain??

3 Answers  


Categories