Write Assert fail differences to Excel or text file, Selenium C#

0 votes
I am using selenium  with C#

I have Number of asserts in my test case, is there a way i can write the assert fail to a file, text file or excel.

Lets say assert fails, I want  the actual and expected to  automatically written in the Excel.

Any help will be appreciated
Feb 27 in Software Testing by Etl
• 160 points
37 views
Hey, why don't use the logging feature of TestNG? It's very easy to generate your own reports with TestNG with Listeners and Reporters

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Software Testing

+1 vote
1 answer

How to find Predicate String and IOS Class chain through Xpath in Appium IOS Platform. ?

https://github.com/facebookarchive/WebDriverAgent/wiki/Class-Chain-Q ...READ MORE

answered Dec 2, 2019 in Software Testing by anonymous
420 views
0 votes
0 answers

who creates blocks in JIRA product owner, client or tester

who creates blocks in JIRA product owner, ...READ MORE

Jul 3, 2019 in Software Testing by anonymous
60 views
0 votes
1 answer

Is automation testing black-box testing or white-box testing?

You might have got confused because of ...READ MORE

answered Aug 7, 2019 in Software Testing by Archana
• 5,600 points
360 views
+3 votes
0 answers

How to scroll up and down in Protractor?

I have a scroll bar inside Window. ...READ MORE

Feb 3 in Software Testing by Ingridd
• 150 points
68 views
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,510 points
2,187 views
0 votes
1 answer
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,870 points
1,813 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,870 points
1,793 views