Forum Discussion

lcraig's avatar
lcraig
Occasional Contributor
15 years ago

Driver by name in in keyword testing

I've run into a circumstance where I would like to run two different DDT drivers (ADO and CSV) in the same keyword script. I see in the help menu where it describes how to assign driver names, but I'm not sure how to implement this in a keyword test. Should I replace the call object method with a code snippet? The Using 'DDT Drivers' help section has examples, but they seem to suggest a user is using more than one test script. Can two drivers be used in the same script?



thanks for the help

~Logan

1 Reply

  • Hi Logan,


    You can use multiple DDT drivers in a single script unit, just store the drivers in different script variables.


    BTW, please note that data-driven testing is a rather complex task which can be accomplished only via scripts. I recommend that you convert your keyword-driven test which needs to use the DDT approach to a script routine - this will make the resulting test more clear and easier to understand.