Gone through the complete playlist ..Very useful stuff Karthik ..!!!
@nileshgupta41439 жыл бұрын
Explanation is very neat and clean, After going thru all these videos..i am really passionate to learn more and more on selenium...thanks you so much for sharing these vidoes!!
@ExecuteAutomation9 жыл бұрын
Nilesh Gupta Awesome !!! Glad you like it !!! Thanks, Karthik KK
@testingtrail6 жыл бұрын
'AsDataSet() ' is not part of ExcelDataReader.Dataset so you may want to download that reference too. In regards 'IsFirstRowAsColumnNames' is not recognized anymore, instead you need to remove and change following line like this: DataSet result = excelReader.AsDataSet(new ExcelDataSetConfiguration() { ConfigureDataTable = (_) => new ExcelDataTableConfiguration() { UseHeaderRow = true } }); And again...great stuff here!!! :)
@robertshuxley9 жыл бұрын
These videos are very helpful. please add more videos regarding Assertions or maybe different kinds of Test Runners. Many thanks!
@tanujgyan7874 жыл бұрын
Thanks for making these. They are very useful!
@ExecuteAutomation4 жыл бұрын
Tanuj Gyan Thanks mate!
@asmitaborate56039 жыл бұрын
Thank you so much for the great video ! Keep up the great work !
@makiyatow32864 жыл бұрын
Hello! The links are not available :( it says PAGE COULD NOT BE FOUND. I need this for my project please :(
@abhishektiwari41204 жыл бұрын
Great Video, Thank you!! I've have two questions: 1. How to not hard code the CSV file path 2. how to not hard code row number and automatically move to next row in every iteration. example: ExcelLib.ReadData(1, "Column_Name")
@subrahmanyaadiga41783 жыл бұрын
Hi Karthik, DDT with Excel CCUIT blog link is not accessible. Can you please share the active link if available Thanks Subrahmanya
@prakharranjan5862 Жыл бұрын
Hi kartik, I am not able to access the DDT with Excel in CUIT with Custom Library (Part 1) and part(2) link from the Website, getting 404 error
@umernadeem76084 жыл бұрын
First of all your video series is amazing....I have just started automated testing and your videos saved my career.....The only problem I ma having is that I have dowloaded the same version of Excel reader that you ar using and my Excel Lib class has no errors.....BUT unfortunately I am unable to access this class in Program.CS plz help me with this problem
@ArunYadav235 жыл бұрын
@Kartik : I think the code and library you used is out-dated, Can you please post your new video with the latest version of Excel Data Reader ?
@keerthi332 жыл бұрын
can you please tell where the code is available?
@maurvipathak72597 жыл бұрын
I have added reference Excel Data Reader but unable to find "using Excel" and getting error IExcelDataReader does not contain IsFirstRowAsColumnName. What should I do here?
@BogemiaRegent4 жыл бұрын
The same issue is on my side
@r.suganya90362 жыл бұрын
Hi Karthik, Thanks for the video. Could you please upload a video for to write test data into CSV file?
@iBoyTrade6 жыл бұрын
Hi Karthik, I have an question, i have excel file which is stored username and password which is more than 3 records in excel and i want to validate the correct user than how will i do? Thanks in advance
@jithesh67593 жыл бұрын
Hi Kartik, Can u provide the steps to implement Json or csv
@pavankumarpalla1656 Жыл бұрын
yes, your video really helpful for beginners, could you pls explain the reason for changing the method to STATIC and how to make further changes, when it need to be tested multiple records in xl i.e when we want the same test run for multiple user id and passwords and also when it requires run through PARALLEL mechanism , as in that case we can't use methods with STATIC.
@TheMezanine4 жыл бұрын
Thank a lot for this great good tutorial
@ExecuteAutomation4 жыл бұрын
Medoune Kane You are welcome mate!
@himanshubagga69243 жыл бұрын
Hi Kartik - Thank you for the wonderful videos. Also, I am getting an error where the query is giving null value. Could you please help on this ?
@chiragbansod40034 жыл бұрын
Could you add how to access multiple sheets and then read data in those sheets video ... I tried but I am facing issues
@shilpamehta41134 жыл бұрын
Hi , could you please share the code how we input the data from excel into hashmap in csharp -C#. I will be very thankful to you
@per-olavchristiansen26387 жыл бұрын
Ran into issue finding reference to System.Data in VS 2015. I could not install nuget package "System.Data.Common". Fix: change project target framework from 4.5 to 4.5.1. Needed a restart of VS, but then I could install the package.
@ashirbadratha51356 жыл бұрын
Hi All, One trouble, When i added multiple rows in the excel sheet and similarly updated the same in the calling class, i faced the problem of data being not available or resource not available. Can anyone please suggest possible measures to cater this. For Ex. I wanted to access the data from the 6th row to be accessed from the excel sheet. Thanks in Advance
@ahmedsalahel-din13118 жыл бұрын
Hello karthik, Thank you for the video. Notice, for me it threw an exception (Cannot find column 6) as I have 6 columns in my Excel sheet, so to get this work let's take a look at this piece of code: for (int col = 0; col < =table.Columns.Count; col++) { Datacollection dtTable = new Datacollection() { rowNumber = row, colName = table.Columns[col].ColumnName, colValue = table.Rows[row - 1][col].ToString() }; //Add all the details for each row dataCol.Add(dtTable); } here we have this line for (int col = 0; col < =table.Columns.Count; col++) you iterate from the value 0 to (
@bishnuprasad73937 жыл бұрын
Hey Karthik, Can you please let us know how we can perform DataProvider thing in Selenium C#. So that we can use same excel for all the Tests. Please reply.
@saradalakshmi74437 жыл бұрын
Hi, I went through this video. It is quite a useful one. Thank you so much for the share. May I know if this approach is the latest or do we have another latest approach to achieve the same functionality in Selenium webdriver C#. Appreciate if you can advise.
@sohebk22726 жыл бұрын
Hi Karthik. I m new to selenium C# and i have gone through your videos and they are of great help. I need to know about excel writer (write data to excel). Is there any solution to write data similar to ExcelDataReader
@NguyenHoang-xl5hj5 жыл бұрын
Did you solve the problem?
@savanamvenkateswarareddy48235 жыл бұрын
hello Karthik, I am getting the following error...... System.NullReferenceException : Object reference not set to an instance of an object. what do I do to fix this out.
@nenadtripunovic67234 жыл бұрын
I have the same problem.Have you solved this?
@DinkarGuptadud5 жыл бұрын
@kartik i am getting "System.ArgumentNullException : text cannot be null Parameter name: text " with same code
@manjunathb.n74659 жыл бұрын
Hi, How can we read multiple rows data from excel?
@sriramnarayanan6334 жыл бұрын
Hi i need videos of how to iterate over excel and get different data for same test
@hennymakaveli7 жыл бұрын
+Execute Automation (Karthik), When I try to run my own data-driven testing following your steps, I got this error message: Message: System.TypeInitializationException : The type initializer for 'Excel.ExcelReaderFactory' threw an exception. ----> System.NotImplementedException : This functionality is not implemented in the portable version of this assembly. You should reference the PCLStorage NuGet package from your main application project in order to reference the platform-specific implementation. Please what should I do to correct this thing? Your assistance is needed urgently please.
@ExecuteAutomation7 жыл бұрын
Actually , there is an breaking change in Excel data reader, you can watch this video for fix kzbin.info/www/bejne/lZnCZWB-rdeAg8U
@hennymakaveli7 жыл бұрын
Thanks so much, the new method works perfectly as expected but I had to be mindful of my column names (lower or upper case) to avoid "System.ArgumentNullException" error. Once again, THANK YOU.
@ExecuteAutomation7 жыл бұрын
Awesome !
@ankitrahaman5936 жыл бұрын
Thanks a lot for teaching so much.. But it I would be grateful to you if u can kindly teach keyword driven and hybrid framework also..
@ExecuteAutomation6 жыл бұрын
ankit rahaman Its already here www.udemy.com/framework-development-with-cuit/
@sparklingsta80616 жыл бұрын
Hey karthik Thanks a lot for the video . Can you please explain how can i loop through the excel sheet . what i am trying to say is using 100 or so username and password within the same test without passing the variable row number and column name 100 times. Please if anyone can help me out for this given situation.
@VIDYASAGARPOGIRI7 жыл бұрын
Hey can u provide the steps to implement Json or csv instead of excel , thanks
@LivingSmallLivingMobile17 жыл бұрын
found another bug in ExcelLib this row the
@ExecuteAutomation7 жыл бұрын
Thanks again, but its addressed in the lecture already www.udemy.com/framework-development-with-selenium-csharp-advanced
@RetroRampageArcade3 жыл бұрын
How to save data and then read the data
@akanshaneekhra53423 жыл бұрын
code from where you copied is not working Blogs
@snehapothuri66599 жыл бұрын
Great Videos. Can we see how to use TestNG DataProvider like data driven tests in c#?
@UaiMTB9 жыл бұрын
+Sneha Pothuri Also I would like to know ...
@ExecuteAutomation9 жыл бұрын
+RAMON VINÍCIUS There is no such provider here in C#, but you can write your own attribute though !!
@mavlogs8842 жыл бұрын
ddl workin to bta do bhai find ni hora
@pavanch123218 жыл бұрын
Nice explanation. But i have a question here...... how can i parameterize my test if i have more than one row of data
@ExecuteAutomation8 жыл бұрын
+Pavan Ch Thats when you should use Excel sheet
@123lowp8 жыл бұрын
awesome!!!!!
@abhinavsharma27636 жыл бұрын
thanks!
@khaledmonir34677 жыл бұрын
I need to know how to select date from calender and i need to select the current date can anyone help me please
@vedantkumar98547 жыл бұрын
excelReader.IsFirstRowAsColumnNames = true; //Return as DataSet DataSet result = excelReader.AsDataSet(); These two lines are giving error after following all your steps.Can you please help me to solve this
@LivingSmallLivingMobile17 жыл бұрын
did you find a solution. I have same
@LivingSmallLivingMobile17 жыл бұрын
Seems you need additional nuget package and IsFirstRow.. is no longer supportedI added ExcelDataReader.DataSet nugget pachage to get rid of one error. Commented out excelReader.IsFirstRowAsColumnNames = true; Replaced line under // Return as DataSet with DataSet result = excelReader.AsDataSet(new ExcelDataSetConfiguration() { ConfigureDataTable = (tableReader) => new ExcelDataTableConfiguration() {// Gets or sets a value indicating whether to use a row from the // data as column names. UseHeaderRow = true, // Gets or sets a callback to determine which row is the header row. // Only called when UseHeaderRow = true. ReadHeaderRow = (rowReader) => { // F.ex skip the first row and use the 2nd row as column headers: // rowReader.Read(); } } }); tested and working
@avijitsur7 жыл бұрын
Uninstall the latest ExcelDatareader package. Install version 2.1.2.3. Add using Excel; and it should solve your problem.
@sahilx86354 жыл бұрын
@@avijitsur- Thanks! Your advise resolved my issue.
@vijaybhargav87106 жыл бұрын
Thanks for the Video. I am getting this error when I am tying to access 2nd row .works fine for 1st row. Message: System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation. ----> System.ArgumentNullException : text cannot be null
@iBoyTrade6 жыл бұрын
did you get any solution for "text cannot be null"
@jcmontoya8316 жыл бұрын
I'm getting the same error: System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation. ----> System.ArgumentNullException : text cannot be null Parameter name: text
@jcmontoya8316 жыл бұрын
Nevermind, had a typo.
@AdixJFrhcp4 жыл бұрын
@@jcmontoya831 where? i have same problem but can't fix it.
@Adam-hj1hc7 жыл бұрын
Is there a particular reason why .Click() will not work, but .Submit() will? I thought these were interchangeable... Excellent tutorials though! Thank you Karthik!
@ExecuteAutomation7 жыл бұрын
Its based on the button type, if its submit type, then we need to use Submit() method.
@Adam-hj1hc7 жыл бұрын
Ahh ok, understood. Thanks! :)
@ZnSstr4 жыл бұрын
DataSet result = excelReader.AsDataSet(new ExcelDataSetConfiguration() { ConfigureDataTable = (_) => new ExcelDataTableConfiguration() { UseHeaderRow = true } }); That code is required instead of that boolean that is not found in the assembly. And add an aditional ExcelReader nuget package This row will throw an exception: for (int col = 0; col
@veereshhadli15878 жыл бұрын
pls write the automation script to read data from Excel file for only login feature from beginning
@NguyenHoang-xl5hj5 жыл бұрын
Did you solve the problem?
@BogemiaRegent4 жыл бұрын
Thank you for your tutorial. But everything is out dated. It will be nice if you make replacement of this tutorial which is very interesting.