IEAutomation problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • upendrasingh
    New Member
    • Feb 2008
    • 4

    IEAutomation problem

    hi all,
    i am writing an automation framework in perl that includes web browsing.i am using Win32::IEAutoma tion package for that purpose.actuall y the goal is to download a cab file from https://winqual.microso ft.com.after navigating through number of pages my script get the page for cab file downloading.tha t cab file download page is a result of my searching on the previous page with an event ID.correspondin g to one event ID there are three possible status for the cab file.1-cab file is available for download,2-it is not available and 3-it contains some error.correspon ding to these three status one of the 3 different small images got displayed on the page and only one of them is cliackable.mean s if the cab file is not available or contains error then the images that got displayed can't be clicked.
    now the goal of my script is to click on the image if the cab file is available.actua lly in the html code of that page they have used a placeholder image that get replaced by the corresponding image after calculating the cab status.all of this is done using JS.i tried to access the image via the id of the placeholder img tag but it's not working.....wha t shud i do now????is there any alternate way???
  • nithinpes
    Recognized Expert Contributor
    • Dec 2007
    • 410

    #2
    Originally posted by upendrasingh
    hi all,
    i am writing an automation framework in perl that includes web browsing.i am using Win32::IEAutoma tion package for that purpose.actuall y the goal is to download a cab file from https://winqual.microso ft.com.after navigating through number of pages my script get the page for cab file downloading.tha t cab file download page is a result of my searching on the previous page with an event ID.correspondin g to one event ID there are three possible status for the cab file.1-cab file is available for download,2-it is not available and 3-it contains some error.correspon ding to these three status one of the 3 different small images got displayed on the page and only one of them is cliackable.mean s if the cab file is not available or contains error then the images that got displayed can't be clicked.
    now the goal of my script is to click on the image if the cab file is available.actua lly in the html code of that page they have used a placeholder image that get replaced by the corresponding image after calculating the cab status.all of this is done using JS.i tried to access the image via the id of the placeholder img tag but it's not working.....wha t shud i do now????is there any alternate way???
    If you can provide code/part of code that you have tried so far, someone here may be able to help you out.

    Comment

    • KevinADC
      Recognized Expert Specialist
      • Jan 2007
      • 4092

      #3
      Originally posted by upendrasingh
      hi all,
      i am writing an automation framework in perl that includes web browsing.i am using Win32::IEAutoma tion package for that purpose.actuall y the goal is to download a cab file from https://winqual.microso ft.com.after navigating through number of pages my script get the page for cab file downloading.tha t cab file download page is a result of my searching on the previous page with an event ID.correspondin g to one event ID there are three possible status for the cab file.1-cab file is available for download,2-it is not available and 3-it contains some error.correspon ding to these three status one of the 3 different small images got displayed on the page and only one of them is cliackable.mean s if the cab file is not available or contains error then the images that got displayed can't be clicked.
      now the goal of my script is to click on the image if the cab file is available.actua lly in the html code of that page they have used a placeholder image that get replaced by the corresponding image after calculating the cab status.all of this is done using JS.i tried to access the image via the id of the placeholder img tag but it's not working.....wha t shud i do now????is there any alternate way???
      Please use proper grammar and punctuation. Your post is too difficult to read, especially for a blind person, like me.

      Comment

      • upendrasingh
        New Member
        • Feb 2008
        • 4

        #4
        Hey I posted that in hurry.Sorry for that.I am posting the problem again.


        hi all,
        I am writing an automation framework in perl that includes web browsing.I am using Win32::IEAutoma tion package for that purpose.Actuall y the goal is to download a cab file from https://winqual.microso ft.com.After navigating through number of pages my script get the page for cab file downloading.Tha t cab file download page is a result of my searching on the previous page with an event ID.Correspondin g to one event ID there are three possible status for the cab file.1-cab file is available for download,2-it is not available and 3-it contains some error.Correspon ding to these three status, one of the 3 different small images got displayed on the page and only one of them is cliackable;mean s if the cab file is not available or contains error then the images that got displayed can't be clicked.
        Now the goal of my script is to click on the image if the cab file is available.Actua lly in the html code of that page, they have used a placeholder image that get replaced by the corresponding image after calculating the cab status.All of this is done using JS.I tried to access the image via the id of the placeholder img tag but it's not working.....Wha t should i do now?Is there any alternate way?

        Comment

        • KevinADC
          Recognized Expert Specialist
          • Jan 2007
          • 4092

          #5
          Well, now that I was able to read your question, even though you still don't put spaces at the beginning of sentences, I have no idea how to do what you are trying and have no suggestions. Maybe someone else will.

          Comment

          Working...