Reading Data from excel sheets in Katalon studio - katalon-studio

How to read data from excel sheets(sheet 1,sheet 2...etc) in Katalon Studio.
I am able reading the data from one sheet.But I am facing the difficulty with multiple sheets.

Without knowing exactly what the problem you face is, here are my first suggestions to check:
You do have to create different Test Data files for each sheet in your file that you want to use. Two Test Data files for the same spreadsheet file
In your new Test Data inside Katalon, just select your file and then you can select the different sheet. Sheet selection options
If you can't see a sheet in the drop down on your Test Data page (perhaps you just added it to the spreadsheet) refresh your project, or at the very least refresh the Test Data. (ctrl-F5 to refresh the entire project, highlight the Test Object and then right-click and select or hit F5 to refresh the Test Data)
Hope this helps.

You cannot switch excel sheets from Katalon, at least natively. Maybe with some custom programming.

Related

Blue prism Calculator by fetching excel sheet

I wanted to launch calculator application in which we have to fetch value from excel and update the result back in the excel sheet.
Automate the process using windows application type available in the automation tool.
What exactly is your question?
If you are a beginner and want to know how to start, here you go:
To launch and work with calculator(windows) application - use object studio.
To work with excel ( to read and write back to excel using MS Excel VBO provided by Blueprism).
Create separate action pages (for addition, subtraction, multiply etc.,) in object and publish them and then call those published actions from process studio using Action stage (by passing input values read from excel)
If you can share your exact question - I will be able to help you out.

How to show an excel button that allows the users to download the results in tableau

I want to show an excel button that allows the users to download the results.
I want the users to download the table data shown in the workbook. The user should be able to download the filtered data.
For example if he selects regions as 'America', then in the excel sheet he must get only the data having 'America' as the region.
Please help me in achieving this!
The short answer is that you can't.
Unfortunately, there's not Excel download button like download PDF for the moment.
The long answer is about two workarounds that you can follow:
if you're using Tableau Server you can simply add .csv to your view's URL to make it downloadable in CSV. For example http://tableauservercompany/#/myview will become http://tableauservercompany/#/myview.csv. You can also apply filters as described in this tutorial.
another workaround is to include in your workbook a worksheet (not a dashboard) with the table you want to let users download to Excel. In this way users can go to Download and select Excel file.
Once your dashboard is complete, just drag the download component (lower left corner in Object section), and set it for cross-tab (default is PDF).
This feature will be available if your dashboard is published on Tableau Server/Online and it will download the current data depending of what users see when they click on the download button.

Updating Excel sheet when we save data in document library

User did download the excel countries data from folders in the one SharePoint library Using “export to excel”. And also he store the Macro-enabled excel workbook.
1- When we save data in document library, we can get the data and call excel service REST API to write the data to the excel sheet. How to achive this ?
2- Is that possible, when running Macro's in Excel Workbooks stored in SharePoint?
When you click on 'Export to Excel', click anywhere on the data in the excel.
Then a tab will be highlighted in the Excel ribbon named 'Design'.
When you do changes in Doc library, just refresh it on the excel by clicking on the 'Refresh' button under 'Design' tab. Thats it.
You can even disconnect excel with SharePoint by clicking on 'Unlink' under 'Design' tab.
You can also export this excel to new SharePoint list by clicking on 'Export' under 'Design' tab.
Hope this helps.

Switch Data Source for Tableau Sheet

Given that Tableau apparently refuses to allow proper editing of the Data Source I have resorted to creating a new one from scratch.
The screenshot shows the situation: the old Data Source "NY FIPS 5" is still being attached to the Worksheet.
The intention is to use the new DataSource usCountyCrimeSummary : however it is unclear ( to me at least) how to disconnect the old Data Source from the existing sheet and then attach the new DataSource to that sheet.
The big surprise was when clicking on Edit Connection it did not allow selecting a different Data Source : instead it went into the properties of the existing Data Source. So then how to switch the Data Source?
One thing to note is that switching data sources will change for all sheets connected to that data source. If you only need to change the data source for one sheet out of many, copy that sheet to a new workbook, change it there, then copy it back.
Perhaps your broken data connection needs to be fixed first, but to change a data source go Data > Replace Data Source

How to export data from Chrome developer tool?

Network analysis by Chrome when page loads
I would like to export this data to Microsoft Excel so that I will have a list of similar data when loaded at different times. Loading a page one time doesn't really tell me much especially if I want to compare pages.
if you right click on any of the rows you can export the item or the entire data set as HAR which appears to be a JSON format.
It shouldn't be terribly difficult to script up something to transform that to a csv if you really need it in excel, but if you're already scripting you might as well just use the script to ask your questions of the data.
If anyone knows how to drive the "load page, export data" part of the process from the command line I'd be quite interested in hearing how
from Chrome 76, you have Import/Export buttons.
I was trying to copy the size data measured from Chrome Network and stumbled on this post. I just found an easier way to "export" the data out to excel which is to copy the table and paste to excel.
The trick is click Control + A (select all) and once the entire table will be highlighted, paste it to Microsoft Excel. The only issue is if there are too many fields, not all rows are copied and you might have to copy and paste several times.
UPDATED: I found that copying the data only works when I turn off the filter options (the funnel-looking button above the table). – bendur
Right-click and export as HAR, then view it using Jan Odvarko's HAR Viewer
This helps in visualising the already captured HAR logs.
I came across the same problem, and found that easier way is to undock the developer tool's video to a separate window! (Using the right hand top corner toolbar button of developer tools window)
and in the new window , simply say select all and copy and paste to excel!!
In Chrome, in the Developer Tools, under Network, in the Name column, right-click and select "Save as HAR with content". Then open a new tab, go to https://toolbox.googleapps.com/apps/har_analyzer/ and open the saved HAR file.
Note that ≪Copy all as HAR≫ does not contain response body.
You can get response body via ≪Save as HAR with Content≫, but it breaks if you have any more than a trivial amount of logs (I tried once with only 8k requests and it doesn't work.) To solve this, you can script an output yourself using _request.contentData().
When there's too many logs, even _request.contentData() and ≪Copy response≫ would fail, hopefully they would fix this problem. Until then, inspecting any more than a trivial amount of network logs cannot be properly done with Chrome Network Inspector and its best to use another tool.
You can use fiddler web debugger to import the HAR and then it is very easy from their on... Ctrl+A (select all) then Ctrl+c (copy summary) then paste in excel and have fun
I don't see an export or save as option.
I filtered out all the unwanted requests using -.css -.js -.woff then right clicked on one of the requests then Copy > Copy all as HAR
Then pasted the content into a text editor and saved it.
I had same issue for which I came here. With some trials, I figured out for copying multiple pages of chrome data as in the question I zoomed out till I got all the data in one page, that is, without scroll, with very small font size. Now copy and paste that in excel which copies all the records and in normal font.
This is good for few pages of data I think.
In more modern versions of Chrome you can just drag a .har file into the network tab of Chrome Dev Tools to load it.
To get this in excel or csv format- right click the folder and select "copy response"- paste to excel and use text to columns.
You can try use Haiphen, which is a chrome extension that allows you to analyze network traffic and what API calls a web application is making.