How to Capture Screenshot in Selenium Webdriver

Поделиться
HTML-код
  • Опубликовано: 25 ноя 2024

Комментарии • 325

  • @naveenkommineni6101
    @naveenkommineni6101 4 года назад +1

    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.

  • @rajchaitanya2301
    @rajchaitanya2301 7 лет назад +1

    Superb explanation Mukesh... Crip n Clear !

  • @maurvikareddy7327
    @maurvikareddy7327 5 лет назад +3

    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
      @Mukeshotwani  5 лет назад

      Hi Aruna I am happy to read your comment. Keep learning.

  • @vishnu1889
    @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"));

  • @aasthachopra319
    @aasthachopra319 6 лет назад +2

    Wow.... Very clear and excellent explanation.. you saved me... Thank-you so much !!

    • @Mukeshotwani
      @Mukeshotwani  6 лет назад

      HI Aastha thank you so much for such a nice comment.. It means a lot to me. Keep learning.

  • @prithadutta4699
    @prithadutta4699 7 лет назад +1

    Your video is so good. Thank you so much

  • @TheSandy9764
    @TheSandy9764 7 лет назад

    Hi Mukesh,
    Thank you so much. Easy to understand all concept about how to take a screenshot. Thank you again.
    .

  • @Sandarshantv
    @Sandarshantv 9 лет назад +1

    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
      @Mukeshotwani  9 лет назад

      +satish narayana Thanks you Satish :)

  • @preetisharma5340
    @preetisharma5340 7 лет назад +1

    Thanks Mukesh for explaining it so clearly ....

    • @Mukeshotwani
      @Mukeshotwani  7 лет назад

      Welcome Preeti Keep visiting. Happy Weekend.

  • @madhavianandchakravadhanul444
    @madhavianandchakravadhanul444 6 лет назад

    so nicely explained , i have to try out in practicals but very well explained .

  • @NPRBEST
    @NPRBEST 5 лет назад +1

    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.

  • @gowristla2334
    @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.

  • @rajanc1960
    @rajanc1960 7 лет назад +1

    Your video is really very helpful. Superb :)

  • @shashikl2556
    @shashikl2556 9 лет назад +1

    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.....................................................

  • @shibapoppli8913
    @shibapoppli8913 8 лет назад

    very nice explanation....clear and crisp...!!

  • @PriyankaKush88
    @PriyankaKush88 7 лет назад +1

    Useful video.......Thanks Mukesh :)

  • @misalar
    @misalar 8 лет назад

    Teaching method is really nice...keep it up

  • @MrMadhur14g
    @MrMadhur14g 8 лет назад

    Mukesh bhai,,,, just amazing... u r superv yaar.... hats off.... please keep uploading more n more videos.....god bless u...

    • @Mukeshotwani
      @Mukeshotwani  8 лет назад

      +MrMadhur14g Hi Madhur thank you keep visiting and let me know if I can help you in Selenium

  • @snigshine4481
    @snigshine4481 4 года назад +1

    wonderful explanation thanks mukesh

  • @vyankateshbudharam9850
    @vyankateshbudharam9850 5 лет назад +1

    Short and best explanation ✌

  • @balajivirupaksham4606
    @balajivirupaksham4606 9 лет назад

    Detailed explanation Mukesh!! Good job

  • @siyarsahar9954
    @siyarsahar9954 5 лет назад +1

    I love it. Now I got how to take screenshots. Thnx Mukesh!

    • @Mukeshotwani
      @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
      @anilkashyap5953 5 лет назад

      FileUtils.copyFile() is not woking what to next in selenium 3

  • @chandraSekhar-lx6he
    @chandraSekhar-lx6he 9 лет назад +1

    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
      @Mukeshotwani  9 лет назад

      +chandra Sekhar Thank you Chamdra :)

    • @mithunj2112
      @mithunj2112 6 лет назад

      ಸ್ಕ್ರೀನ್ ಶಾಟ್ ಮಾಡುವುದು ಹೇಗೆ.

  • @242424abhishek
    @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.

  • @ElectricEssenceLtd
    @ElectricEssenceLtd 9 лет назад +1

    brilliant Job Mukesh!!

  • @sagarshinde6033
    @sagarshinde6033 7 лет назад +1

    Thanku sir
    Ur the best selenium guideline

    • @Mukeshotwani
      @Mukeshotwani  7 лет назад

      Thanks Sagar Shinde :) Keep learning..

  • @nagagsalka5371
    @nagagsalka5371 9 лет назад +1

    Mukesh, thanks for "Interface" explanation.............
    I did not know, we can't create OBJECT for interface.

    • @Mukeshotwani
      @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.

  • @RamaDevi-re4tz
    @RamaDevi-re4tz 9 лет назад +1

    Hi Mukesh,
    Thanks for this video, very helpful...
    You are doing a great job!!!
    Thanks a lot..

    • @Mukeshotwani
      @Mukeshotwani  9 лет назад

      +Rama Devi HI Rama thank you :) Keep watching.

  • @stanu1159
    @stanu1159 6 лет назад +1

    U r explaining awesome sir step by step

    • @Mukeshotwani
      @Mukeshotwani  6 лет назад

      Thanks Sandhya. For code and everything you can check below links
      learn-automation.com/how-to-capture-screenshot-in-selenium-webdriver/

  • @pritigohil777
    @pritigohil777 7 лет назад

    Good Explanation.

  • @bhagyashri109
    @bhagyashri109 8 лет назад

    It is really very helpful . Thanks Mukesh :)

    • @Mukeshotwani
      @Mukeshotwani  8 лет назад

      thanx Bhagyshree keep visiting and let me know if any help required from my end

  • @risingsun2517
    @risingsun2517 5 лет назад +1

    Thank you for this tutorial, very well explained.

  • @aimran4310
    @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"));

  • @dayanidhibisoyi6908
    @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
      @Mukeshotwani  8 лет назад

      +dayanidhi bisoyi Hi Dayadihi, what do you mean by data validation? If you can explain in brief then I can help you.

  • @surbhichawla9337
    @surbhichawla9337 9 месяцев назад +1

    Hi Mukesh,
    This is really helpful.
    I have one query : How do we take screenshot of a full page with scrolling?

    • @Mukeshotwani
      @Mukeshotwani  9 месяцев назад

      Hi Surbhi, did you get the solution for this?

  • @Fahimkhan-by1qk
    @Fahimkhan-by1qk 3 года назад +1

    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
      @Mukeshotwani  3 года назад +1

      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
      @Fahimkhan-by1qk 3 года назад

      @@Mukeshotwani Got it. Thanks Mukesh.

  • @vikiviky1122
    @vikiviky1122 9 лет назад +1

    Very nice Video. Nice job Mukesh,

    • @Mukeshotwani
      @Mukeshotwani  9 лет назад

      Viki Viky tnnx Viky

    • @vikiviky1122
      @vikiviky1122 9 лет назад +1

      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
      @Mukeshotwani  9 лет назад

      Viki Viky just after ur test call screenshot method (lib which we created)

    • @Mukeshotwani
      @Mukeshotwani  9 лет назад

      thanks

  • @syedalam4729
    @syedalam4729 6 лет назад +1

    Hello Mukesh,
    I was wonder if you any any interview banks?

  • @roliapanna8097
    @roliapanna8097 6 лет назад +1

    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

  • @nayanaith
    @nayanaith 8 лет назад

    Thank you so much putting this much effort for this Mukesh. May God bless you..!

    • @Mukeshotwani
      @Mukeshotwani  8 лет назад

      +Nayanajith Bandara Thank you so much Nayanajith Happy weekend.

  • @monicagoyal8225
    @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?

  • @sujitsrinivasan8696
    @sujitsrinivasan8696 7 лет назад +1

    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

  • @arunaarao
    @arunaarao 8 лет назад

    very helpful.Thanks

  • @kishore76dhaka
    @kishore76dhaka 4 года назад +1

    Excellent

  • @faissrizz
    @faissrizz 7 лет назад

    Superb!!!

  • @madhavimourya1157
    @madhavimourya1157 7 лет назад +1

    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
      @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.

  • @juanpabloreyesgomez9005
    @juanpabloreyesgomez9005 5 лет назад +1

    Excelent explication

    • @Mukeshotwani
      @Mukeshotwani  5 лет назад

      Thanks Juan :) Keep learning and let me know if any help required from my side.

  • @nagagsalka5371
    @nagagsalka5371 8 лет назад

    Super.....................

  • @manishkohli9115
    @manishkohli9115 9 лет назад +1

    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
      @Mukeshotwani  9 лет назад +1

      +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/

  • @SNEHASINGH-wq4mv
    @SNEHASINGH-wq4mv 4 года назад +2

    Mukesh can u please share complete details on assertions.and how we can use in our projects

    • @Mukeshotwani
      @Mukeshotwani  4 года назад +1

      HI Sneha, I have 2 videos on Assertion on my channel.Pleas check Assert and Soft Assert on my channel.

  • @aayushimukhija9657
    @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 ......

  • @joshithagunasekaran7535
    @joshithagunasekaran7535 7 лет назад +1

    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
      @Mukeshotwani  7 лет назад

      +GS Nunna Thanks Nunna 👌🏻🙏 right click on png file and open with web browser or system editor

    • @joshithagunasekaran7535
      @joshithagunasekaran7535 7 лет назад

      gotcha :-)

  • @PrasannaLakshmi74
    @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
    @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.

  • @monimathur7178
    @monimathur7178 8 лет назад

    awesome explanation!!

    • @Mukeshotwani
      @Mukeshotwani  8 лет назад

      +Moni Mathur Hey Moni happy learning :)

  • @hmdraza
    @hmdraza 6 лет назад +1

    Thanks, it worked

  • @socialmediahappy8697
    @socialmediahappy8697 3 года назад

    wht u make the utility method as static

  • @rajatsrivastava2838
    @rajatsrivastava2838 3 года назад +1

    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
      @Mukeshotwani  3 года назад

      Yes Rajat, you can. You can use WebDriverListener.

  • @Rahul-rt9nq
    @Rahul-rt9nq 8 лет назад +1

    thanks mukesh

  • @seemaahuja1750
    @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.

  • @onebeartoe
    @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
      @Mukeshotwani  8 лет назад +1

      Hi ,
      I have worked on PhantomJS headless mode so I was able to capture screenshots. Just give a try with PhnatomJS

    • @onebeartoe
      @onebeartoe 8 лет назад

      Alrighty then. Thanks again!

  • @tammireddyprameela9690
    @tammireddyprameela9690 4 года назад +2

    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
      @Mukeshotwani  4 года назад +1

      Hi Tammireddy, Selenium can capture screenshots only but using Tesseract OCR you can read images too ruclips.net/video/5DqW9KP-aQo/видео.html

  • @manmits
    @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
      @Mukeshotwani  8 лет назад

      Hey manmit by default Selenium will take complete screenshot only :)

  • @tasneemtechno4014
    @tasneemtechno4014 7 лет назад +1

    Hi Mukesh.
    Very informative tutorial. Can you please tell how we can avoid hard coding thing for chrome browser everytime?

    • @Mukeshotwani
      @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.

  • @manishchaudhari4690
    @manishchaudhari4690 5 лет назад +1

    Can you please help,how to take screenshots of entire page if page is huge and requires scrolling down?

  • @malikah7145
    @malikah7145 3 года назад +1

    Did you record yours codes in GITHUB?

    • @Mukeshotwani
      @Mukeshotwani  3 года назад

      Hi Malikah, try this from your end and let me know if you face any issue.

  • @raviahirwar6823
    @raviahirwar6823 5 лет назад +1

    How can we take screenshots of application, when web page change and paste in word document? In my code it's replacing last one

  • @deepanshumehta9595
    @deepanshumehta9595 4 года назад +1

    Amazing

  • @adarshrahangan9559
    @adarshrahangan9559 7 лет назад +1

    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.

  • @staulik
    @staulik 4 года назад +1

    First of all congrat for your work!!... I'm facing a problem, why the highlight do not appear in my screenshot??

    • @Mukeshotwani
      @Mukeshotwani  4 года назад +1

      Hi Silvio, highlight part is using JS so in screenshot it will not capture.

  • @kshipra4504
    @kshipra4504 3 года назад +1

    Which is better way-- capture screenshots in AfterMethod annotation or with listeners?? And, why??

    • @Mukeshotwani
      @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.

  • @GoldenApples_
    @GoldenApples_ 7 лет назад +1

    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
      @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.

  • @littlevrinda6390
    @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.

  • @MakeLearingEasy
    @MakeLearingEasy 8 лет назад

    Thank You Sir.

  • @banasmikbehera1807
    @banasmikbehera1807 7 лет назад +1

    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????

  • @vikram2294
    @vikram2294 7 лет назад +1

    Hello Mukesh,
    Which version of Selenium are we using in your tutorials?

  • @shrikantkulal3106
    @shrikantkulal3106 8 лет назад

    hi mukesh..
    im not able to use Utility library pls suggest me..when im using using Utility it shows red mark.

  • @ankitagarwal9683
    @ankitagarwal9683 6 лет назад

    Hi Mukesh,
    Please provide the link in which you have explained to take screenshot and attach it to report

  • @rupapatil6682
    @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

  • @sunilk.c5367
    @sunilk.c5367 8 лет назад

    Excellent tutorial,, very easy to understand. Can you send me link of screen shot for failed test cases?

    • @Mukeshotwani
      @Mukeshotwani  8 лет назад

      Thanks Sunil I have another video for this kindly check.

    • @sunilk.c5367
      @sunilk.c5367 8 лет назад +1

      Thank you Mukesh

    • @Mukeshotwani
      @Mukeshotwani  8 лет назад

      Welcome Sunil

    • @sunilk.c5367
      @sunilk.c5367 8 лет назад +1

      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
      @Mukeshotwani  8 лет назад

      You can validate in Pages. Kindly refer my page object model video

  • @julyuser1030
    @julyuser1030 4 года назад +1

    Good

  • @abhachhabra2762
    @abhachhabra2762 4 года назад +2

    How can we do File source=ts.getScreenshotAs(OutputType.FILE).source is an object or variable?how can object store a file

    • @Mukeshotwani
      @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
      @abhachhabra2762 4 года назад +1

      Thakyou so much bye

  • @pareshnit6499
    @pareshnit6499 7 лет назад +1

    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
      @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
      @pareshnit6499 7 лет назад

      Thank u sir....

  • @laxmirukka3028
    @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
      @Mukeshotwani  8 лет назад

      +Laxmi Rukka Hi Laxmi, its possible in Sikuli.
      PLease have a look to Sikuli.

  • @pavp3528
    @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
      @Mukeshotwani  8 лет назад

      Hi Pav, It should open ideally but anyways you can check all screenshot in local drive.

  • @03bca
    @03bca 6 лет назад +1

    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
      @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
      @03bca 6 лет назад

      Thank you, it is working fine now.

  • @anand_kanekal
    @anand_kanekal 7 лет назад +1

    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
      @Mukeshotwani  7 лет назад +1

      Hi Anand,
      Java supports both / and \\ so it should not give any error.

  • @annetnancy3791
    @annetnancy3791 6 лет назад

    Hi Mukesh,
    From where we need to import FileUtil class ?

  • @bachelorkitchen7583
    @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
      @Mukeshotwani  7 лет назад

      +KHEL KHEL MEIN not sure because not tried till yet.
      If it is on web then yes we can do that

  • @theundisputedera6969
    @theundisputedera6969 7 лет назад +1

    Hi
    I want to know about the procedure how to take screenshots using listener. Could you guide me plz.

    • @Mukeshotwani
      @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/

  • @justinlambert7109
    @justinlambert7109 4 года назад

    Hi, How to open hyperlink in new tab and take screenshot. of new open tab

  • @arpitsingh8035
    @arpitsingh8035 Год назад

    updated code in java for screenshot
    TakesScreenshot ts= (TakesScreenshot)driver;
    File source=ts.getScreenshotAs(OutputType.FILE );
    FileHandler.copy(source,new File("./ScreenShot/"+screenshot+".png"));
    System.out.println("screenshot taken");

  • @alanortiz4
    @alanortiz4 7 лет назад +1

    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
      @Mukeshotwani  7 лет назад

      is this a requirement or you just exploring this.

    • @alanortiz4
      @alanortiz4 7 лет назад

      Is a requirement, I need to take multiple screen shot of every page and save it in a Word file

  • @vikramkasturi1437
    @vikramkasturi1437 6 лет назад

    Hi..How to use directly webdriver driver=new firefox driver... Without using set property

  • @gaurav30386
    @gaurav30386 7 лет назад

    can you make one video hoW to use GItHUB

  • @greengobis
    @greengobis 7 лет назад +1

    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
      @Mukeshotwani  7 лет назад

      +Debiprasad Panda right click open as system editor

    • @greengobis
      @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

  • @НикольКузнецова-ъ5з

    Hi! Mukesh, how can I make a screenshot of full-page by selenium 3?

  • @abhisheksingh2291
    @abhisheksingh2291 4 года назад

    can i do without using TestNg

  • @maniratnampatchigolla419
    @maniratnampatchigolla419 8 лет назад

    hi mukesh can you please tell me how to capture the partial/selected portion of image as a screen shot.

    • @Mukeshotwani
      @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

  • @azharuddinkhan2317
    @azharuddinkhan2317 7 лет назад

    Hi Mukesh,
    How to capture screenshot using base64?