Read Data From Excel - Part 1 | Selenium தமிழ் | Selenium Tamil Tutorial

  Рет қаралды 31,598

LetCode with Koushik

LetCode with Koushik

Күн бұрын

Hello Guys, In this video, we'll learn the how-to read data from excel using Apache POI
🤗 Learning from this video,
Read data from Excel
Dependency
1. Apache POI
2. Apache POI - OOXML
mvnrepository....
mvnrepository....
Pre- condition
1. Create an excel file with data
Steps to implement
1. Locate the file
2. Locate the workbook & Sheet
3. Read the data from the cell (Rows & Column)
4. Close the resource
Source code:
bit.ly/37JSF15​
Download my XPath extension
bit.ly/2T5EUCu​​
Join our Gitter community
bit.ly/3mWDqrC​​
Join our Facebook group
bit.ly/3mVvMxW​​
Behind the screen,
/ ortoni​​
Subscribe to LetCode
bit.ly/305DiMT​​
My playlist:
1. Protractor
bit.ly/3i2G3Vf​​
2. Selenium (Tamil)
bit.ly/3kMnyX1​​
and check more playlists and videos from the channel page.
#letcode​​ #selenium​​ #tamiltutorial
Join this channel to get access to perks:
bit.ly/3cSPCpm

Пікірлер: 107
@rajkumarm25
@rajkumarm25 8 ай бұрын
17:08 Closing the workbook is he new learning...! such a uniqueness from other channels.
@letcode
@letcode 8 ай бұрын
Cool 😎
@AbinayaMurugan-e9t
@AbinayaMurugan-e9t 7 ай бұрын
Well explained. Understood and I can remember this all time now.
@letcode
@letcode 7 ай бұрын
Awesome
@joblesstamilan-273
@joblesstamilan-273 2 жыл бұрын
Bro vera level teaching will share these testng videos with my friends.
@letcode
@letcode 2 жыл бұрын
Thanks bro 😊
@malathiravi4890
@malathiravi4890 4 ай бұрын
Hi bro..at last 5 months i regularly watched your videos realy helpful no words to say..have a doubt in one place .in this video u displayed both username and password with getstringvalue method..i want to show as separately for username and password..where i have to change and how..have to store in a variable for both username and password..pls reply..am waiting to that
@letcode
@letcode 4 ай бұрын
Create 2 variables and while getting the value store it.
@malathiravi4890
@malathiravi4890 4 ай бұрын
@@letcode OK bro..let try I share with you
@malathiravi4890
@malathiravi4890 4 ай бұрын
Hi bro..got it thanks lot...run successful
@karthickchandran7247
@karthickchandran7247 2 жыл бұрын
@LetCode with Koushik... Wow, Really Wow bro... Romba easy ya step by step explain panniteenga... I have done the handson as well immediately now, and able to print the data from excel... Felt wonderful when i saw the data in Console.. You are Great bro...!!!
@letcode
@letcode 2 жыл бұрын
Super bro 🤠
@leemaajesus7223
@leemaajesus7223 2 жыл бұрын
Clear explanation, congrats
@karthickudhaya1878
@karthickudhaya1878 2 жыл бұрын
Anna maven main la main method kuduringa run panna mudiyuma?
@letcode
@letcode 2 жыл бұрын
Pannalam bro, all possible 😀
@tsiporche
@tsiporche 3 ай бұрын
Nandri... Nandri.. Nandri...
@letcode
@letcode 3 ай бұрын
Welcome 🤗
@jeyasankara4781
@jeyasankara4781 Жыл бұрын
Hi bro Your teaching is amazing..... I have the query Is it possible to read the data from Excel and convert as JSON then pass the same data to our specific function?
@letcode
@letcode Жыл бұрын
Yes possible.
@jeyasankara4781
@jeyasankara4781 Жыл бұрын
Thanks for replying... I have done the Excel to json file but while converting json no need to create json file so we directly pass the data from Excel to specific function through JSON. Is it possible?
@letcode
@letcode Жыл бұрын
Without creating a json file we cannot use the data directly. To store and retrieve we need some sort of file.
@jeyasankara4781
@jeyasankara4781 Жыл бұрын
@@letcode thanks bro thankyou very much for your costly reply
@kalaimohan5421
@kalaimohan5421 2 жыл бұрын
Thank u so much for teaching
@mukeshvicky8404
@mukeshvicky8404 Жыл бұрын
Data driven framework edhuvum same ah
@letcode
@letcode Жыл бұрын
Yes
@mukeshvicky8404
@mukeshvicky8404 Жыл бұрын
Ok thanks bro real time edhu maximum use pannuvanga
@rajkumarm25
@rajkumarm25 8 ай бұрын
12:53 I have done the same in my Eclipse IDE and successfully, read the cell value and printed it in the console. However, in the console, I got the following error message "ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console..."
@letcode
@letcode 8 ай бұрын
That's a warning, you can ignore that or you can add the log4j dependencies.
@harishv6727
@harishv6727 2 жыл бұрын
Hi bro , Eclipse shortcuts ku video iruka?
@letcode
@letcode 2 жыл бұрын
kzbin.info/www/bejne/l6Oyo5SOZdqVis0
@kbharathotk
@kbharathotk 2 ай бұрын
10:01 what is the shortcut for return bro
@letcode
@letcode 2 ай бұрын
kzbin.info/www/bejne/l6Oyo5SOZdqVis0si=096TuomimFKJFKDj
@kbharathotk
@kbharathotk 2 ай бұрын
Thanks bro.. 👍🏽
@sulthanarazia2014
@sulthanarazia2014 7 ай бұрын
It very useful sir
@letcode
@letcode 7 ай бұрын
Great 👍
@aravindk-iq4bc
@aravindk-iq4bc Жыл бұрын
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console... Why this issue shows
@letcode
@letcode Жыл бұрын
It's a dependency issue for loggers.
@sudhakumar7807
@sudhakumar7807 Жыл бұрын
Hi, the Excel sheet folder is not available in eclipse. I have refreshed multiple times
@letcode
@letcode Жыл бұрын
Is the folder within the project folder?
@vinodhinic1352
@vinodhinic1352 Жыл бұрын
Bro is it possible to write into Excel using data provider?
@letcode
@letcode Жыл бұрын
Not using a data provider, but using Apache poi you can achieve that.
@vinodhinic1352
@vinodhinic1352 Жыл бұрын
Thank you ☺️@@letcode in POM DDT is it possible to write a string resulting from a method(page class) into an existing excel Sheet I never saw any video or content related to it Could you please help me with this
@letcode
@letcode Жыл бұрын
Ok sure.
@vinodhinic1352
@vinodhinic1352 Жыл бұрын
@@letcode Bro do you have any sample codes for it or can you make a video on it please
@rajarathinam1965
@rajarathinam1965 2 жыл бұрын
Enda video ku previous video etha pakurathu maven install paniten
@letcode
@letcode 2 жыл бұрын
Follow this playlist bro kzbin.info/aero/PL699Xf-_ilW6vI9FHmePi1TvKyzYATgXi
@rajarathinam1965
@rajarathinam1965 2 жыл бұрын
Error could not find or load main class utils.readexcel varudhu bro solution pls
@mariajeniffer2333
@mariajeniffer2333 3 жыл бұрын
Hi ..using Apache poi geting error as Noclassdeffounderror exception even after installing all jar and tried even through maven..what is the issue ..can you assist me on this...
@letcode
@letcode 3 жыл бұрын
That should be a problem only with jar files. Add both the dependencies. Poi and poi ooxml
@avengersendgame8617
@avengersendgame8617 2 жыл бұрын
Faced same problem try with poi-ooxml only 3.9 version dependency... its working for me...
@vijaykumar-jp6pl
@vijaykumar-jp6pl 2 жыл бұрын
Bro base class konjam detail ah sola mudiuma.. method reusable doubts iruku
@letcode
@letcode 2 жыл бұрын
Reusable methods ku seperate videos potu erukan bro, adhu check pannunga.
@vijaykumar-jp6pl
@vijaykumar-jp6pl 2 жыл бұрын
Ok bro thanks
@meeraswathi356
@meeraswathi356 2 жыл бұрын
Bro enakku correct ah print Achu , but for loop use pannum pothu "illegal state exception" cannot get string value from NUMERIC cell ...varuthu
@letcode
@letcode 2 жыл бұрын
Next video paarunga, idhuku solution irukum
@meeraswathi356
@meeraswathi356 2 жыл бұрын
K bro...
@ramyasakthi1752
@ramyasakthi1752 Жыл бұрын
Bro excel sheet eclipse la open aagamatuku
@letcode
@letcode Жыл бұрын
Ms Excel system la install iruka?
@suriyarajkumar8625
@suriyarajkumar8625 Жыл бұрын
Hi Bro, Im getting the following error when i use latest Apache POI however it is working fine when i use the same version as yours.. what has to be changed when we use latest one ? please advise
@letcode
@letcode Жыл бұрын
Pls use the same version as i used. The latest version might have some changes.
@raptrdelta2095
@raptrdelta2095 2 жыл бұрын
Bro customized excel report create Panna mudiyama selenium la
@letcode
@letcode 2 жыл бұрын
Pannalam bro, with Apache poi. Testng listener vechi pannalam
@praveenakathir3134
@praveenakathir3134 Жыл бұрын
i have error in logj4j how to resolve to error
@letcode
@letcode Жыл бұрын
What is the error message?
@ITZME11592
@ITZME11592 Жыл бұрын
Bro can u pls provide any sample cucumber framework with test cases for my interview preparation... Can u share GitHub link if u hav?
@letcode
@letcode Жыл бұрын
Cucumber + Selenium Java: kzbin.info/aero/PL699Xf-_ilW6oK3_otMtu7BPqiy0VlkE-
@ravichandran4452
@ravichandran4452 2 жыл бұрын
Thank you bro keep rocking
@letcode
@letcode 2 жыл бұрын
Thanks bro 😄
@avengersendgame8617
@avengersendgame8617 2 жыл бұрын
Sir am facing error status logger Log4j could not find logging implemenation in line 10... I wrote the code u mentioned in this video sir... but getting error like this.
@letcode
@letcode 2 жыл бұрын
Might be dependices error, kindly force update maven project.
@avengersendgame8617
@avengersendgame8617 2 жыл бұрын
@@letcode sir I tried force updating but the same error exist...
@avengersendgame8617
@avengersendgame8617 2 жыл бұрын
Sir I tried poi-ooxml only 3.9 version dependency... now its working... thank you sir...
@letcode
@letcode 2 жыл бұрын
@@avengersendgame8617 ok super
@avengersendgame8617
@avengersendgame8617 2 жыл бұрын
@@letcode sir the code is working but am eager to know how it's working could you please clarify it sir..
@manikutty007
@manikutty007 8 ай бұрын
Nice
@letcode
@letcode 8 ай бұрын
🙋
@thangapandi2906
@thangapandi2906 3 жыл бұрын
how to use apache poi and poi ooxml dependency in intelij
@letcode
@letcode 3 жыл бұрын
Same if it's maven project. You have to add dependencies in pom.xml
@rajarathinam1965
@rajarathinam1965 2 жыл бұрын
Yaravydhu number kudunga dout ketu clarify pannikiren please
@letcode
@letcode 2 жыл бұрын
You can ask here your doubt discord.gg/EdbBuqNq
@rajarathinam1965
@rajarathinam1965 2 жыл бұрын
Error parsing lifecycle processing instructions
@letcode
@letcode 2 жыл бұрын
Issue fixed ah ? Video sequence ah paaru bro, Playlist follow panna podhum
@rajarathinam1965
@rajarathinam1965 2 жыл бұрын
Selenium testng kuduthjngala edhuku modha video annupunga
@letcode
@letcode 2 жыл бұрын
Playlist eh follow Pannu bro.
@logeshraja5489
@logeshraja5489 3 жыл бұрын
Hi bro, I followed the same code but i'm getting null pointer exception for the stringCell value. Could you please advise
@letcode
@letcode 3 жыл бұрын
Is the cell has string value? If so delete the entire row and then add the value and execute. Or might be problem with loop as well
@logeshraja5489
@logeshraja5489 3 жыл бұрын
@@letcode now working fine bro after deleting and given values again !😊
@vishnuj7617
@vishnuj7617 Жыл бұрын
14:41 I got a error as "Cannot get a string value from a numeric cell".
@letcode
@letcode Жыл бұрын
I have covered that in the next video, pls watch that
@balarj624
@balarj624 2 жыл бұрын
I tried to read date from excel but it return as null
@letcode
@letcode 2 жыл бұрын
Delete the row from Excel and create the data again and try reading
@rajarathinam1965
@rajarathinam1965 2 жыл бұрын
Bro discard la msg Panirken please reply
@yaserarafat9058
@yaserarafat9058 2 жыл бұрын
Getting error row cannot be resolved !
@letcode
@letcode 2 жыл бұрын
Row correct ah declare agala bro.
@yaserarafat9058
@yaserarafat9058 2 жыл бұрын
@@letcode Ty bro , can we feed the excel input into an web application ?
@ashikmohamed3465
@ashikmohamed3465 2 жыл бұрын
Source code is not working
@letcode
@letcode 2 жыл бұрын
Why ?
@rajarathinam1965
@rajarathinam1965 2 жыл бұрын
Dependencies kila error kamikudhu
@praveenakathir3134
@praveenakathir3134 Жыл бұрын
refers agamattathu Sir
@letcode
@letcode Жыл бұрын
Yedhu refer agala?
@rajarathinam1965
@rajarathinam1965 2 жыл бұрын
Pom.xxl click panna kamikudhu edhuku munadi yenda video pakanum
@SharmilaDevi-c7d
@SharmilaDevi-c7d 8 ай бұрын
Im getting Class not found Exception .. pls tell me how to solve
@letcode
@letcode 8 ай бұрын
Dependencies are not downloaded properly. Force update maven project. To force update a Maven project in Eclipse, you can follow these steps: 1. Right-click on your Maven project in the Project Explorer. 2. Navigate to "Maven" in the context menu. 3. Select "Update Project." This will update your Maven project, fetching the latest dependencies and updating the project configuration.
Good teacher wows kids with practical examples #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 12 МЛН
إخفاء الطعام سرًا تحت الطاولة للتناول لاحقًا 😏🍽️
00:28
حرف إبداعية للمنزل في 5 دقائق
Рет қаралды 77 МЛН
Mohanasundaram Non Stop Comedy Speech
38:00
The Winker Tamil
Рет қаралды 642 М.
TestNG Part - 14 | Selenium தமிழ் | Selenium Tamil Tutorial
15:12
LetCode with Koushik
Рет қаралды 8 М.
Window Handling | Selenium தமிழ் | Selenium Tamil Tutorial
17:32
LetCode with Koushik
Рет қаралды 30 М.
Good teacher wows kids with practical examples #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 12 МЛН