Data Driven Testing with Excel (Part 1) in CUIT -- Part 27 (CUIT Video Series)

Поділитися
Вставка
  • Опубліковано 2 гру 2024

КОМЕНТАРІ • 43

  • @dsandeep9443
    @dsandeep9443 5 років тому +1

    Very less resources available for coded UI, your videos are the primary source of my knowledge all the time.

    • @ExecuteAutomation
      @ExecuteAutomation  5 років тому

      Dns Sandeep Thank you Sandeep, glad to hear that this video has helped you !

  • @souleymane091181
    @souleymane091181 9 років тому +1

    You are doing an amazing job by taking your precious time to make complex things easy to digest. Thank you

  • @manjutakhar4496
    @manjutakhar4496 6 років тому

    Hi Karthik,
    I have a case where we are not saving the excel sheet, how to read data without saving it(the data is coming from a excel plugin)
    Thanks,
    Manju

  • @ujwalneupane2526
    @ujwalneupane2526 7 років тому

    Hi Kartik, what is the namespace for IsFirstRowAsColumnNames? I am using system. data and Exceldatareder namespaces but intelligence is not showing IsFirstRowAsColumnNames. My visual studio 2012 pro. does not bring namespace when i use control and ..

    • @PKrud
      @PKrud 7 років тому +1

      I have 2015 and got the same problem. I installed Exceldatareader v2.1.2.3 and then changed the reference to using Excel; and worked

  • @klaykuban
    @klaykuban 8 років тому

    Hi Karthik,
    I do all the code as you do in the vid. However, when i debug, my stream is always null where yours has {System.IO.Filestream} at the 15:38 mark.

    • @ExecuteAutomation
      @ExecuteAutomation  8 років тому

      Did you tried adding the reference or nuget package ?

    • @klaykuban
      @klaykuban 8 років тому

      I had added the excel data reader and system.xml reference like you did in the vid. i see Excel and the ICSharpCode in the references list as well

    • @ExecuteAutomation
      @ExecuteAutomation  8 років тому

      You need to add ExcelDataReader nuget reference as well !!!

  • @ezequiel454
    @ezequiel454 8 років тому

    HI, can you please give me a help ?
    when i try IExcelDataReader excelReader = ExcelReaderFactory.CreateOpenXmlReader(stream);
    i got
    ExcelDataReader - ExcelReaderFactory.cs not found
    But dont make sense, i didi everything as you

    • @ExecuteAutomation
      @ExecuteAutomation  8 років тому

      +Ezequiel Matos You need to install nuget package ExcelDataReader from Manage Nuget Package of References in your project !!!
      Thanks,
      Karthik KK

    • @tegampurearvind447
      @tegampurearvind447 8 років тому

      +Ezequiel Matos
      Do not put breakpoint. Just continue. When you debug with step into , it is trying step into DLL.
      If you want to check the data you can put break point after this line check the value of dt.
      DataTable dt = ExcelUtil.ExcelToDataTable(…);
      Hope it helps.

  • @amanvishnoi7934
    @amanvishnoi7934 2 роки тому

    Hi Can you please help , I am getting error here
    excelReader.IsFirstRowAsColumnNames = true; as I am unable to use reference Excel, it is showing only using ExcelDataReader; can you please help me in that?

    • @rutynaki
      @rutynaki Рік тому

      hi, I am facing the same issue . how did you solved it? I would like to get your help. thanks!

  • @VijayPanchal72
    @VijayPanchal72 7 років тому

    why do you give links of the videos which you are asking to watch?

  • @AJAYKUMAR-tt9uw
    @AJAYKUMAR-tt9uw 8 років тому

    Any one use Drag and drop function in Automation Test using C#

  • @AJAYKUMAR-tt9uw
    @AJAYKUMAR-tt9uw 8 років тому

    i am facing a problem
    i have two Control ,one is file Uploading HTML control another one have one Text Box Control
    so if am use file type HTML Control to upload the file after uploading the file than i want to enter some data into TextBox than that textbox taking lot of time to identify
    ....................................................
    HOW to solve this problem
    ...................................................................
    SO HOW can identifying the control faster
    Note:-this problem is Happening using with file HTML COntrol
    Please Help Me Kartik

  • @AJAYKUMAR-tt9uw
    @AJAYKUMAR-tt9uw 8 років тому

    How to Use [TestInitialize] attribute wtin OrderList Method

    • @ExecuteAutomation
      @ExecuteAutomation  8 років тому

      +AJAY KUMAR You mean Ordered Test method ?

    • @AJAYKUMAR-tt9uw
      @AJAYKUMAR-tt9uw 8 років тому

      yes

    • @AJAYKUMAR-tt9uw
      @AJAYKUMAR-tt9uw 8 років тому

      sir i am use [TestInitialize] and also i am ordered Test Technic in same application so at the Execution of the application before run ordered Test method first call [TestInitialize] attribute method
      so don't want to like that sir,sir i want to once time run [TestInitialize] attribute method for whole application and also all data is live

    • @ExecuteAutomation
      @ExecuteAutomation  8 років тому

      +AJAY KUMAR Yap, you are correct, everytime the Test Initialize will execute, you can overcome the problem by setting a property may be a flag to true for the first time execution and then next time while it checks the flag for true, it will not execute methods inside the TestInitialize.
      Hope it helps !!!
      Thanks,

    • @AJAYKUMAR-tt9uw
      @AJAYKUMAR-tt9uw 8 років тому

      than previews data is Live

  • @AJAYKUMAR-tt9uw
    @AJAYKUMAR-tt9uw 8 років тому

    i have some issue

  • @AJAYKUMAR-tt9uw
    @AJAYKUMAR-tt9uw 8 років тому

    if any one use can you reply me

  • @AJAYKUMAR-tt9uw
    @AJAYKUMAR-tt9uw 8 років тому

    Hi Kartik

  • @AJAYKUMAR-tt9uw
    @AJAYKUMAR-tt9uw 8 років тому

    hi kartik
    please reply me

  • @AJAYKUMAR-tt9uw
    @AJAYKUMAR-tt9uw 8 років тому

    hi all

  • @AJAYKUMAR-tt9uw
    @AJAYKUMAR-tt9uw 8 років тому

    hi kartik

  • @AJAYKUMAR-tt9uw
    @AJAYKUMAR-tt9uw 8 років тому

    please
    help me

    • @ExecuteAutomation
      @ExecuteAutomation  8 років тому

      +AJAY KUMAR Hi, please let me know whats the issue ?

    • @AJAYKUMAR-tt9uw
      @AJAYKUMAR-tt9uw 8 років тому

      Normally, i am used hard coded all successful message in Assert method

    • @AJAYKUMAR-tt9uw
      @AJAYKUMAR-tt9uw 8 років тому

      like- Assert.AreEqual("Forwarder information added successfully", successMsg, successMsg);

    • @AJAYKUMAR-tt9uw
      @AJAYKUMAR-tt9uw 8 років тому

      in Assert.AreEqual() method successfully message is hard coded so here got problem
      if i am use Multi language application

    • @AJAYKUMAR-tt9uw
      @AJAYKUMAR-tt9uw 8 років тому

      so kartik how to use load the language resource file data depends on the language code to access the resources file