Hi Mukesh, with this video I have learned How to capture Screenshot. I am following your videos as you provided the links in your blog( Basic, Advanced). meanwhile, I am preparing interview questions topic wise. Thank you for sharing the resume template.
@Sandarshantv
8 жыл бұрын
about u r commitment on automation frame work... no words to say..... bt marvelllous, fantastic, beautiful... thank u so much mukesh.. keep it up
@Mukeshotwani
8 жыл бұрын
+satish narayana Thanks you Satish :)
@rajchaitanya2301
7 жыл бұрын
Superb explanation Mukesh... Crip n Clear !
@maurvikareddy7327
5 жыл бұрын
Thank you so much for your explanation.you clear my doubts in each and every line as well how to utilize the code in all the way.
@Mukeshotwani
5 жыл бұрын
Hi Aruna I am happy to read your comment. Keep learning.
@aasthachopra319
6 жыл бұрын
Wow.... Very clear and excellent explanation.. you saved me... Thank-you so much !!
@Mukeshotwani
6 жыл бұрын
HI Aastha thank you so much for such a nice comment.. It means a lot to me. Keep learning.
@TheSandy9764
7 жыл бұрын
Hi Mukesh, Thank you so much. Easy to understand all concept about how to take a screenshot. Thank you again. .
@prithadutta4699
7 жыл бұрын
Your video is so good. Thank you so much
@chandraSekhar-lx6he
8 жыл бұрын
Simply Awesome Mukesh. I like it very much. The way of presentation of subject is really good. Explaing the java concepts whever required in is very helpful. Thanks alot.
@Mukeshotwani
8 жыл бұрын
+chandra Sekhar Thank you Chamdra :)
@mithunj2112
6 жыл бұрын
ಸ್ಕ್ರೀನ್ ಶಾಟ್ ಮಾಡುವುದು ಹೇಗೆ.
@preetisharma5340
7 жыл бұрын
Thanks Mukesh for explaining it so clearly ....
@Mukeshotwani
7 жыл бұрын
Welcome Preeti Keep visiting. Happy Weekend.
@MrMadhur14g
8 жыл бұрын
Mukesh bhai,,,, just amazing... u r superv yaar.... hats off.... please keep uploading more n more videos.....god bless u...
@Mukeshotwani
8 жыл бұрын
+MrMadhur14g Hi Madhur thank you keep visiting and let me know if I can help you in Selenium
@rajanc1960
7 жыл бұрын
Your video is really very helpful. Superb :)
@sujitsrinivasan8696
7 жыл бұрын
Mukesh , did u have the video on how to get multiple Screen Shot and save it in a Word document which was request below???? i also need it
@shashikl2556
9 жыл бұрын
Thanks for this video, Nice explanation with more information, very helpful to interested people want learn own (online)... You are doing a great job!!! Keep going.....................................................
@Mukeshotwani
9 жыл бұрын
+Shashi Shashi Thanks Shashi
@balajivirupaksham4606
9 жыл бұрын
Detailed explanation Mukesh!! Good job
@Mukeshotwani
9 жыл бұрын
thank You
@Mukeshotwani
9 жыл бұрын
thank You
@Fahimkhan-by1qk
3 жыл бұрын
Hello Mukesh, Thank you for uploading all these resourceful video. I am having an issue which not able to get copyFileToDirectory(File srcFile, File destDir) for FileUtils class. What should I do? Note: my project is maven project and I have added commons-io plug in. Thanks in advance for any help.
@Mukeshotwani
3 жыл бұрын
HI Fahim, From Selenium 3.6 you can use FileHandler class learn-automation.com/how-to-use-filehandler-class-in-selenium-for-screenshot/
@Fahimkhan-by1qk
3 жыл бұрын
@@Mukeshotwani Got it. Thanks Mukesh.
@shibapoppli8913
8 жыл бұрын
very nice explanation....clear and crisp...!!
@Mukeshotwani
8 жыл бұрын
+Shiba Poppli thnks Shiba
@gowristla2334
8 жыл бұрын
Thank you for these videos Mukesh. I recently started learning Java and Selenium and your videos are proving to be very helpful for me.
@Mukeshotwani
8 жыл бұрын
Thanks Gowri :) keep watching
@roliapanna8097
5 жыл бұрын
Hi Mukesh. Thanks for your wonderful video .Can you help out out please .I am trying to do screenshot but is showing me error my code is below TakesScreenshot ts=(TakesScreenshot)driver; File src=ts.getScreenshotAs(OutputType.FILE); FileUtils. Dot is not working thanks
@misalar
8 жыл бұрын
Teaching method is really nice...keep it up
@Mukeshotwani
8 жыл бұрын
Thanks mate
@NPRBEST
5 жыл бұрын
This is the best tutorial I have found so far. Each word in the program has been explained with detail. Thank you very much sir for uploading this series.
@Mukeshotwani
5 жыл бұрын
Thank you so much Nayan 🙏
@surbhichawla9337
7 ай бұрын
Hi Mukesh, This is really helpful. I have one query : How do we take screenshot of a full page with scrolling?
@Mukeshotwani
7 ай бұрын
Hi Surbhi, did you get the solution for this?
@madhavianandchakravadhanul444
6 жыл бұрын
so nicely explained , i have to try out in practicals but very well explained .
@242424abhishek
7 жыл бұрын
Hi Mukesh it is a very owsm explanation. As u say in the last we can add a screenshot in the report so please send me the url of those video in which i can learn how can take screenshot in the report.
@siyarsahar9954
5 жыл бұрын
I love it. Now I got how to take screenshots. Thnx Mukesh!
@Mukeshotwani
5 жыл бұрын
Hi Siyar, you can also watch next video where we take screenshot whenever test fails learn-automation.com/how-to-capture-screenshot-for-failed-test-cases-in-selenium-webdriver/
@anilkashyap5953
5 жыл бұрын
FileUtils.copyFile() is not woking what to next in selenium 3
@syedalam4729
6 жыл бұрын
Hello Mukesh, I was wonder if you any any interview banks?
@PriyankaKush88
7 жыл бұрын
Useful video.......Thanks Mukesh :)
@vishnu1889
3 жыл бұрын
It worked for me. Thanks. import java.io.File; import java.io.IOException; import org.openqa.selenium.OutputType; import org.openqa.selenium.TakesScreenshot; File scrnshot = ((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE); FileHandler.copy(scrnshot, new File("folder structure" +driver.getTitle()+".png"));
@vyankateshbudharam9850
5 жыл бұрын
Short and best explanation ✌
@RamaDevi-re4tz
9 жыл бұрын
Hi Mukesh, Thanks for this video, very helpful... You are doing a great job!!! Thanks a lot..
@Mukeshotwani
9 жыл бұрын
+Rama Devi HI Rama thank you :) Keep watching.
@monicagoyal8225
3 жыл бұрын
Thanks alot for creating an easy to understand and precise video.I am new to java and selenium and am curious to know why we did not create a constructor and then passing Webdriver driver as a parameter while creating a liabrary?
@madhavimourya1157
7 жыл бұрын
Hi Mukesh, Your tutorials are really good and easy to understand. I am beginner in Selenium and with your tutorials I am to understand it well. I am facing the below issue while trying out for capturing SS: I created folder in project for captured screenhot same as given in vedio. But when double clicking it, the png file is not getting opened. Please help me ,what else need to do. Also, if I save screenhot in some other drivers ,the .png file is getting opened.
@Mukeshotwani
7 жыл бұрын
Hi Madhavi, yes if you want to open png file in Eclipse then right click on png file > Open with > System Editor or Web Browser.
@tammireddyprameela9690
4 жыл бұрын
Hi Mukesh, Can we do image comparision and text comparison on same image using selenium? If not what is the best tool with selenium to compare image and text on image
@Mukeshotwani
4 жыл бұрын
Hi Tammireddy, Selenium can capture screenshots only but using Tesseract OCR you can read images too kzitem.info/news/bejne/lnqnvW2BiV-ShKQ
@joshithagunasekaran7535
7 жыл бұрын
Hi Mukesh, Your videos are very neat. You are a great teacher. I can see your effort in bringing all scenarios into videos. Thank you so much for that. I am trying to take screen shot. I am able to take a screen shot. But when i try to open, the file, it is full of junk characters instead of screen shot. How to address this.
@Mukeshotwani
7 жыл бұрын
+GS Nunna Thanks Nunna 👌🏻🙏 right click on png file and open with web browser or system editor
@joshithagunasekaran7535
7 жыл бұрын
gotcha :-)
@SNEHASINGH-wq4mv
4 жыл бұрын
Mukesh can u please share complete details on assertions.and how we can use in our projects
@Mukeshotwani
4 жыл бұрын
HI Sneha, I have 2 videos on Assertion on my channel.Pleas check Assert and Soft Assert on my channel.
@snigshine4481
4 жыл бұрын
wonderful explanation thanks mukesh
@Mukeshotwani
4 жыл бұрын
You're most welcome Snig Shine
@risingsun2517
5 жыл бұрын
Thank you for this tutorial, very well explained.
@ElectricEssenceLtd
9 жыл бұрын
brilliant Job Mukesh!!
@Mukeshotwani
9 жыл бұрын
+aamir mushtaq Thanks :)
@rajatsrivastava2838
3 жыл бұрын
Thanks Mukesh ...nice explaination. I wanna ask u one thing that in my case I am using date and time to be kept as part of screenshot file name. Is there any other possible way to call screenshot method every time after each step. i dont want to call it after every step.
@Mukeshotwani
3 жыл бұрын
Yes Rajat, you can. You can use WebDriverListener.
@manishkohli9115
9 жыл бұрын
Hey Bud, I've just started learning automation. Could do basic stuff but you took my automation skills to the next level. Thank you so much. Can i please get a contact so i can get in touch if required? Manish
@Mukeshotwani
9 жыл бұрын
+Manish Kohli HI Manish thank you. I am glad you liked this. You can contact me anytime and you can get my details from my website. learn-automation.com/
@sagarshinde6033
6 жыл бұрын
Thanku sir Ur the best selenium guideline
@Mukeshotwani
6 жыл бұрын
Thanks Sagar Shinde :) Keep learning..
@aayushimukhija9657
6 жыл бұрын
Sir ur videos are really good and it helped me alot but i want to ask that how it is taking screenshot of full page even if its not showing full.page ......
@nayanaith
8 жыл бұрын
Thank you so much putting this much effort for this Mukesh. May God bless you..!
@Mukeshotwani
8 жыл бұрын
+Nayanajith Bandara Thank you so much Nayanajith Happy weekend.
@nagagsalka5371
9 жыл бұрын
Mukesh, thanks for "Interface" explanation............. I did not know, we can't create OBJECT for interface.
@Mukeshotwani
9 жыл бұрын
+Nagag Salka We can not create object of Interface because as per java until your class is not fully implemented we can not create object.
@manishchaudhari4690
5 жыл бұрын
Can you please help,how to take screenshots of entire page if page is huge and requires scrolling down?
@seemaahuja1750
7 жыл бұрын
Hi Mukesh, First of all Thanks a ton for the excellent vedios. I have been unable to view your vedios recently. I get Udemy ads infinitely and the learning vedio doesnt work. This is happening since last few days. Kindly help me if there is a solution to this.
@dayanidhibisoyi6908
8 жыл бұрын
i like it very much....nice vedio......keep it up ...........please share ......how we do data validation in webdriver......Thanks a lot
@Mukeshotwani
8 жыл бұрын
+dayanidhi bisoyi Hi Dayadihi, what do you mean by data validation? If you can explain in brief then I can help you.
@PrasannaLakshmi74
7 жыл бұрын
Hi Mukesh, This is a good tutorial to understand how to capture screen shots using selenium web driver. But, I am finding the error when I run teh same code that you show on your video, I am not using TestNG but java.
@fabiocardoso2513
7 жыл бұрын
Hi, Mukesh. I've just subscribed your channel. I'm a beginner in automation too.. I'd like to know if you have any tip or if you know free courses or tutorials that could lead me to learn and improve my knowledge... (through your channel too.. which vid in specific to start?). Thanks in advance.
@vikiviky1122
9 жыл бұрын
Very nice Video. Nice job Mukesh,
@Mukeshotwani
9 жыл бұрын
Viki Viky tnnx Viky
@vikiviky1122
9 жыл бұрын
Hey mukesh, just a quick question- If my program is running in multiple data , lets say i have 5 userid's and password for facebook login , how would i take screenshot for all instances, if my program is common for all datas
@Mukeshotwani
9 жыл бұрын
Viki Viky just after ur test call screenshot method (lib which we created)
@Mukeshotwani
9 жыл бұрын
thanks
@adarshrahangan9559
7 жыл бұрын
Hi Mukesh, I am getting this error in FAILURE EXCEPTION "java.io.IOException: Source 'C:\Users\Adarsh\AppData\Local\Temp\screenshot5434601471001346629.png' exists but is not a directory" after following the same steps in the first half of the video. Please help.
@bhagyashri109
8 жыл бұрын
It is really very helpful . Thanks Mukesh :)
@Mukeshotwani
8 жыл бұрын
thanx Bhagyshree keep visiting and let me know if any help required from my end
@stanu1159
6 жыл бұрын
U r explaining awesome sir step by step
@Mukeshotwani
6 жыл бұрын
Thanks Sandhya. For code and everything you can check below links learn-automation.com/how-to-capture-screenshot-in-selenium-webdriver/
@tasneemtechno4014
7 жыл бұрын
Hi Mukesh. Very informative tutorial. Can you please tell how we can avoid hard coding thing for chrome browser everytime?
@Mukeshotwani
7 жыл бұрын
Hi Tasneem, In MAC i follow below steps. learn-automation.com/firefox-browser-on-mac-using-selenium-webdriver/ For Windows you can put them in System env variables.
@rupapatil6682
5 жыл бұрын
Hi Mukesh, I have quick question about capture screenshot by using TestNG Listener , as we know if test case failed we need to take screen shot for sending report to developers to fix the specific issue. How can we do Draw Border or Change Color or Flash any specific Web Elements Failure with screenshot & send to developers by using TestNG Listener. Thanks
@staulik
4 жыл бұрын
First of all congrat for your work!!... I'm facing a problem, why the highlight do not appear in my screenshot??
@Mukeshotwani
4 жыл бұрын
Hi Silvio, highlight part is using JS so in screenshot it will not capture.
@aimran4310
6 жыл бұрын
Good Work Mukesh.. only one thing i replaced and it worked fine for my code FileHandler.copy(Source, new File("./ScreenShots/popup.png"));
@ankitagarwal9683
6 жыл бұрын
Hi Mukesh, Please provide the link in which you have explained to take screenshot and attach it to report
@manmits
8 жыл бұрын
Thank you Mukesh San. Your vids have been really helpful. For screenshots is there any way to get screenshot of complete scrollable webpage and not just the display area?
@Mukeshotwani
8 жыл бұрын
Hey manmit by default Selenium will take complete screenshot only :)
@littlevrinda6390
6 жыл бұрын
Thanks for this tutorial. I have just started learning selenium. I found FirePath is not working and i heard there is a better xpath tool ChroPath, could you please make tutorial for ChroPath tool. Thank you.
@shrikantkulal3106
8 жыл бұрын
hi mukesh.. im not able to use Utility library pls suggest me..when im using using Utility it shows red mark.
@raviahirwar6823
5 жыл бұрын
How can we take screenshots of application, when web page change and paste in word document? In my code it's replacing last one
@banasmikbehera1807
7 жыл бұрын
Hallo.. nice video. I want to know why we want libraries, in first step we can also take screenshot then why we can create utility for that????
@Mukeshotwani
7 жыл бұрын
We use or create library so that we can reuse them.
@banasmikbehera1807
7 жыл бұрын
thanks sir....
@vikram2294
7 жыл бұрын
Hello Mukesh, Which version of Selenium are we using in your tutorials?
@Mukeshotwani
7 жыл бұрын
2.53.1
@vikram2294
7 жыл бұрын
Mukesh otwani Is it very different from 3.0?
@onebeartoe
8 жыл бұрын
Good work, man! I watched this and some of your other videos; real good work. I am still trying to figure out if screen captures are possible with FirefoxDriver in headless mode.
@Mukeshotwani
8 жыл бұрын
Hi , I have worked on PhantomJS headless mode so I was able to capture screenshots. Just give a try with PhnatomJS
@onebeartoe
8 жыл бұрын
Alrighty then. Thanks again!
@malikah7145
3 жыл бұрын
Did you record yours codes in GITHUB?
@Mukeshotwani
3 жыл бұрын
Hi Malikah, try this from your end and let me know if you face any issue.
@pritigohil777
6 жыл бұрын
Good Explanation.
@GoldenApples_
7 жыл бұрын
Hi Mukesh, I tried to used in TestNG, be dnt knw where to get Utility library from, as it is not giving me autosuggestions for Utility.capturescreenshot??
@Mukeshotwani
7 жыл бұрын
Hi Richa, We have created our own library and used it, You can also create n number of the library which you can use to reuse the code.
@1987anupam
7 жыл бұрын
Hi Mukesh , i tried using the same code written by you but i am not able to use annotation. it is not providing the option of annotation after Writting @Test, plzz suggest what to do in that case to run using test ng
@pareshnit6499
7 жыл бұрын
Hi Mukesh, Thank u for uploading this video but doing same code but there is exception like Exception while taking screenshotDestination '.\Resources\BrowesrOpen.png' exists but is a directory so what to do
@Mukeshotwani
7 жыл бұрын
Hi Paresh, Please check the path again. Its path issue only. use below code ./yourlocalfoldername/screenshot name.png or you can give full path where you need to store the password like C:\\Folder\ ame.png or C:/Folder/name.png
@pareshnit6499
6 жыл бұрын
Thank u sir....
@03bca
6 жыл бұрын
Hi Mukesh, Great video..good work. I have a question on FileUtils method. I am not able to use it as it is not showing any suggestion. I have already added Apache POI lib to access commons methods, still no luck. Please suggest. Regards, Ritu Pathak
@Mukeshotwani
6 жыл бұрын
Hi Ritu, In Selenium latest version you won't get commons-io (for screenshot) so we need to add explicitly. Please try and let me know if still any issue commons-io commons-io 2.6
@03bca
6 жыл бұрын
Thank you, it is working fine now.
@tanyavohra1361
7 жыл бұрын
Hi Mukesh, After running the code, I am getting an error saying- "Invalid input: not a compareEditorInput", But I am getting proper output saying "Screenshot captured".
@kshipra4504
3 жыл бұрын
Which is better way-- capture screenshots in AfterMethod annotation or with listeners?? And, why??
@Mukeshotwani
3 жыл бұрын
Hi Kshipra, you can use both. Depends on your requirement you can use any of them. You can use extent report with listeners.
@satyayarlagadda3955
6 жыл бұрын
Hi Mukesh, If we want particular part of screenshot in webpage then what is the solution ????
@laxmirukka3028
8 жыл бұрын
hi, did you check in the code any where? i am looking forward to compare the images. if possible pls share the details thanks
@Mukeshotwani
8 жыл бұрын
+Laxmi Rukka Hi Laxmi, its possible in Sikuli. PLease have a look to Sikuli.
@greengobis
7 жыл бұрын
Hi Mukesh, While taking screenshot of a static page, I am getting the screenshot perfectly in a drive(D or E) but coming as text although it has .png or .jpg extension in the folder created under a project. Can you please explain this issue. Thanks, Debi
@Mukeshotwani
7 жыл бұрын
+Debiprasad Panda right click open as system editor
@greengobis
7 жыл бұрын
Yes it opened...but i have to go for such a step always then... It was not there in your case. Can you please help me here
@rupalisharma5303
7 жыл бұрын
Hi Mukesh, I tried the same thing but output type file i am not able to find its showing all the functions related to output but file is not there. So can you please help me that where i am wrong here : TakesScreenshot ts =(TakesScreenshot)driver; File source= ts.getScreenshotAs(org.openqa.selenium.OutputType);
@tanyavohra1361
8 жыл бұрын
Hello Mukesh, I have a question. As you said we cannot create object of an interface. But here, WebDriver is also an interface and the object has been created (WebDriver driver = new FirefoxDriver). Can you pls assist here?
@Mukeshotwani
8 жыл бұрын
Hi Tanya, Yes so we are creating object of FirefoxDriver and keeping reference only in WebDriver. I have uploaded video on interface as well so you can visit that too. Kindly check and let me know if still any doubt. kzitem.info/news/bejne/l3uom6R_fpukln4&feature=autoshare
@theundisputedera6969
7 жыл бұрын
Hi I want to know about the procedure how to take screenshots using listener. Could you guide me plz.
@Mukeshotwani
7 жыл бұрын
Hi Deba, I have explained the same concept in blog kindly check and implement the same learn-automation.com/what-is-listeners-in-selenium-webdriver/
@annetnancy3791
6 жыл бұрын
Hi Mukesh, From where we need to import FileUtil class ?
@sunilk.c5367
8 жыл бұрын
Excellent tutorial,, very easy to understand. Can you send me link of screen shot for failed test cases?
@Mukeshotwani
8 жыл бұрын
Thanks Sunil I have another video for this kindly check.
@sunilk.c5367
8 жыл бұрын
Thank you Mukesh
@Mukeshotwani
8 жыл бұрын
Welcome Sunil
@sunilk.c5367
8 жыл бұрын
It was really awesome teaching.. Kindly let me where can I find for the validation of pages or links or data with this use of Page Object Model? I mean do we need to validate in test case or java class?
@Mukeshotwani
8 жыл бұрын
You can validate in Pages. Kindly refer my page object model video
@bachelorkitchen7583
7 жыл бұрын
Hi Mukesh, Is it possible to automate siebel application using Selenium. I work on siebel application.As of now i do manually. Thanks.
@Mukeshotwani
7 жыл бұрын
+KHEL KHEL MEIN not sure because not tried till yet. If it is on web then yes we can do that
@kishore76dhaka
4 жыл бұрын
Excellent
@Mukeshotwani
4 жыл бұрын
Thanks Towhid
@anand_kanekal
7 жыл бұрын
Can you tell me why the eclipse didn't give an error while mentioning the screenshot path? It should accept \\(Double slash) in String, right?
@Mukeshotwani
7 жыл бұрын
Hi Anand, Java supports both / and \\ so it should not give any error.
@pavp3528
8 жыл бұрын
Thanks for the video Mukesh. it was very helpful . I have some issue in viewing images. can you able to help me with that. I selected Preferences > General > Editors > File Associations and added Assosciated editor specifying external program as PNG IMAGE.But I still see my eclipse displaying png file as text file. when i go back and check my assosciated editor i dont see the one which i added. Can you help me with this. (I am using eclipse mars version)
@Mukeshotwani
8 жыл бұрын
Hi Pav, It should open ideally but anyways you can check all screenshot in local drive.
@alanortiz4
7 жыл бұрын
Hi Mukesh, Could you please post video on How to get multiple Screen Shot and save it in a Word document im a beginner tester, and I need to capture all the process of a web app, i need your help
@Mukeshotwani
7 жыл бұрын
is this a requirement or you just exploring this.
@alanortiz4
7 жыл бұрын
Is a requirement, I need to take multiple screen shot of every page and save it in a Word file
@nagagsalka5371
8 жыл бұрын
Super.....................
@Mukeshotwani
8 жыл бұрын
thnx
@shashank5025
4 жыл бұрын
Hi when i write code to launh any browser under one method, taking screenshots in another method, code to fetch data from excel sheet under another method ....the code is not getting executed,,,, y is this happening? Plz help me,,,,, do i need to write everything under main method only??
@sagarnaidu1421
7 жыл бұрын
Hi Mukesh, Your videos and lecture made me an excellent in selenium...Thnq so much for dat.... nd when i am executing the code i am getting the following error..Screenshot is not saving.Kindly let me know the reason..and i have given correct path and same as u shown in the video.. print error messageSource 'C:\Users\User\AppData\Local\Temp\screenshot2444359392721246754.png' exists but is not a directory
@Mukeshotwani
7 жыл бұрын
Hi Sagar, Send program to mukeshotwani@learn-automation.com I will look into it.
@sagarnaidu1421
7 жыл бұрын
Sure Mukesh and thanx for dat...
@maniratnampatchigolla419
8 жыл бұрын
hi mukesh can you please tell me how to capture the partial/selected portion of image as a screen shot.
@Mukeshotwani
8 жыл бұрын
Hi Mani, Below post will guide you for the same www.software-testing-tutorials-automation.com/2015/01/how-to-capture-element-screenshot-using.html
@sukaminijoshi9716
6 жыл бұрын
Hi Mukesh, could you please also tell how to capture all the screenshots of a particular test case merged in a single pdf file??
@asisharavind655
6 жыл бұрын
Hi Mukesh. I’m unable to find the FileUtils class. How do I need to download it? Please help
@Mukeshotwani
6 жыл бұрын
Hi Asish, In Selenium new versions this package does not come. You can add them separately commons-io commons-io 2.4
@НикольКузнецова-ъ5з
7 жыл бұрын
Hi! Mukesh, how can I make a screenshot of full-page by selenium 3?
@arunaarao
8 жыл бұрын
very helpful.Thanks
@Mukeshotwani
8 жыл бұрын
Welcome Aruna. Keep visiting.
@hinatasharingan8546
5 жыл бұрын
Sir FileUtils.copyFile() is not working in selenium 3.141 version And i also tried FileHandler.copy() but copy() is not working ...??? What to do sir please help..
@Mukeshotwani
5 жыл бұрын
Hi Hanata, can you please share the code with exception or error which you are getting? Just now I tried before replying and its working for me.
@chandanmahato4841
8 жыл бұрын
hi mukesh 1st of all thanks for this... If my project contain lots of screenshots(jpeg, png ,jpg files), then our system performance will be down, what is the resolution for this..?
@Mukeshotwani
8 жыл бұрын
Hi Chandan, I would prefer .png file which takes less space.
@faissrizz
7 жыл бұрын
Superb!!!
@abdulnawas
7 жыл бұрын
Hi Mukesh, how can i take screenshot using RemoteWebDriver?
@kousalyamariappan2492
7 жыл бұрын
Thank you so much sir. it was quite helpful. But I'm getting this warning "WARNING: Process refused to die after 10 seconds, and couldn't taskkill it java.lang.NullPointerException: Unable to find executable for: taskkill". Kindly help me with it.
@abhachhabra2762
4 жыл бұрын
How can we do File source=ts.getScreenshotAs(OutputType.FILE).source is an object or variable?how can object store a file
@Mukeshotwani
4 жыл бұрын
source is just a reference variable, you can name it anything like xyz, abc. In next statement we need to use this variable and store screenshot in local disk. Use FileHandler class as well for storing screenshot learn-automation.com/how-to-use-filehandler-class-in-selenium-for-screenshot/
@abhachhabra2762
4 жыл бұрын
Thakyou so much bye
@sunilkanaujia5206
7 жыл бұрын
Mukesh how we can take pop up window screen shot ? can you please help me ?
Пікірлер: 325