to get the count of number of pages in a web based pdf file , without downloading or passing the path of the pdf

to get the count of number of pages in a web based pdf file , without downloading or passing the path of the pdf

Use Case Description

i have a scenario where i will be clicking on the pdf link , it opens in a print window. would like to know number of pages in that document.

AS-IS WORKFLOW, TO-BE WORKFLOW

-

Other information about the use case

Industry categories for this use case: Healthcare Pharma

Skill level required: Intermediate

UiPath Products that were used: UiPath Studio

Other applications that were used: -

Other resources: -

What is the top ROI driver for this use case?: Other

You can use get text activity to get the total count of that document by capturing the yellow highlighted data
image

Thanks & Regards,
Nived N

1 Like


@Siddarth_Nagarabenchi
you can see the pdf page (1/6) numbers here. you can capture it using UiPath web activities.

1 Like

Hi Shubham,

Thanks for the reply, i have similar print window, however the issue is which particular activity i can use? while using get text, screen scrapping , i am not able to point to this element . even when i capture it by using select image region, i can not validate as regex wildcard. not able to point to the element, its picking complete bar.

Hi Nived,

Thanks for the reply, i have similar print window, however the issue is which particular activity i can use? while using get text, screen scrapping , i am not able to point to this element . even when i capture it by using select image region, i can not validate as regex wildcard. not able to point to the element, its picking complete bar.

Hi @Siddarth_Nagarabenchi

After opening the pdf in the print window, you can see the number of pages present in the pdf file in the top right corner.

1 Like

Hi @Siddarth_Nagarabenchi

in UiExplorer you can toggle b/w different UI Frameworks like default, active accessbility and UI Just change to active accessiility and then see whether it is highlighted or not

image

2 Likes

Hi All, Thanks for your answers, I have used Get text, where element was able to detect, and Screen scrapping where element was not detecting, however i finally found the element using open ui explorer. So finally i got the count with this approach and its working fine, thanks all for your inputs.

Hi nived, problem solved once i identified the element using open ui explorer, i moved across the dom structure to find the right elemet, its working fine, thanks for your input

Thats good to know @Siddarth_Nagarabenchi

Kindly mark the appropriate answer as solution so we can close the topic

Thanks & Regards,
Nived N