peshwanth vummity (
vpes...@gmail.com) wrote:
>
> I am using Robot Framework 2.7.7 (Python 2.7 on win32)
Wow, that's an ancient version. I hope your project has plans to
upgrade soon. Unfortunately there have been several backwards
incompatible changes after 2.7.7 and upgrading directly to the latest
version may not be easy. I'd recommend you to upgrade first to 2.8.x
('x' referring to the latest version in that series), then to 2.9.x,
than to 3.0.x and finally to 3.1.x. Biggest changes are probably those
related to variables in RF 2.9. Anyway, the only way to learn about
the problems is trying out and reading release notes in detail. Good
luck!
The DateTime module you have installed is most likely this:
https://pypi.org/project/DateTime/. It's a legacy module related to
Zope and isn't related to Robot Framework at all. As Tatu already
commented, Robot's own DateTime library is included in RF 2.8 and
newer. You could try extracting it from newer version and using with
RF 2.7.7 but I got a feeling that it uses internal APIs not available
in that version. Probably easier to upgrade.
Cheers,
.peke
--
Agile Tester/Developer/Consultant ::
http://eliga.fi
Lead Developer of Robot Framework ::
http://robotframework.org