Forum Discussion

lalit_chand's avatar
lalit_chand
Occasional Contributor
14 years ago

IE 8 File Chooser Dialog Issue

Hi Team,



We are using TC 7 and IE 8 on windows 7 (64-bit).



In our project ,we are using file choser box to upload the file by clicking on Browser button.



This script is working fine on IE 7  but getting failed in IE 8.



It would be great if someone can give us any pointer to this problem.



Thanks & Regards,

Lalit



  • Hi Lalit,



    Could you please post here the script that does not work for you and the text of the error that occurs when you run this script against Internet Explorer 8?







  • lalit_chand's avatar
    lalit_chand
    Occasional Contributor
    Hello David,

    Thanks for your reply.



    Below is the script , i am using to  set the value of File Chooser Dialog and it is working fine on IE 7 .



    *** VBscript *****

    '' remote location file name

    str_feeFile="[some remote location of file]"



    BuiltIn.Delay(5000)  

     

     Set object = window.NativeWebObject.Find("id","file_control")

    object.Keys(str_feeFile)

     window.wait



    *******************

    Note : i also tried  object.value = str_feeFile    instead of   object.Keys(str_feeFile)  in the above  code.



    There is no error/warning  in the log.



    Any pointer would be great.



    Regards,

    Lalit




  • Hi Lalit,



    You have told that this script fails on Internet Explorer 8 and then that it does not product any errors in the log. Could you please explain what exactly goes wrong when you execute this script?




    Also, if the tested page publicitly accessible? I would like to take a look at the page in order to understand the problem better. You can contact us directly using the Contact Support form.