cancel
Showing results for 
Search instead for 
Did you mean: 

Read From Dropdown

SimanchalaPatt1
Level 4
Hello,

Our requirement is to read a VALUE from a web page. The VALUE keep on changing as per user raised the request( Which is basically a Dropdown (Ex: A or B or C or D) button while raising a request). After the request been raised, the value will be static(Let say: D).

So the problem we are facing is each time we spied it using Browser Mode & used "GET CURRENT VALUE" or "GET TEXT", we are getting result as the whole values under the DROPDOWN, instead of ONLY "D".

As per the above example, Result: ABCD
Required Result: D
Blue Prism : V 6.10.4
Browser: V106.0

Kindly advise.

------------------------------
Simanchala Pattanayak
Lead Solution Advisor
Deloitte USI
Bangalore
------------------------------
8 REPLIES 8

ManpreetKaur1
Level 8
Hi @SimanchalaPatta,

Whenever you deal with a dropdown, always make sure to try spying both the inner field of dropdown and outer field of dropdown. In your case, it seems you might have spied the outer field of dropdown, which is giving you the result of all 4 values. Try spying the inner field and hopefully, it will give you the correct value​

------------------------------
Manpreet Kaur
Manager
Deloitte
*If you find this post helpful mark it as Best Answer
------------------------------

Hello Manpreet,

Thanks for replying.
Actually we are getting a single option to identify (Not getting both Inner & Outer spying option)​

------------------------------
Simanchala Pattanayak
Lead Solution Advisor
Deloitte USI
Bangalore
------------------------------

Hello @SimanchalaPatta,

Did you try using any other mode e.g. UIA or AA mode for achieving the same functionality?​

------------------------------
Manpreet Kaur
Manager
Deloitte
*If you find this post helpful mark it as Best Answer
------------------------------

Hello Manpreet,

Are they reliable for a Web Application. Because previously we observed some cases where for the UIA mode the Blue Prism application itself used to get hang & terminate. AA Mode is not available. We are getting only Browser, Win32, UIA & Region mode here.

------------------------------
Simanchala Pattanayak
Lead Solution Advisor
Deloitte USI
Bangalore
------------------------------

Hi Simanchala,

try to read use Get Selected Item Texts it returns collection but in my case it returns the value which is selected or choose Get Selected Item which returns two columns collection.

Regards

Zdenek

------------------------------
Zdeněk Kabátek
Head of Professional Services
NEOOPS
http://www.neoops.com/
Europe/Prague
------------------------------

UshaChukka
Level 2
You can try using the UIA Mode to spy the element and do Get Text/Get Value which will give you the selected value for that dropdown field. It worked for our web applications.

------------------------------
Usha Chukka
Senior executive
Cyient
Indian/Antananarivo
------------------------------

Anil_KumarJutt1
Level 4
Hello,

In addition you can also refer to this.

https://community.blueprism.com/communities/community-home/digestviewer/viewthread?GroupId=385&MessageKey=6dfcfd0f-c72b-4444-87a2-8360165ead43&CommunityKey=1e516cfe-4d1f-4de9-a9eb-58d15bf38c81

Thanks!

------------------------------
Anil Kumar Juttada
RPA Business Analyst

------------------------------

Hello All,

We can able to read the element now using Browser mode, but the issue is in the output we are getting the Dropdown values, instead of the value present over the web page.
Kindly suggest how to read. 

FYI: In the normal BROWSER MODE, usually while identifying a wen element, we used to get an OUTER & an INNER element to read. But here we are getting only the OUTER element.

------------------------------
Simanchala Pattanayak
Lead Solution Advisor
Deloitte USI
Bangalore
------------------------------