Read From Dropdown
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-10-22 01:34 PM
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
------------------------------
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-10-22 01:37 PM
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
------------------------------
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
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-10-22 02:13 PM
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
------------------------------
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
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-10-22 04:06 PM
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
------------------------------
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
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-10-22 04:23 PM
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
------------------------------
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
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-10-22 01:54 PM
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
------------------------------
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
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-10-22 01:45 PM
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
------------------------------
------------------------------
Usha Chukka
Senior executive
Cyient
Indian/Antananarivo
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-10-22 02:14 PM
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
------------------------------
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
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
13-10-22 01:24 PM
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
------------------------------
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
------------------------------
