how can i add an action(external action) programmatically?

Answers were Sorted based on User's Feedback



how can i add an action(external action) programmatically?..

Answer / nandan

While recording Qtp by default one action will create.

if suppose we want one action as external action then first
we need to make it that action as reusable action..

And when we called that reusable action for next test that
is known as "external action".

but by default QTP 9.5 onwards...QTP generates every action
as reusable..when ever we require that reusable action we
can call it by using the option call to existing action in
insert menu item.

i think so there is no programing for this..we have direct
provisions for creating reusable actions..while calling
some how we need driver script.

if am wrong please correct me.

Is This Answer Correct ?    0 Yes 0 No

how can i add an action(external action) programmatically?..

Answer / ramakrishna

new test

Is This Answer Correct ?    0 Yes 4 No

how can i add an action(external action) programmatically?..

Answer / chowdhury

u can split an action. In keyword view figureout where to
split it.

if u wanna call a reusable action then click call to action
and add that action.

Is This Answer Correct ?    1 Yes 5 No

Post New Answer

More QTP Interview Questions

when i add the items to the repositry, the item is loading is "winmenu", but wn i write the script the tool is not able to recognise the item, i know that we need to define the mandatory or assitive properties here, but i am confused wt i need to difine here and on wt basis i need to select the properties and define it, can any one help me out on this.

0 Answers  


Can we test the Word Document using QTP Tool? We should test the page size,page set up, paragraph indentation and spacing, font size of the the character int the page.

1 Answers  


I want to run my qtp scipt on the system where qtp is not installed .I don't want to install qtp but i want that system should use the qtp from another system in lan just the qtp instance should be launched on that system without having qtp installed on it .I probably know the solution that it will be solved through RMI but how to get this problem solved plz help i anyone know the answer

4 Answers   Cimcon,


When it be decided to go for either Per - Action or Shared?

2 Answers  


How you can replace string in qtp?

0 Answers  






I am Facing Issues with learing datepicker 1)when i first learn datepicker as current system date . 2)if i wanna runtime datepicker value it gives error

0 Answers  


How to export quicktest professional results to an .xls file?

0 Answers  


wht is Manual Testing Frame work. Pls anybody can give appropriate answers

0 Answers   Satyam,


Brief the process of testing with UFT?

0 Answers  


I got some information from the QTP help.But i am not sure whether through this process will QTP work or not bellow is the Help what I have Remote setup Settings Remote WSH, which is a new technology included in WSH 5.6, provides the ability to run a script on a remote machine or machines. With Remote WSH, the script is physically copied from the local machine to the remote machine before executing. In order to enable Remote WSH functionality, you must first set up the remote machine with the proper security settings. The steps below perform the tasks that enable Remote WSH. Note Both the remote and local machines must be running Windows NT 4 SP3 or greater in order to use Remote WSH. To enable a machine to run remote scripts 1. Install WSH V5.6 on the machine. If you are using Windows 2001 or have installed Internet Explorer 6 or greater, WSH 5.6 has already been installed. Note WSH 5.6 is available for download from the web at http://msdn.microsoft.com/scripting 2. Add yourself to the remote machine's Local Administrators group. 3. To enable Remote WSH, use Poledit.exe on the server. Note An administrator who wants to enable Remote WSH must either acquire the Windows 2000 resource kit, or use http://msdn.microsoft.com/scripting to acquire the necessary windowsscript.adm file that contains the WSH settings. The windowsscript.adm file must be copied to the server that sets the gapplicabel group's policies. Although it is not necessary to copy the file to the server's \WINNT\INF directory, this is nonetheless where the default adm files are located. Note For more information on Poledit.exe, see the Poledit.exe's online help system. 4. WSH should now be enabled on the machine. To test it,. WSH 5.6 can run scripts that reside on remote systems. The following scripts demonstrate this capability. These scripts make the assumption that the files are located on a local machine directory called "c:\wsh5.6"; change the local path and the remote machine name as necessary. After initially running RemoteTest.WSF on the local machine, there may be a small pause as DCOM verifies your identity. After you see the "Done" message, a file named "c:\beenhere.txt" on the remote machine indicates the time that you executed the command (from the remote computer's clock). Script to run scripts remotely set oController = CreateObject("WSHController") set oProcess= oController.CreateScript("c:\wsh5.6\beenhere.wsf","remmachine") oProcess. Execute Could you tell me will it work fine

0 Answers   Livetek,


Wht are the BY default Add-ins in QTP 9.2 version and what all are differences between 8.2 and 9.2

2 Answers   Siemens,


in qtp wha t is synchronisatin pt,what is the maximam time out

3 Answers  


Categories