It's all about the answers!

Ask a question

How to use data column in test scripts


Vijay Sivashankar (111317) | asked Jul 21 '11, 12:36 p.m.
We have test scripts where we need to specify different data for each step.

E.g)

Procedure Data Expected Result
Login User = A Logged in
Log Out
Login User = B Login Failure. User doesn't have access.

How can I put the User information to login in each step?
I wasn't able to add a new column and I am not sure how the Test Data Drop can be used for each steps.

One answer



permanent link
Pramod Chandoria (2.1k11220) | answered Jul 21 '11, 2:30 p.m.
JAZZ DEVELOPER
Hi S Sivasha,
I am assuming you are aware of how to create test data.
The next steps it to associate the testdate to manual script
Once association is done, while editing a step description or expected result, you actually can insert a testdata column. To do that click on the position where you want to insert testdata column in the text.
Then from the toolbar click icon for datapool column, it will display all available column for the test data, choose one of the column and it will be inserted into script.

Besides testdata, you would also like to explore execution variables in v301
These variables can be defined at testcase, testsuit and test script level with or without default value. You can have a step in manual script to set value of the variable. This is a good practice when you need to enter dynamic data at runtime like Order Number, and information to be shared between tests of a test suite execution, or between main script and child keyword scripts.

-|- Pramod K Chandoria

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.