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   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
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
Syntax for how to call one script from another? and Syntax 
to call one "Action" in another?
 Question Submitted By :: Nataraj
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Syntax for how to call one script from another? and Syntax to call one "Action" in another?
Answer
# 1
If u want to call the script from one action to another then 
the below syntax used
 suppose u have created a test1 ,in that you have created 
the all steps for action1.and you have created a 
action2 .now you want to call your script from action 
 
runaction "action1(test1)iteration1"


 
Is This Answer Correct ?    0 Yes 0 No
Brahma Reddy
 
  Re: Syntax for how to call one script from another? and Syntax to call one "Action" in another?
Answer
# 2
suppose If you created a Script1 for Reusable  functions 
and say you have another Script2, Script3, etc....
First Open A new Script and click on Insert > call to 
existing action (browse for your script1)and click  
OK.Then,  again click on Insert >Call to Copy of action 
>and  browse for your script2 and click OK........this way 
you can call one script from another......It's a Batch mode.
 
Is This Answer Correct ?    0 Yes 0 No
Aaa
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
If a object property is changed in the application. where it should be updated in QTP... Pls anybody can give the answer.. Thanks in advance... Navis1
What is output value?  2
how qtp handles customised object  1
Could someone explain me how to work on Out put values, explain with some example on Flight Reservation. I want to insert the out put value for the order No. Please explain the steps with some example.  2
please tell me how to identify the index of the link in the web table .links are not constant.example i want to click the link in the inbox ,search the item and click the partcular mail.(mail links count is not constant)  1
What is the maximum size of Object Repository in QTP 8.2? Mphasis4
what type of test cases tou will automate? Google2
How to Parameterize Object repository in QTP?  4
explain keyword driven framework? Mindlance2
what is defination of regression testing?  2
pls help me with scripting,right from the beginning in QTP  1
How to change the screen name while running the test. TCS3
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
How should i get name of the screen? Ex:There is a "submit" button.If i clicked on the submit button it opens a screen. I want that screen name.How can i get that screen name I dont have any property regarding that screen. If suppose we cliked on the screen , Then QTP captures the screen properties then i can get the screen name by using GETROPROPERTY But i want the screen name without clicking the screen. ("I am using the "settoproperty" for Second screen by using fist screen properties") Please tell me anyone Livetek2
how we connect oracle or sql data server database to qtp. Hi Ram I was your answer for this. Can you kindly let me know in details steps on How we can connect to database. i am using QTP9.2 and SQL Server Database. I am new for QTP and this would be of great help.Thanks  2
How to handle dynamic objects in QTP?  3
how to add run-time parameter to a datasheet? Ordain-Solutions1
wt is the xtension of the QTP result view file?  4
Hi Friends ,I want to Know name of the Site for the QTP Help and the Best Book through that I can start the QTP Practice here also whare can I download the QTP Users Guide I search I was Unable .  2
Older version QTP is 8.2 and New version QTP is 9.2. My question is, Why it is QTP 9.2, why not 8.3,8.4 .... why it is not something ?  1
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

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