@@automateNow will follow you for learning new things..thanks for sharing these knowledge..
@automateNow3 жыл бұрын
My pleasure. Thank you for your support!
@benkosmarcus3 ай бұрын
Good video, can I do the same with playwright?
@yogeshlad773 жыл бұрын
Hi sir can you tell how to add picture in Excel file? using NPOI
@automateNow3 жыл бұрын
Hi Yogesh. At the moment, I'm not doing .NET-type videos since there isn't a lot of demand for them. But I'll keep you request in mind for future videos. Have a look here in case it helps. www.codeproject.com/Articles/1241654/Export-to-Excel-using-NPOI-Csharp-and-WEB-API
@lokendernathmudiraj26683 жыл бұрын
Nice Video, I need help in adding screeenshots in word document one by one, I tried above code it getting old screenshot replaced with new screesnshot. Please help
@automateNow3 жыл бұрын
Hi Lokendernarh, thanks for your request. I'll update the source code on GitHub to meet your needs and let you know when you can try the new code.
@automateNow2 жыл бұрын
Hi Lokendernath, please see the latest video that answers your request. kzbin.info/www/bejne/jGe0g3iVmbN4bqs
@pratikbhowmik2 жыл бұрын
can you create a video on test driven development , but please make a video on how to integrate with utility class so that the whole test driven development is generic
@automateNow2 жыл бұрын
Hi Pratik, thank you for your request. This channel mainly focuses on automated testing, but I'll take your request into consideration for future planning.
@VishalSingh-we6zx3 жыл бұрын
I am getting blank screenshots , Any help will be appreciated
@automateNow3 жыл бұрын
Hi Vishal. Are you using the source code from automateNow's GitHub page or are you using your own code?
@pabbureddy35673 жыл бұрын
I need help sir, recently I saw your ur video regarding to get screenshot when soft assertion fails, but my query is suppose if 2 soft assertion fails how can I get 2 screenshots in pom framework, currently am getting only one screenshot which is 2 nd assertion fail
@automateNow3 жыл бұрын
Hi Pabbu, thank you for your question. Here I am providing a link to where you can get the source code used in the video that you are referring to. If you run the same test that I use in the video, you will see that two screenshots are taken; one for each of the assertion failures. I hope this helps but please feel free to reach out if you are still having trouble. github.com/automatenow/general-webdriver
@shrach88 ай бұрын
I think you shoudlve explained the following code: TakeScreenshot screenshot = (TakeScreenshot) driver; File file = screenshot.getScreenshortAs(OutputType.FILE); a bit more in detail.
@automateNow5 ай бұрын
Here is an explanation of the code: TakeScreenshot screenshot = (TakeScreenshot) driver; = TakeScreenshot is an interface in Selenium that provides a method to capture a screenshot. This line of code casts the driver (which is an instance of WebDriver) to the TakeScreenshot interface. This allows you to use the getScreenshotAs method, which is not available directly through the WebDriver interface. File file = screenshot.getScreenshotAs(OutputType.FILE); = getScreenshotAs(OutputType.FILE) is a method of the TakeScreenshot interface that captures the current screenshot and stores it in a File object. OutputType.FILE specifies that the output of the screenshot should be in the form of a File. The method returns a File object that represents the screenshot captured.
@pabbureddy35673 жыл бұрын
HI sir, am getting error at line , Path screenshotsPath = Path.of("./failed_tests/"); especially error at text 'of', here is the error message - The method of(String) is undefined for the type Path, any idea? is this code works with only selenium 4 version
@pabbureddy35673 жыл бұрын
Sorry working fine now after some changes, thanks
@automateNow3 жыл бұрын
Thanks for letting me know Pabbu. I'll make sure the code is working properly.
@VishalSingh-we6zx3 жыл бұрын
@@pabbureddy3567 what changes have you made,since I am getting same issue
@automateNow3 жыл бұрын
Hi Vishal, what version of Java are you using? I'm using 17 and it's working fine.