Interview Questions

How to edit a datapoolís column definitions while in Robot?

Rational Robot FAQ


(Continued from previous question...)

How to edit a datapoolís column definitions while in Robot?

  1. If the script that will access the datapool is not open for editing, click File > Open > Test Script to open it.
  2. Click Edit > Datapool Information to open the Configure Datapool in Test Script dialog box.
  3. Either accept the defaults in the Configure Datapool in Test Script dialog box, or make any appropriate changes.
  4. When finished making any changes, click Save.
  5. Click Edit Specification to open the Datapool Specification dialog box, where you update datapool column definitions.
  6. To insert one or more new columns into the datapool file:
    a. Click the row located either just before or just after the location where you want to insert the new datapool column.
    An arrow appears next to the name of the datapool row you clicked. b. Click either Insert before or Insert after, depending on where you want to insert the datapool column.
    c. Type a name for the new datapool column (40 characters maximum).
    Make sure there is a script variable of the same name listed in the Configure Datapool in Test Script dialog box. Case of the names must match.
  7. When finished modifying datapool columns, type a number in the No. of records to generate field. If a different row has to be retrieved with each fetch, make sure the datapool has at least as many rows as the number of users (and user iterations) that will be requesting rows at runtime.
  8. Click Generate Data.
    You cannot generate data for a datapool that has more than 150 columns. Alternatively, if you do not want to generate any data now, click Save to save your datapool column definitions, and then click Close.
  9. Optionally, click Yes to see a brief summary of the generated data.

(Continued on next question...)

Other Interview Questions