Is there a way to count dynamic table rows in citrix/image env in UIPATH - vb.net

I am doing automation to download all document by customer.
i am having trouble with counting total rows in table because it is image based env. you can see the following image
i have tried to find selectors, but there is no selector
Can any body tell me how can i do it
Thanks

if you are using image recording then try the following:
1. First select Image Recording and from Screen Scraping choose the option Screen Scraping as follow:
2. Just click on the image that you want to scrape data. In the follow up pop-up window select Region to Scrape option and specify the region/image to scrape as follow:
3. Then for your new scraped data select the following options on the right side as follow:
4 The output of your recording will be Text (unstructured data), so let us covert it to Data Table (structure data) so we can count the rows.
5 In order to do that we use Activity Generate Data Table
6 Lastly we use Activity For Each Row to count the rows and store them in a row_Counter variable.
7 Workflow as follow:
Hope these information will be useful.

Related

Table of content entries without heading

I'm working on auto generated word documents that consist of multiple test reports.
I want to automatically create a table of contents where one entry refers to one report.
But I can't simply use headings because each entry should contain info that is not on one line in the report.
Something like this:
No.
Test Id
Description
Result
Page number
1
ANZ-131QZXY
UV Light test
Passed
3
2
ANZ-132QYXX
Heat resistence test
Failed
8
I know how I can retrieve the information from the individual reports in VBA but I got stuck on how to generate the table. Is it even possible to add entries manually to a ToC without a heading existing?
PS: I use Word 365 and it's important that the ToC will work when saving the document as PDF.

Can SQL Server Reporting Services print multiple tables and charts on one page?

I'm new to SSRS and I'm not sure if what I want to do is possible with SSRS. I have a list of 100+ schools in my data set. I'd like to print one page per school, and for it to look like the picture below. Each table and chart are using a unique data set, but it's all coming from one main table.
Can SSRS print two separate tables and 2 charts on the same page per school?
If so, where do I set the page breaks and how would I set this up please? If you need any more information, please let me know.
Thank you!
You can use a list in order to group by school and set the page break property of the list to End.
As long as your table and graph data fit to one page, you can position report components as your sample layout

(Excel-VBA) Specific data import (on the background) in the active sheet

Would you please help me (total beginner) to prepare a VBA macro that would open a sheet on the background and import specific selection as shown below:
Let's say we have downloaded wordcount analysis (xlsx) like this downloaded from a CAT tool for testing.
Now I would need to add a macro to my main sheet that would read lines starting (Column A) with "All". If "All" then I'd need to record columns of that line (specficilly Columns A - O) in array / hashtable?.
Please take a look at this image that summs it all (better than explaining it for me :-)
Let me know in case you need to know more details.
All tips / suggestions are greatly appreciated.
Many thanks!
My suggestion (I'm a beginner too) would be to use the Macro Recorder. Great tool to learn (example).
start recording
filter for 'ALL'
copy/past the Cells
stop Recording
Then have a look at the recorded code and adjust it :)
Looking at your data and the final layout you are looking for, using a Pivot Table would provide you with all of the flexibility you need.
You can:
filter which data to display
generate calculated values based on data in other columns
choose what order your columns are displayed
dynamically change the layout if you decide you want a different view
From your data, I was able to generate the following Pivot Table in about 15 minutes.
There are several good, simple tutorials on building Pivot Tables. A Google search will turn up plenty.
Things you will need to learn about for your particular problem:
Classic display (I used the classic display to get this particular layout)
Calculated Fields (many of the columns in the pivot table are calculated based on your spec). There is a maximum string length of 255 characters for a field calculation, so you may need to rename some of the columns in the original data set.
Of course, basics of Pivot Tables
Loading new data and updating your pivot table
Good Luck!

GoogleBigQuery save as table

I ran this query with Google BigQuery:
SELECT repo.id, count(*) as count FROM (
TABLE_DATE_RANGE([githubarchive:day.events_],
TIMESTAMP('2015-01-01'),
TIMESTAMP('2015-06-01')
))
WHERE type = 'ForkEvent' group by repo.id
After I see the results, I want to save results as CSV or JSON. But GoogleBigQuery asks me to save as table. There are three parameters listed.
When I click the second drop down list Destination dataset, nothing shows up. I cannot make any selection. Therefore, I cannot save results successfully.
How can I solve this problem?
Reloading the UI and simply making sure your browser doesn't block any javascript loaded on the page should do it. If you have AdBlock or similar make sure it's disabled for the BigQuery UI.
Other than this, you can directly write the results of the query to a table in query mode, using the Destination Table option that is available under Show Options.
It sounds like there may be no datasets in the project you're trying to save the table in. First, you should create a dataset in your project, and then you should be able to use the dialog you're talking about to save to a table in your newly-created dataset.
As Pentium10 notes, you can also select a destination table in the query options in order to directly save to a table, but that will also require you to have a dataset in which to save the table.

Images in Crystal Reports

I am working on Windows Forms Projects.
I am creating a report for customers.
The report data is pulled from a "CustomerDetails" table.
A field in the table is called "CustPhotoName", this holds a string which relates to an image file.
I Currently have a report set up which runs for a single customer by passing in a customer ID. Then using the passed in ID to populate a Dataset with an ImageRow and then a sub report with the image from the dataset.
I am wanting to set up this report where I can pass in an array of customer IDs and produce the reports (1 page per customer with image (if CustPhotoName has value))
Please can someone let me know how is the best way to do this for the multiple customers.
Add a CustomerID parameter to the report. Type Number. Set it to allow multiple values. In the report's record-selection formula, add the following:
AND {table.customer_id} IN {?CustomerID}
You probably want to group the report by {CustomerID} as well. In the group's footer, select Section Expert and check New Page After. This way each customer will start on a new page.