C# Specflow Playwright - My lead want me to update the test case result in the excel sheet after the feature file is executed. So in her excel sheet, she has given an unique tag (tag: test name) to each test case which I will add in each scenario (in the feature file) and once the feature file is executed. She is expecting to update the excel sheet with Pass/Fail result for all test name tags. I know how to write script in BDD but never integrated excel sheet with BDD scenario. So any help on above requirement is much appreciated.
How to update BDD feature file scenario result (Pass/Fail) in the excel sheet based on any tags?
103 Views Asked by Prateek Kumar At
1
There are 1 best solutions below
Related Questions in C#
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
- gcc static library compilation
- How to do a case-insensitive string comparison?
- C programming: Create and write 2D array of files as function
- How to read a file then store to array and then print?
- Function timeouts in C and thread
Related Questions in BDD
- Behat doesn't load extensions?
- How can i keep my database clean between my scenarios?
- How do I test array element types using BDD Javascript?
- Is there a way to create a custom cucumber formatter that prints the Given, When and Then steps
- Behat / Mink error Snippets for the following steps not generated
- Unit Test Adapter threw exception: Object must implement IConvertible..in BDD specflow framework
- Instantiating PageObject instances from within Cucumber StepDefinitions
- SpecFlow Ambiguity in bindings
- Socket.IO server not receiving message from client
- In “Given-When-Then” style BDD tests, is it OK to have multiple “When”s conjoined with an “And”?
- How can we validate tabular data in robot framework?
- Simple Spec That Validates_Associated
- Providing Examples in more than 1 row Specflow
- Cucumber Testing, Counting Page Elements
- .settings not working 'mocha' in Microsoft Visual Studio Code on Windows
Related Questions in SPECFLOW
- Clean Up after Canceling tests
- How to make step argument dependent on configuration?
- Specflow Testing
- SpecFlow Table.CreateInstance returns null
- Specflow Given When Then BUT?
- SpecFlow and Selenium-Share data between different step definitions or classes
- Why are my tests failing when run on the build server?
- SpecFlow Ambiguity in bindings
- Multiple Scope value in Binding (Specflow)
- SpecFlow - Execute ScenarioOutline from Visual Studio Context Menu
- Providing Examples in more than 1 row Specflow
- parallel execution in nunit for bdd test cases
- Passing arrays of variable in specflow
- Specflow/Gherkin: How to handle bad data
- Repeat scenarios for different examples
Related Questions in PLAYWRIGHT
- Playwright + CodeceptJS - Unable to find element by Xpath
- How to capture dynamic content from element inside an iFrame?
- Creating a local PDF file in Azure Function Linux consumption plan with Microsoft Playwright
- Heroku cannot find Playwright files
- What is a good way to make screenshot tests with Playwright?
- Add cookies in playwright test
- How to select inner text of cousin using puppeteer
- How to open the new tab using Playwright (ex. click the button to open the new section in a new tab)
- playwright-python advanced setup
- Using Playwright for Python, how do I select (or find) an element?
- Cant require playwright
- Get current page url with Playwright Automation tool?
- Can I use await page.click(element) to click on a very specific part of that element using playwright
- Using Playwright for Python, how do I select an option from a drop down list?
- switch tabs in playwright test
Related Questions in PLAYWRIGHT-DOTNET
- How to wait for HTML Element replacement in Playwright
- Integration test locking up on transaction
- Playwright equivalent for JavaScript's "closest" function
- Retrieve list of all the elements on a page
- Race condition in Playwright .NET during click-to-navigate with WaitForURLAsync
- Playwright C# - Handling Common Components and Their Actions
- Playwright - Locator for routerlink
- PlayWright Wait for second response
- Running Playwright dotnet tests on Azure DevOps
- NUnit Playwright - Multiple inheritance BaseTests and PageTest
- How to check page in new tab in Playwright (C#)
- Microsoft.Playwright.PlaywrightException : unable to verify the first certificate Using Playwright C# While connecting Moon
- System.TimeoutException : Timeout 30000ms exceeded Playwright with .net 5 core application
- How to click a "type=submit" button in Playright
- Microsoft Playwright for .NET NUnit, cant launch tests in headed mode
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
So you need 2 things
You can do this like below in AfterScenario , so after each scenario is executed we will pass its tags and result to update function which will open the excel sheet and update it.
if your test cases are run in parallel , you can try using below. Save all tags / result in a csv etc.
once all tests are run.. you can call the function which can write it to excel