Unable to SPY an IE popup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-04-20 07:28 PM
------------------------------
-Vincent Watkins
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-04-20 04:49 PM
Have you tried changing the Spy mode specifically for that Window? Perhaps you could spy it in Win32 mode?
Cheers,
------------------------------
Eric Wilson
Director, Partner Integrations for Digital Exchange
Blue Prism
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-04-20 01:00 AM
Hi Vincent,
Do you know how to manipulate IE popup by VBA?
If you know, the operation method using VBO is similar to the operation method using VBA.
this is VBA sample code:
Private Declare PtrSafe Function PostMessage Lib "user32" Alias "PostMessageA" (ByVal hwnd As LongPtr, ByVal wMsg As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr) As Long Declare PtrSafe Function FindWindow Lib "User32.dll" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long Sub ClickPopup() Dim hwnd As Long hwnd = FindWindow("#32770", "Message from webpage") If hwnd <> 0 Then PostMessage hwnd, &H111&, vbOK, 0 End If End Sub
- create another VBO for popup
- spy popup in the same way as the parent IE window
- create attach action for popup
when attach popup,
- set "1" to "Child Index"
- set "Message from webpage" to "Window Title"
Then you spy OK or Cancel button in IE popup, "Parent Class Name" is "#32770".
If you create VBO for popup in this way, it can be used for other IE windows, as they do not depend on what the IE's parent window is.
hope this suggestion helps you
------------------------------
Mitsuko
Asia/Tokyo
------------------------------
Mitsuko
Asia/Tokyo
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
24-04-20 09:48 AM
I had the same issue.
Thanks to your advice , I managed to spy IE popup.
Thank you so much.
------------------------------
-----------------------------
SCSK corporation
BluePrism Developer
Bazarsuren Odbileg
Asia/Tokyo
------------------------------
------------------------------
