CS agents will respond to tickets via forum instead of private helpdesk to support other users with similar issues.

duyluong

About

Username
duyluong
Joined
Visits
152
Last Active
Roles
Member

Activity

  • Zac Anderson
    Hi Ramesh,
    Thanks for that, seems I was way behind on Katalon as well, I've updated to 5.2 from 4.7 and now can not log in and have to activate my product, can you help me out please? 
    Thanks
    December 12
  • Ramesh

    Hi duyluong,

    "Currently, a instance of TestData only loads one sheet that was specified in your Test Data.

    To deal with your case, we can do this:
    ExcelData myData = (ExcelData) ObjectRepository.findTestData("your_test_data_id")

    def dataOfSheetA = myData .changeSheet("sheet_A").getAllData()

    def dataOfSheetB = myData .changeSheet("sheet_B").getAllData()
    To list all sheet names of a test data, please try:
    myData.getSheetNames() (String[])
    Please remember that ExcelData is an implementation of TestData and only works for Excel file.

    Hopefully, my sharing will help you."

    What "your_test_data_id" and ObjectRepository refer here...?

    September 18

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!