I am automating the test Using python and selenium i want to log the test flow . Any suggested plugins or methods to logging ?
Asked
Active
Viewed 101 times
0
-
You can use the module `logging` from python and set a path wherever you'd like the log file written to. – vpibano Jan 06 '17 at 09:54
-
ok .it will log the flow of the test-case? @PetIbaño – arun kumar Jan 06 '17 at 09:56
-
Manually, yes. Try this one http://stackoverflow.com/a/20112491/7265539 – vpibano Jan 06 '17 at 09:59
-
There are two answers there actually. Feel free to choose what suits you. – vpibano Jan 06 '17 at 10:00
-
Read this too for setting your log file path http://stackoverflow.com/a/13999647/7265539 – vpibano Jan 06 '17 at 10:01
-
For more info, take this reference https://docs.python.org/2/howto/logging.html – vpibano Jan 06 '17 at 10:19