Explain the planning and creating datapool with an example?
Answer / ravikanth.m
Creating a Datapool
A datapool is a test dataset, a collection of related data
records which supplies realistic data values to the
variables in a test script during test script playback.
You can create data from scratch or import existing data
into a new datapool from another Functional Test datapool,
an IBM Rational TestManager datapool, or a .csv file.
Prerequisites:
When you import data, you must import the data into the
same Functional Test project as the test scripts that
access the data.
If you want to import data from a TestManager datapool, you
must first associate a Functional Test project with a
Rational project to use the TestManager datapool.
To create a datapool:
Click Create a Test Datapool ().
Take one of the following steps:
For Functional Test, Java Scripting:
Either type the path to the folder you want or use the
navigation tools (Home , Back , and Go Into ) to select the
path.
Type the name of the new datapool.
If you create the Functional Test project in a ClearCase
directory, optionally, select Add the datapool to ClearCase.
Take one of the following steps:
To create an empty datapool, if there is a filename in the
Import From list, select the filename and delete it, and
then click Finish.
To import data into the datapool, click Next, and then go
to step 4.
For Functional Test, VB.NET Scripting:
Type the name of the new datapool.
Either type the path to the folder you want or click Browse
to browse to the path and folder.
Click Open.
If you create the Functional Test project in a ClearCase
VOB, you can add the datapool to ClearCase after you create
it.
Take one of the following steps:
To create an empty datapool, if there is a filename in the
Import From list, select the filename and delete it, and
then click Finish.
To import data into the datapool, go to the next step.
To import data from a Functional Test or IBM Rational
TestManager datapool, or from a .csv file take one of the
following steps:
To import a .csv file:
Type the path and filename of an existing .csv file, click
the Import From arrow to select from a list of ten recently
imported files, or click Browse to select the path and
filename.
Type one to three field separator characters to use in the
file you want to import.
Functional Test must use the same field separator character
as the one used in the .csv file from which you are
importing data. If you are not sure which field separator
characters to specify, use a text editor to open the .csv
file and see the field separator characters that are used.
Select First Record is Variable Information to make the
first row of the imported data, the header of a new
datapool.
If you clear First Record is Variable Information, the
first record in the .csv file is imported as data and the
headers use the default headers, such as data0, data1, etc.
First Record is Variable Information is unavailable if the
file you select to import is not a .csv file or not a
TestManager file.
To import a Functional Test datapool, take one of the
following steps:
Click the Import From arrow to display a list of ten
recently imported files, and then select a Functional Test
datapool from the list.
Type the path and filename of an existing Functional Test
datapool.
Click Browse to select the path and filename of an existing
Functional Test Datapool.
To import a TestManager (TM) datapool, click Browse TM to
select the path and filename of the TestManager datapool
you want to import. Functional Test automatically extracts
the header information from the associated TestManager .spc
file.
Click Finish.
A new datapool appears.
Is This Answer Correct ? | 1 Yes | 0 No |
Explain Robot?s command line options?
What is the purpose of comparators in analyzing the results?
Explain the use of "testobject root = getroottestobject();" in rft?
Where the datapool column names are stored?
How many verification points are there in Robot and What are they?
How will you test Java Applications and what settings you need to do?
How to do data driven testing using robot?
how to insert clipboard verification point
Hi all when you run your scripts, all the corresponding bugs can be loged in to Quality Center (or any bug tracking tool), when you have a connection between both the tools. obviously one is being a BUG TRACKING and TEST MANAGEMENT TOOL (QC) and the next is a TESTING TOOL (QTP). my question is that....being both are different tools how can you establish a connection. As you connect your Monitor with CPU by some cables. ns_prasad21@yahoo.co.in
Where the datapool values are stored?
Initially Recorded: 7/31/00 2:33:02 PM Script Name: COSC 198 Exam Script Sub Main Sets the delay between execution lines to the default value SetTime 100 This Dimensions an integer variable for use in this script Dim Result As Integer StartApplication "notepad" 'This sets the window context to the Notepad window Window SetContext, "Caption={* - Notepad}", "" 'Test Case to verify the text is correct Result = EditBoxVP (CompareText, "ObjectIndex=1", "VP=Text Verification;Type=CaseSensitive") Observe the code mentioned and answer the below questions 1. Which language it is :- a. SQA Basic b. VB c. C like Language d. TSL 2. Type of the script is ---------- a. VU b. VB c. GUI d. C 3. Explain what the above line ( StartApplication "notepad" ) actually does? a) It starts the notepad application. b) We do not have to open it from the start menu, c) it is opened itself from the robot by using the start application by providing the path to it. 4. Which Verification point is inserted? Result = EditBoxVP (CompareText, "ObjectIndex=1", "VP=Text Verification;Type=CaseSensitive") a. Alphanumeric b. Object Properties c. Window Image d. Object Data
What is the purpose of the Trap options?