Forum Discussion

TrevorM's avatar
TrevorM
Occasional Contributor
4 years ago
Solved

Copy and paste data from Excel to application under test (javascript)

My application under test is a  desktop app for finance I need to copy a range of data from an xlsx file to the clipboard and then paste this into my app, i.e. I do not need to read the data into Te...
  • hkim5's avatar
    hkim5
    4 years ago

    you would need to scrip that portion, and create a helper function to "copy" the values from the selected cell ranges.

    something like a for loop restricted by the length set by the user dictating the rows to iterate over, appending each cell value to a list or dictionary? I think would be the simplest way to reuse the values again later in another application as your end use would.