# Read Test Data from Excel

**URL:** <https://forum.katalon.com/t/read-test-data-from-excel/25229>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [May 13, 2019, 7:01pm UTC](https://forum.katalon.com/t/read-test-data-from-excel/25229 "2019-05-13T19:01:49Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![umas181929](https://avatars.discourse-cdn.com/v4/letter/u/dfb087/32.png) [@umas181929](https://forum.katalon.com/u/umas181929)\
**Post date:** [May 13, 2019, 8:34pm UTC](https://forum.katalon.com/t/read-test-data-from-excel/25229/3 "2019-05-13T20:34:41Z")

</div>

Thanks Timo for your help!!!

I was using findTestData( ) and getValue( ) methods from katalon studio API.

below is snippet:

> ```
> WebUI.setText(findTestObject('Object Repository/Page_Login Salesforce/input_Username_username'), findTestData('Automation Test Data').getValue(
> 'UserName', 1))
> 
> ```

```
    WebUI.setEncryptedText(findTestObject('Object Repository/Page_Login Salesforce/input_Password_pw'), findTestData('Automation Test Data').getValue(
            'Password', 1))

```

If I have to use them and also read the data from another sheet, Do i need to create a custom getValue( ) method with sheet as parameter? OR does katalon studio API has a predefined method to perform this task.

Please let me know.

---

_[View the full topic](https://forum.katalon.com/t/read-test-data-from-excel/25229)._
