How to read and Write Data into Excel sheet in Katalon

  Рет қаралды 5,336

Test tube-The Knowledge Feast(TKF)

Test tube-The Knowledge Feast(TKF)

Күн бұрын

Пікірлер: 16
@yogeshbhavsar9368
@yogeshbhavsar9368 3 ай бұрын
wonderful videos .Please share your github URL for katalon and selenium page object model
@maharaja3009
@maharaja3009 2 жыл бұрын
Thank you so much for the video. Do we need to load any jar to support the xlsx read and write functionality.
@testtube-tkf
@testtube-tkf 2 жыл бұрын
you don't have to load any jars separately, they are already part of katalon library. when you type XSSFWorkbook, xssfsheet classes/it's methods you can right click on that text and select source>organize imports and it will load the relevant katalon/selenium libraries. In this case it will load the below apache poi libraries when you "organize imports" ..... import org.apache.poi.xssf.usermodel.XSSFSheet import org.apache.poi.xssf.usermodel.XSSFWorkbook
@_PhamHongThang
@_PhamHongThang 11 ай бұрын
"Nice" Video :))
@_PhamHongThang
@_PhamHongThang 11 ай бұрын
very very "NICE" :))
@testtube-tkf
@testtube-tkf 9 ай бұрын
thank you phamhongthang
@aseplamri2290
@aseplamri2290 7 ай бұрын
If you want me to try, I get an error, why?
@bhavpatel2196
@bhavpatel2196 3 жыл бұрын
Thanks for such informative video I'm trying to use excel data, could you tell me how can I avoid using duplicate data plz? So basically if I used coloum 1 (username) and coloum 2 (password) I want to avoid same row next time and want katalon to pick next username and password ( not the one used before) plz. Hope that make sense.
@gamingragnarok1945
@gamingragnarok1945 2 жыл бұрын
How to read the data on the different sheet? I got 3 data sheet on excel i want to get the sheet1 value row 1 ,column 1 and the sheet2 value row 1 and column 1. How can i be specific in reading the value on the different sheet?
@testtube-tkf
@testtube-tkf 2 жыл бұрын
Many ways to do this. 1) if you want to use katalon keyword findTestData() to achieve this refer to 5:00 - 6:00 timeline. You can see that orangeHRM.xlsx excel having multiple sheets sheet1(login),sheet2(add) which gives an option to choose. All you have to do is create different katalon data sheets like add,login in this case and map it to whichever sheet you want in the given excel file. 2) As explained in 11:40 - 15:30 you can use workbook.getSheetAT(sheetno.) method to choose different sheets in the same excel file and then read the data. Hope this helps........
@Focuz-Automation
@Focuz-Automation 4 жыл бұрын
How to skip a row, based on the COLUMN name - Execute with value yes or no. Thanks.
@testtube-tkf
@testtube-tkf 4 жыл бұрын
There are many ways to do this and the following is just one of many ways............ ####################### your code if(sheet.getRow(rowno).getCell(columnno).getStringCellValue()=="no") rowno=rowno+1 else rowno=rowno your code ######################
@Focuz-Automation
@Focuz-Automation 4 жыл бұрын
@@testtube-tkf i.stack.imgur.com/5scf7.png How to handle this using Kataton inbuilt methods.
@testtube-tkf
@testtube-tkf 3 жыл бұрын
@@Focuz-Automation "findTestData" is katalon inbuilt keyword that you can use and there are many ways to do this and following is just one way of doing it........ And more over you don't have to make an excel sheet which will decide a test to be executed in Katalon, you just have to create a testsuite with the test cases you wanted to run whenever you need. ##################################################### if(findTestData(dataPath).getValue('To Be Executed', testrow)=="No") // Do Nothing else // write the code for your test execution ######################################
@Supercalifragilisticexpi-wq9bx
@Supercalifragilisticexpi-wq9bx 8 ай бұрын
audio is very very less
@testtube-tkf
@testtube-tkf 8 ай бұрын
Yeah, the old videos has less volume. Sorry for that
Katalon Studio | How To Get Data From Excel
18:19
Automation Step by Step
Рет қаралды 70 М.
Миллионер | 3 - серия
36:09
Million Show
Рет қаралды 2,2 МЛН
Lamborghini vs Smoke 😱
00:38
Topper Guild
Рет қаралды 57 МЛН
Katalon Automation Lesson 12 - Data Driven Testing | Get Data from Excel | Data Files| (2022)
17:15
Katalon Automation Lesson - 27 | Data-Driven Testing using Multiple Sources |Database & Excel Sheets
23:26
Katalon Studio 6 - How to create Test in MANUAL mode
17:58
Automation Step by Step
Рет қаралды 97 М.
It’s time to move on from Agile Software Development (It's not working)
11:07
Миллионер | 3 - серия
36:09
Million Show
Рет қаралды 2,2 МЛН