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...


when there is a task that gets repeated in multiple scripts
what do you do in QTP?

Answers were Sorted based on User's Feedback



when there is a task that gets repeated in multiple scripts what do you do in QTP?..

Answer / radhika

use it as reusable actions

Is This Answer Correct ?    2 Yes 0 No

when there is a task that gets repeated in multiple scripts what do you do in QTP?..

Answer / chaitu

Here you want to repeate the multiple scripts in Qtp, So
definately you can for Keyword Driven Frame Work


Here Generally All testscripts are converted into functions
put in separate fold , when we want that script in midle of
the main script we can call that functions like

Executefile"path of the .vbsfile"
Call FunctionName()

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More QTP Interview Questions

For Passing Parameters from one Action to another Action we will use Input & Output parameters. Can any one tell how to use this Input & Output parameters with Example ?

2 Answers   TCS,


1) How will you associate SOR in Runtime? ( u had written 10 lines of code from 11th line u want associate what code u will write) 2) How will close n number of browser expect only one which is has to test? ( First tell me how will you identify how many browser are opened ) what logic u will use? 3) In web Table u want to click on link ( Link Name Mohamed ) you dont know in which row and column that link is there. how wil u identify and click on that link.

2 Answers  


What is use of Global Sync Timeouts in QTP9.2?

2 Answers  


How is UFT 11.5 version different from UFT 12.0?

0 Answers  


Among all the check points what is the most important checkpoint?

1 Answers  


how to associate object repository during runtime in qtp

1 Answers   Deloitte,


How many ways we can parameterize data in QTP?

1 Answers   Crea,


I used the below code to open QTP through VBscript?But i can unable to Invoke QTP...PLZ help me with the correct code to invoke QTP through VBS with description of the code aswell. Dim qtApp 'As QuickTest.Application 'Declare the Application object variable Dim qtTest 'As QuickTest.Test 'Declare a Test object variable Dim qtResultsOpt 'Declare a Run Results Options object variable Set qtApp = CreateObject("QuickTest.Application") 'Create the Application object qtApp.Launch 'Start QuickTest qtApp.Visible = False 'Make the QuickTest application visible qtApp.Open "C:\form", True 'Open the test in read-only mode 'set run settings for the test Set qtTest = qtApp.Test qtTest.Run 'Run the test 'WScript.StdOut.Write "Status is: " & qtTest.LastRunResults.Status 'Check the results of the test run qtTest.Close 'Close the test qtApp.quit 'Close QuickTest Pro Set qtResultsOpt = Nothing 'Release the Run Results Options object Set qtTest = Nothing 'Release the Test object Set qtApp = Nothing 'Release the Application object

0 Answers   ADITI,


if the excel sheet specified in script is not there,we get run time error how to handle the error ,please anybody explain me in detail

2 Answers   Quinnox,


we are submitting data one form to another form.defaultly it is time period set as 5sec. but it is taken 15sec what to do

5 Answers   Covansys,


write a VBscript code to parametrize test script using test data from sqlserver database?

2 Answers   IBM, Polaris,


What are Test case selection criteria for Automation?

2 Answers  


Categories