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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

if numbers are always changing write a script for that

3391


If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?

1434


unique properties of button,edit box, radio button,check box?

3822


I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.

1301


What are the views available in qtp?

584






What is a programmatic description?

599


What ate the Technologies supported by QTP?

645


Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?

1487


What is the basic concept of quicktest professional?

534


Describe synchronization point.

578


What is QTP and the use of QTP in TD?

600


how will load the object during runtime?

1579


I had installed QTP 9.2. It is working fine but whenever I open QTP, it is trying to reinstall the below-mentioned files again and again "QTP92PS82UPGRADE.exe", "recogn.dll". If anybody has these files, please provide those files in this site or you can send that files to my mail id also (lravi4u@yahoo.com). If you don't know where the files will be in the QTP, search in the QTP software CD or path of QTP program installed (C:\Program Files\Mercury Interactive\QuickTest Professional)

1459


Explain how qtp identifies object?

609


How is test case write?

574