ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
How we can call the scripit from another scripit in 
QTP?,Not a call Action
 Question Submitted By :: Jai
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How we can call the scripit from another scripit in QTP?,Not a call Action
Answer
# 1
Use method RunAction
 
Is This Answer Correct ?    1 Yes 0 No
Mohan
 
  Re: How we can call the scripit from another scripit in QTP?,Not a call Action
Answer
# 2
Such an option is not available in QTP so far.
 
Is This Answer Correct ?    0 Yes 3 No
Mercy
 
 
 
  Re: How we can call the scripit from another scripit in QTP?,Not a call Action
Answer
# 3
By default, if u create a Test in QTP, means u r creating 
one action for that test. So if u call for another test 
means u need to call the action on that test.
Here is the example : Say u have created "test1". So all 
the steops for the test is created with "Action1".
Now u have created another test "test2" and want to call 
the test1. Here u need to call by using,

RunAction "Action1[test1]",oneIteration.

By using this u can call the test1 script. There is no 
other way than this.
 
Is This Answer Correct ?    1 Yes 0 No
Uday Kumar. A
 
  Re: How we can call the scripit from another scripit in QTP?,Not a call Action
Answer
# 4
Make a function for the script. use the execute file () 
METHOD, CALL THE FUNCTION IN UR SCRIPT
 
Is This Answer Correct ?    1 Yes 0 No
Pavithra
 
  Re: How we can call the scripit from another scripit in QTP?,Not a call Action
Answer
# 5
We cannot call an other script in an other script. This 
could be done provided the script is shared as an shared 
library file.

Reusable actions can be used but it takes a long time for 
executing the script
 
Is This Answer Correct ?    0 Yes 1 No
Allwyn
 
  Re: How we can call the scripit from another scripit in QTP?,Not a call Action
Answer
# 6
I agree with Pavitra..
 
Is This Answer Correct ?    0 Yes 0 No
Nanda
 
  Re: How we can call the scripit from another scripit in QTP?,Not a call Action
Answer
# 7
I support Uday Kumar.

What we have to do is in insert call to action options we
have to select call to existing action. fro example if we
want to call 1st action from 2nd action, we have to give
from test as 1. here we need to give relative path.

as we are calling 1st from 2nd, first of all 1st test should
be executed. so, at 1st line we have to insert from current
option.

remaining part is easy

any corrections please...
 
Is This Answer Correct ?    0 Yes 0 No
Krishna Teja Muppalla
 
  Re: How we can call the scripit from another scripit in QTP?,Not a call Action
Answer
# 8
Krishna,Ur answer is confusing.. Pls b clear when u post 
the answers
 
Is This Answer Correct ?    0 Yes 0 No
S
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
Explain what the difference between Shared Repository and Per_Action Repository  2
WE ARE PLANING TO DESIGN AUTOMATION FRAME WORK. HOW TO CALL CONFIGURATION SCRIPT FILE(.VBS) FROM DRIVE SCRIPT FILE(.VBS)  1
In automation testing, while doing descriptive programing; how will u get the properties of the objects in what format, what type of a document, and by whom? Pls explain in detail. Thanks a lot Quest1
how to get childobject from .net application. i tried but its showing child object count zero. but window has child objects.the following script i written... pls help me how to get. set parent=SwfWindow("winodw name") CheckObjectDescription parent, SwfButton Public Function CheckObjectDescription(parent, oDesc) Set oDesc = Description.Create() oDesc("micClass:").Value ="Swfbutton" Set children = parent.ChildObjects(oDesc) cntObj=children.count msgbox(cntObj) End function  1
can some one help me how to compare the values from one sheet to values in another sheet? suposse i have a feild called Temp in action1 and i also have temp in action2. i want to compare the values of those two actions sheets data table? how can i do it using descriptive programming?  1
from where we will retrieve data for data driven tests in qtp?  3
what r advance features u had done in QTP? HCL2
how to capture data from images in QTP and produce them in excel sheet?  2
Hi All I am installing QTP 8.0/8.2 in my office desktop (WIN XP) but it is not working. Inspite Installion is succesfully done but when i open qtp from programs it opens only first screen of add-in and after that it disappears. But in my other computer at home (winxp) it is working fine. Can you please give the reason, why it is not working in office desktop. DEEPAK SINGH Satyam4
results.xls file is automatically generated while running the script in QTP.But it is showing error to open the file  1
How to export(copy) the entire webtable from the webpage into Excelsheet? using Vb scripting  9
How to handle Dynamically changing Objects in QTP?  4
When there is descriptive programming, why do we go for Object repository for desigining scripts.?? why cant we use descriptive programming instead of using the Object repository..?? DST-Global-Solutions2
How can I pass values from one action to another in QTP ? Ordain-Solutions6
write is the code for regular expression in QTP IBM1
What is the difference between QTP 8.2 and QTP 9.2  1
can we take 'dim my pen is good' as a paramerter  2
While scripting do we use any reference. may be we have 2 0r more same objects that time how do we write scripts  2
How to invoke Mozilla from QTP thru VB Script  1
What are the main attributes of test automation?  2
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com