mercredi 26 février 2020

CodedUI test logs in .txt file

currently i am working in CodedUI testing to record test cases for calculator. i want logs for codedUI testing so that i can get all the steps i have performed during course of my testing like click button 2 ,click button add. i got these logs in html format but i want them in .txt format so that i can perform futhur processing. For that i have tried log4net and it is creating external txt file and storing but only those statements that we hard quote by writing log.debug("click 2 button");. i want that each time i run test case it automatically write log without explicit stating like it is doing in HTML case. My code loaction enter image description herehttps://github.com/Afsah-k/CodedUI-testing.please if anyone can help. i have add picture of my html CodedUI tescase log.

Aucun commentaire:

Enregistrer un commentaire