cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot Spy CaseWare App elements

BarryBell
Level 4
Hello BP community.  I am working with an app called CaseWare Working papers. This is a 64 bit application and I have set my application wizard on the 64 bit setting.

I have not been able to spy the document tree below in any of the spying modes.  The best I can get is for BP to spy the outer box. I also tried the application navigators with no results. Has anyone ever had a case like this and if so can you point me in the right direction?

Respectfully, 


17394.png


------------------------------
Barry Bell
RPA Manager
DHGLLP
America/New_York
------------------------------
1 BEST ANSWER

Helpful Answers

LucaValente
Staff
Staff
Hi Barry,

treeview objects often use components that are not easy to identify in the .NET layer. Have you tried to use the Application Navigator or UI Application Navigator (from the Identify button drop-down)? It is possible the elements are listed in the Navigator even if they are not highlighted when you use the regular Identify action. If that doesn't work, you might have to explore other techniques, like:
- Send Keys actions to navigate the tree (arrow up, arrow right to expand, Enter to select...)
- Send Keys actions to copy the content of the treeview to the clipboard and then parse the string (CTRL-A + CTRL-C)
- Region Mode: if the name of the treeview folders are consistent, you can easily spy i.e. the folder General image and then click on it

------------------------------
Luca Valente
Senior Product Consultant
Blue Prism
America/New_York
------------------------------

View answer in original post

2 REPLIES 2

LucaValente
Staff
Staff
Hi Barry,

treeview objects often use components that are not easy to identify in the .NET layer. Have you tried to use the Application Navigator or UI Application Navigator (from the Identify button drop-down)? It is possible the elements are listed in the Navigator even if they are not highlighted when you use the regular Identify action. If that doesn't work, you might have to explore other techniques, like:
- Send Keys actions to navigate the tree (arrow up, arrow right to expand, Enter to select...)
- Send Keys actions to copy the content of the treeview to the clipboard and then parse the string (CTRL-A + CTRL-C)
- Region Mode: if the name of the treeview folders are consistent, you can easily spy i.e. the folder General image and then click on it

------------------------------
Luca Valente
Senior Product Consultant
Blue Prism
America/New_York
------------------------------

Luca, thank you for reaching out. We did open the App Navigator and UI App Navigator but the tree items were missing.  The way the app was written is part of the problem, I tried the Java Bridge as well because the app is partially written in "J Script". Region mode was a non-starter because every client's binder tree is different. We were working with send keys navigating the tree blindly but this was not optimal for speed.  I did not think of trying to copy the content to the clipboard and then parsing it. I did try using a navigation stage to "get all items" or reading the area without success. Our App Dev department has found a way to use their Software Design Kits and will be writing code for the bulk migration.  

Thanks again for your input.

Respectfully,

Barry

------------------------------
Barry Bell
RPA Manager
DHGLLP
America/New_York
------------------------------