Forum Discussion

narender_1's avatar
narender_1
Contributor
12 years ago

How to automate Popup window objects

Hi,

 Iam unable to automate on my second browser window ( Popup window) which is opening just like new explorer window.



I have tried using Record and play back but Iam unable to run it after recording...Error:- object does not exist error

 In name mapping Iam able to see the recorded objects  whenIam trying to highlight  but they are not highlighting.



I have also tried using map object from screen here also same problem Iam facing.(Iam able to capture my objects but they are not highlighting)



Please find the attachment how two windows  looks. (after clicking a button on first page we can see second page).

Please let me know for further clarification....



Please Let me know the procedureto automate...



Thanks in Advance,

Narender

2 Replies

  • aqAnt's avatar
    aqAnt
    SmartBear Alumni (Retired)

    Hello Narender,


    Could you clarify how exactly the window is recognized in the Object Browser? Could you also ask your developers how the window's contents are created?


    Thanks in advance.

  • prakashk's avatar
    prakashk
    Occasional Contributor

    Hello Narender,



    I am following Descriptive Programming, and Am also faced like same problem.



    Example: When I Launch  IE - 8 Browser, dlgSetUpWindowsInternetExplorer8(pop-up) appearing, So I mapped these Pop-Up in Name Mapping and exit popups.

    Here are the example:

     Set iexplore = Aliases.IEXPLORE

     Set Page = iexplore.dlgSetUpWindowsInternetExplorer8

     If Page.Exists = True Then

     Page.Close

     End If




    Hope It'll useful for u....



    Regards,

    -Prakash

    prakashkonduru@hotmail.co.uk