Session 51: Selenium with Java | Hybrid Framework | Data Driven Tests | Apache POI | 2024 Series

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

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

  • @shafaquebushra1787
    @shafaquebushra1787 3 месяца назад

    Thank you so much sir.
    I started watching your videos a couple of months ago. I watched manual testing, Api testing and selenium and learned all the concepts.
    I have given an interview, and it went very well.
    You are putting great effort.
    God bless you sir.
    Thanks for your amazing videos.
    You are delivering knowledge from basic to advanced.
    Seriously, you are the best teacher. 😊
    Thank you so much sir. 🙏

  • @stevenclark1973
    @stevenclark1973 Месяц назад

    Another brilliant video. Well tutored again. The problem I'm having is remembering all the concepts/syntax over the last 50 sessions.

  • @numeshialmapiyasiri
    @numeshialmapiyasiri 3 месяца назад

    Sir, thank you very much for uploading this video. We've been eagerly waiting for it! Your sessions are truly amazing, and we're already looking forward to the next ones. We're absolutely addicted to these sessions-can't wait for more

  • @rameshrongala922
    @rameshrongala922 2 месяца назад +1

    Thank you sir.

  • @rajeshbe2234
    @rajeshbe2234 3 месяца назад +1

    Sir please upload the next video a bit earlier.
    I'm going to join as a automation Tester at one reputed company so by learning this framework series i planned to implement this framework in my project that's why I'm requesting.

  • @TheNivrutti
    @TheNivrutti 3 месяца назад +1

    Pavan sir plz tell from where to get all the project related files

  • @kushi_datta
    @kushi_datta 3 месяца назад

    thank you sir,please upload next videos also it's very useful and need to us now🙂🥺🙏👏

  • @manichowdry547
    @manichowdry547 3 месяца назад

    🔥🔥🔥🔥🔥

  • @TheNivrutti
    @TheNivrutti 3 месяца назад

    Pavan sir how to get framework resources. In videos you told that i will share.
    Where to find all stuff of this project

  • @rajeshbe2234
    @rajeshbe2234 3 месяца назад

    Hi Pawan Sir thank you very much sir for uploading this video we most awaited for this 🙏🙏🙏🙏

  • @sushmitar3105
    @sushmitar3105 Месяц назад

    Where I can find the Utility file contents? Iam executing in my system so

  • @keerthirao8241
    @keerthirao8241 2 месяца назад

    pavan sir your teaching awesome....can u please share the excel utility file sir 🙏🙏🙏

    • @AVUPATINARENDRA-lc6zg
      @AVUPATINARENDRA-lc6zg 2 месяца назад

      have you got the excel file?

    • @SamuelSalvi-y4r
      @SamuelSalvi-y4r 2 месяца назад

      You can buy his course on udemy and there in resources section you will get all files required

    • @keerthirao8241
      @keerthirao8241 2 месяца назад +2

      @@AVUPATINARENDRA-lc6zg pavan sir shared github link in Session 56 as a pinned comment

  • @sreekanthdamisetty-d4o
    @sreekanthdamisetty-d4o 3 месяца назад +2

    Sir...can you please provide link for excel utility class

  • @rajeshbe2234
    @rajeshbe2234 3 месяца назад

    Sir, In this data-driven testing how we add pass fail text at run time in the same test data Excel sheet? And also override the results for multiple time executions.
    If we do like that we won't get confused at the results verification. So please consider my request.

  • @thirdviews
    @thirdviews 3 месяца назад +1

    Can you please provide any git link for ExcelUtility class. Specially for those people who is paying monthly.

  • @BaduguSaiNirmala
    @BaduguSaiNirmala 2 месяца назад

    Sir, Can you please share Excel utility file

  • @bhaskargve855
    @bhaskargve855 День назад

    Sir, can I get the project zip file and the documentation please?

  • @QAteam-w1e
    @QAteam-w1e 3 месяца назад

    How many Sessions remaining in this entire Course??

  • @pawanbokolia4013
    @pawanbokolia4013 Месяц назад

    Hi sir i have an issue that negative test are getting failed select them in invalid data it should pass but i don't know why they are failing

  • @AmitKumar-yy3lq
    @AmitKumar-yy3lq 3 месяца назад

    Thanks sir

  • @School_Of_Thought-pe6hm
    @School_Of_Thought-pe6hm 3 месяца назад +1

    Where can we get the utilities file to copy sir

    • @Butterfly_World12345
      @Butterfly_World12345 3 месяца назад +1

      package com.excel.utility;
      import java.io.File;
      import java.io.FileInputStream;
      import java.io.FileOutputStream;
      import java.io.IOException;
      import org.apache.poi.ss.usermodel.DataFormatter;
      import org.apache.poi.ss.usermodel.CellStyle;
      import org.apache.poi.xssf.usermodel.XSSFCell;
      import org.apache.poi.xssf.usermodel.XSSFRow;
      import org.apache.poi.xssf.usermodel.XSSFSheet;
      import org.apache.poi.xssf.usermodel.XSSFWorkbook;
      public class Excelutility
      {
      public FileInputStream fi;
      public FileOutputStream fo;
      public XSSFWorkbook workbook;
      public XSSFSheet sheet;
      public XSSFRow row;
      public XSSFCell cell;
      public CellStyle style;
      String path;
      public Excelutility (String path)
      {
      this.path=path;
      }
      public int getRowCount(String sheetName) throws IOException
      {
      fi=new FileInputStream(path);
      workbook=new XSSFWorkbook(fi);
      sheet=workbook.getSheet(sheetName);
      int rowcount=sheet.getLastRowNum();
      workbook.close();
      fi.close();
      return rowcount;
      }
      public int getCellCount(String sheetName, int rownum) throws IOException {
      fi=new FileInputStream(path);
      workbook=new XSSFWorkbook(fi);
      sheet=workbook.getSheet(sheetName);
      row=sheet.getRow(rownum);
      int cellcount=row.getLastCellNum();
      workbook.close();
      fi.close();
      return cellcount;
      }
      public String getCellData(String sheetName, int rownum, int colnum) throws IOException
      {
      fi=new FileInputStream(path);
      workbook=new XSSFWorkbook(fi);
      sheet=workbook.getSheet(sheetName);
      row=sheet.getRow(rownum);
      cell=row.getCell(colnum);
      DataFormatter formatter = new DataFormatter();
      String data;
      try
      {
      data = formatter.formatCellValue(cell);
      }
      catch(Exception e)
      {
      data="";
      }
      workbook.close();
      fi.close();
      return data;
      }
      public void setCellData(String sheetName, int rownum, int colnum, String data) throws IOException
      {
      File xlfile=new File(path);
      if(!xlfile.exists()) // If file not exists then create new file
      {
      workbook=new XSSFWorkbook();
      }
      fo=new FileOutputStream(path);
      workbook.write(fo);
      fi=new FileInputStream(path);
      workbook=new XSSFWorkbook(fi);
      if(workbook.getSheetIndex(sheetName)==-1) // If sheet not exists then create new Sheet workbook.createSheet(sheetName);
      sheet=workbook.getSheet(sheetName);
      if(sheet.getRow(rownum)==null) // If row not exists then create new Row sheet.createRow(rownum);
      row=sheet.getRow(rownum);
      cell=row.createCell(colnum);
      cell.setCellValue(data);
      fo=new FileOutputStream(path);
      workbook.write(fo);
      workbook.close();
      fi.close();
      fo.close();
      }
      }

    • @AvishekPaulOnline
      @AvishekPaulOnline 3 месяца назад

      @@Butterfly_World12345 Thanks! Where did you get this from? Are the codes in this series uploaded somewhere?

  • @TheNivrutti
    @TheNivrutti 3 месяца назад

    Sir plz give me framework related all file's, application test cases, frs srs,

  • @niteshojha3702
    @niteshojha3702 2 месяца назад

    Sir doing all the steps same as you did but getting "Data provider mismatch" error

  • @AVUPATINARENDRA-lc6zg
    @AVUPATINARENDRA-lc6zg 2 месяца назад

    Hi Sir, Please provide ExcelUtility File .. i just want to import into my project

  • @sreekanthdamisetty-d4o
    @sreekanthdamisetty-d4o 3 месяца назад +1

    please provide any git link for Excel Utility class or someone please drop the Excel-utility file code here🙏

  • @Fatma-ho5ol
    @Fatma-ho5ol 3 месяца назад

    Thank you for valuable information, bless you but any chance to add your notes documents and excel utilities somewhere

  • @bhaveshkarnewar719
    @bhaveshkarnewar719 3 месяца назад +1

    someone please drop the Excel-utility file code here.

    • @Butterfly_World12345
      @Butterfly_World12345 3 месяца назад +1

      package com.excel.utility;
      import java.io.File;
      import java.io.FileInputStream;
      import java.io.FileOutputStream;
      import java.io.IOException;
      import org.apache.poi.ss.usermodel.DataFormatter;
      import org.apache.poi.ss.usermodel.CellStyle;
      import org.apache.poi.xssf.usermodel.XSSFCell;
      import org.apache.poi.xssf.usermodel.XSSFRow;
      import org.apache.poi.xssf.usermodel.XSSFSheet;
      import org.apache.poi.xssf.usermodel.XSSFWorkbook;
      public class Excelutility
      {
      public FileInputStream fi;
      public FileOutputStream fo;
      public XSSFWorkbook workbook;
      public XSSFSheet sheet;
      public XSSFRow row;
      public XSSFCell cell;
      public CellStyle style;
      String path;
      public Excelutility (String path)
      {
      this.path=path;
      }
      public int getRowCount(String sheetName) throws IOException
      {
      fi=new FileInputStream(path);
      workbook=new XSSFWorkbook(fi);
      sheet=workbook.getSheet(sheetName);
      int rowcount=sheet.getLastRowNum();
      workbook.close();
      fi.close();
      return rowcount;
      }
      public int getCellCount(String sheetName, int rownum) throws IOException {
      fi=new FileInputStream(path);
      workbook=new XSSFWorkbook(fi);
      sheet=workbook.getSheet(sheetName);
      row=sheet.getRow(rownum);
      int cellcount=row.getLastCellNum();
      workbook.close();
      fi.close();
      return cellcount;
      }
      public String getCellData(String sheetName, int rownum, int colnum) throws IOException
      {
      fi=new FileInputStream(path);
      workbook=new XSSFWorkbook(fi);
      sheet=workbook.getSheet(sheetName);
      row=sheet.getRow(rownum);
      cell=row.getCell(colnum);
      DataFormatter formatter = new DataFormatter();
      String data;
      try
      {
      data = formatter.formatCellValue(cell);
      }
      catch(Exception e)
      {
      data="";
      }
      workbook.close();
      fi.close();
      return data;
      }
      public void setCellData(String sheetName, int rownum, int colnum, String data) throws IOException
      {
      File xlfile=new File(path);
      if(!xlfile.exists()) // If file not exists then create new file
      {
      workbook=new XSSFWorkbook();
      }
      fo=new FileOutputStream(path);
      workbook.write(fo);
      fi=new FileInputStream(path);
      workbook=new XSSFWorkbook(fi);
      if(workbook.getSheetIndex(sheetName)==-1) // If sheet not exists then create new Sheet workbook.createSheet(sheetName);
      sheet=workbook.getSheet(sheetName);
      if(sheet.getRow(rownum)==null) // If row not exists then create new Row sheet.createRow(rownum);
      row=sheet.getRow(rownum);
      cell=row.createCell(colnum);
      cell.setCellValue(data);
      fo=new FileOutputStream(path);
      workbook.write(fo);
      workbook.close();
      fi.close();
      fo.close();
      }
      }

    • @bhaveshkarnewar719
      @bhaveshkarnewar719 3 месяца назад

      @@Butterfly_World12345 Thank you... Do you have Extent report utility file? If yes please drop here.

    • @praneshrr7
      @praneshrr7 Месяц назад

      @@Butterfly_World12345 thanks

  • @fariahasan3965
    @fariahasan3965 3 месяца назад +1

    Sir please provide session 50 for free..

    • @rajeshbe2234
      @rajeshbe2234 3 месяца назад +3

      Pay 159 per month to become a member of Pawan sir SDET QA channel.
      Don't hesitate to pay because he is providing these great things at a minimum cost. If you join any institute or watch other youtube mentors for selenium automation framework you won't be able to gain depth knowledge on that that's why I am suggesting you.

    • @fariahasan3965
      @fariahasan3965 3 месяца назад +1

      @@rajeshbe2234 I am from Bangladesh bro. channel membership is not available here. Otherwise I won't hesitate to pay even 1000 per month.

    • @rajeshbe2234
      @rajeshbe2234 3 месяца назад

      @@fariahasan3965 Oh I see then Pawan sir only can say any other option to help you bro.

    • @fariahasan3965
      @fariahasan3965 3 месяца назад

      @@rajeshbe2234 he has already made these videos public.He is very kind I must say.

    • @rajeshbe2234
      @rajeshbe2234 3 месяца назад

      @@fariahasan3965 then cool bro. Yesterday I tried to open it but it didn't open so I paid.

  • @pradeeppatel-yo5ce
    @pradeeppatel-yo5ce 3 месяца назад

    Can someone drop ExtentReportManager file?

  • @dillikumar7074
    @dillikumar7074 2 месяца назад

    Hi Sir , I tried to practice this, by copying same utility files and when i try to run the DDT test , my browser is opening for first time and getting close ,without entering any username or password , and getting below error in console , could you please help on this ,what could be the possible reason ?
    [Utils] [ERROR] [Error] java.lang.NullPointerException: Cannot invoke "org.apache.poi.xssf.usermodel.XSSFRow.getCell(int)" because "this.row" is null
    at utilities.ExcelUtility.getCellData(ExcelUtility.java:64)
    at utilities.DataProviders.getData(DataProviders.java:27)
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
    at java.base/java.lang.reflect.Method.invoke(Method.java:580)