Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How we can call the scripit from another scripit in
QTP?,Not a call Action

Answers were Sorted based on User's Feedback



How we can call the scripit from another scripit in QTP?,Not a call Action..

Answer / pavithra

Make a function for the script. use the execute file ()
METHOD, CALL THE FUNCTION IN UR SCRIPT

Is This Answer Correct ?    8 Yes 2 No

How we can call the scripit from another scripit in QTP?,Not a call Action..

Answer / uday kumar. a

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 ?    5 Yes 3 No

How we can call the scripit from another scripit in QTP?,Not a call Action..

Answer / mohan

Use method RunAction

Is This Answer Correct ?    2 Yes 1 No

How we can call the scripit from another scripit in QTP?,Not a call Action..

Answer / jdev

I am executing the below statement from a new test, say test2.
RunAction "Action1[test1]",oneIteration

This was failing. Is it required to mention the complete
path [absolute path]? Suppose if I have 2 tests with the
same name located in two different locations. Ho does
RunAction identify whicj test to pick.

Is This Answer Correct ?    0 Yes 0 No

How we can call the scripit from another scripit in QTP?,Not a call Action..

Answer / srik

You can run multiple scripts from a vbs file though.

Is This Answer Correct ?    0 Yes 0 No

How we can call the scripit from another scripit in QTP?,Not a call Action..

Answer / krishna teja muppalla

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 1 No

How we can call the scripit from another scripit in QTP?,Not a call Action..

Answer / s

Krishna,Ur answer is confusing.. Pls b clear when u post
the answers

Is This Answer Correct ?    0 Yes 1 No

How we can call the scripit from another scripit in QTP?,Not a call Action..

Answer / micky

Pavithra is absolutely correct.

Is This Answer Correct ?    0 Yes 1 No

How we can call the scripit from another scripit in QTP?,Not a call Action..

Answer / satya

Pavithra , is correct.

Is This Answer Correct ?    0 Yes 1 No

How we can call the scripit from another scripit in QTP?,Not a call Action..

Answer / nanda

I agree with Pavitra..

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

How many types of recording modes in qtp?

0 Answers  


How do you handle XML exceptions in QTP (Here it is Exception, not the checkpoint)

2 Answers   CFC, CTS,


We have an action attached with the library file in QTP. When I will click on run button,which file is going to be executed first a)Action b)Library

1 Answers  


can any body give the banking domain concepts/links

0 Answers  


can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks

0 Answers   iFocus,


Explain about reusable actions?

2 Answers  


How to create scenario selector

0 Answers  


To which environments does QTP supports ?

1 Answers  


What is operator in VB Script?

1 Answers   IBM,


how can i use text check point in descriptive programming. or else is there any way to compare the text in the application and the text in data table.

2 Answers  


How to invoke QTP through VBscript?Send me full code along with description of the code.Thanks in Advance

1 Answers   Capco,


how to get no.of non empty rows in a excel sheet through vb-script

2 Answers   HP,


Categories