It's all about the answers!

Ask a question

How do Test Data and Keyword work together (at TCER)?


Taly Hotimsky (2714657) | asked May 08 '15, 4:05 p.m.
edited May 10 '15, 7:22 p.m.
Can someone help me understand how Test Data and Keywords should work together?

Given a scenario where a Test Script steps are
Keyword 1 - associated to Test Data A
Step
Keyword 2 - associated to Test Data B

Sometimes when the Execution Record is generated the data columns are correctly replaced by the data variables.
At others, however, the Execution Record is generated with the data column names (not values).
I still couldn't figure out why it works at times and doesn't at others.

I thought maybe I should associated the Data then at the "end" Script, but as I can only associate 1 TS - 1 TD, it doesn't allow for the scenario I described above.

(By the way, this is on RQM 5.0.2)

Comments
Taly Hotimsky commented May 11 '15, 8:57 p.m. | edited May 11 '15, 8:57 p.m.

I found this help reference that tells me I cannot have the scenario described above, with two different Test Data sets referenced.
http://www-01.ibm.com/support/knowledgecenter/SSR27Q_5.0.2/com.ibm.rational.test.qm.doc/topics/c_data_into_kw.html

Am I approaching this the wrong way? Or does this architecture really cripples the extent to which Keywords and Test Data can be used together?

One answer



-1
permanent link
Subhajit Bhuiya (6222) | answered May 14 '15, 9:02 a.m.
JAZZ DEVELOPER
Parent script and the keyword script should use the same test data

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.