Forum Discussion
From what I've seen of Keyword Tests, that's the one drawback. They're not always the easiest things to edit. You can't do a global search and replace like you could in standard JScript/VBScript code, and I don't know if the Global search even searches through the Keyword Tests. I've viewed Keyword Tests like Record-AnD-Playback scripting: good to see how things work, but I don't like using them for real development.
- Nformation11 years agoContributor
will_fetherolf, So do you manage your test suites completely in scripts? If so, I need to decide if I should do that, too... having scripts calling scripts would be easier to refactor, but not as easy to read. It stinks that we have to make these tradeoffs with TestComplete.
- will_fetherolf11 years agoContributor
I've been using TestComplete since version 2, so I use what's familiar to me. I was on a project where someone had been using Keyword tests prior to me coming onboard with that project, and I found where I had to edit Keyword Tests cumbersome, and sometimes I ended up converting the Keyword Tests to script and abandoning the Keyword Tests just so I could work with them easier.
If it were me, and I was starting from the ground up, I would not use Keyword Tests at all. I know there are some people out there who find them useful, but I do not. When I've looked at the Keyword Tests, they are merely a GUI skin on top of JScript or VBScript. This GUI skin makes them difficult (for me) to work with. YMMV.
- Marsha_R11 years ago
Champion Level 3
Keyword tests are very useful for testers who aren't also programmers at some level. I have found that scripts run faster and more reliably. Right now we are using both, but at my previous shop, we used scripts exclusively. Depends on what you need.