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 can i call reusable action in a function
could any one explain me?
 Question Submitted By :: Rayudu
I also faced this Question!!     Rank Answer Posted By  
 
  Re: how can i call reusable action in a function could any one explain me?
Answer
# 1
by using if then else statements...

for example...

public function cal_action(strdata)

if strdata = "" then

runAction "Action1[test1]",OneIteration

else

RunAction "Action1[test2]",OneIteration

else if

Close function

Like this....we can call

If any queries..

nanda.dreddy@gmail.com
 
Is This Answer Correct ?    0 Yes 0 No
Nanda
 
  Re: how can i call reusable action in a function could any one explain me?
Answer
# 2
insert ->call to->existing action
 
Is This Answer Correct ?    0 Yes 1 No
Mohammad
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
How to create a Runtime property for an object in QTP?  4
Suppose u write test case in Excel sheet . how u open that test case in Test Director? Ordain-Solutions3
Where are the snapshots stored?  2
Which scripting language QTP is using?  6
give the code to count child objects (Total) in the page  1
Does we use Classes and methods in realtime..?How wud we access methods in a class..?Thanq Guys..!  2
How to map the test cases to requirements in QC? IBM2
How we can merge the object repositories?say if we have 2 or 3 object repositories then how we can merge them?Is there any option in QTP to merge the object repositories?  2
What is API Satyam1
anyone can explain about "Smart Identification" in QTP I mean what is the use of "Smart Identification" Give an example  2
In my script there is a link(e.g. 'My Page') when I execute the script sometimes(not every time) QTP throws an error that "My Page(as link)" not found. Pleaase tell me where I need to update  2
What is the differnce between action & script  1
Which property do you use to retrieve or assign data into a cell in a Data Table object?  1
What is the difference betweent test and component?  1
How can i open 5 multiple browser at once through QTP VB script and i want to login with 5 different credentials i already tried with this code but its entering credentials only for first browser and am using datatable to parameterize  1
What does it mean when a check point is in red color? what do u do?  1
wt is automation framework? give explonation? Mindlance1
if i want to check text on the status bar how to test is i need the report also after getting the result weather it is matched or not?  2
How will you handle the situation when object is not captured during record? AZTEC8
Plz explain about InTERNAl Environment variable, External environment variable,builtin environment variables with examples? TCS1
 
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