Forum Discussion

g_udayas's avatar
g_udayas
Occasional Contributor
13 years ago

Issue with capturing the Save As dialog and get the file name in IE 8.

Hi,



I;'m working on automating a Web Application using TC 9.10. I have a scenario to download the reports and save it locally. I'm using IE 8 for automating this web app. 



The problem is when Im saving the document, Im trying to get the name of the document, edit the name and the location and then save it to the machine.While trying to get the document name, the TC is taking a lot of time to capture the Save As window and to get the document name. The object name from which Im trying to get the file name is "Sys.Browser("iexplore").UIAObject("Save_As").Window("DUIViewWndClassName", "", 1).UIAObject("Explorer_Pane").Window("FloatNotifySink", "", 1).UIAObject("File_name_").wtext".



Please help me with this to increase the time taken to capture the object.



Thanks,

Udhay S












  • Hi Udhay,


     


    Make sure that the DirectUIHWND class is added to the MSAA settings (not *).


     

  • g_udayas's avatar
    g_udayas
    Occasional Contributor
    Hi Tanya,



    Thanks 4 ur Reply. I have added DirectUIHWND class to the MSAA settings and it is checked. Even with setting, the TC is not able to capture the window in less than 3 or 4 mins.



    Thanks,

    Udhay S.
  • g_udayas's avatar
    g_udayas
    Occasional Contributor
    Hi Tanya,



    The issue with the IE Save As dialog is solved with deleting the "*" Class in the UI Automation too. 



    Thank U for ur support.



    Thanks,

    Udhay S.