Forum Discussion
Unfortunately, I don't use keyword testing. I prefer scripting as it allows me to have more control in what I want to do.
I no longer use project variables, as it can get too messy to maintain.
In your case, you could try storing the version number into a variable and then verifying the contents like e.g. "Version: " + Project.Variables.Version. Keep project variables to a minimum.
Or ask yourself, is it absolutely necessary to verify that particular content!?
Thanks. I appreciate the feedback on keyword testing vs. scripting. I've been wondering about switching to using python even though we have testers with not much coding. In our other GUI test tool, it is almost all python code. The recorder generates python. And tool options like click and wait are described in terms of function calls. In TestComplete, I am still trying to figure out when I need code to get something done.
Any feedback on code vs keyword tests? Things you do in code that are difficult in keyword tests?
Related Content
- 8 months agosinis