By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,242 Members | 1,369 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,242 IT Pros & Developers. It's quick & easy.

IEAutomation problem

P: 4
hi all,
i am writing an automation framework in perl that includes web browsing.i am using Win32::IEAutomation package for that purpose.actually the goal is to download a cab file from https://winqual.microsoft.com.after navigating through number of pages my script get the page for cab file downloading.that cab file download page is a result of my searching on the previous page with an event ID.corresponding 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.corresponding to these three status one of the 3 different small images got displayed on the page and only one of them is cliackable.means 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.actually 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.....what shud i do now????is there any alternate way???
Feb 28 '08 #1
Share this Question
Share on Google+
4 Replies


nithinpes
Expert 100+
P: 410
hi all,
i am writing an automation framework in perl that includes web browsing.i am using Win32::IEAutomation package for that purpose.actually the goal is to download a cab file from https://winqual.microsoft.com.after navigating through number of pages my script get the page for cab file downloading.that cab file download page is a result of my searching on the previous page with an event ID.corresponding 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.corresponding to these three status one of the 3 different small images got displayed on the page and only one of them is cliackable.means 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.actually 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.....what 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.
Feb 28 '08 #2

KevinADC
Expert 2.5K+
P: 4,059
hi all,
i am writing an automation framework in perl that includes web browsing.i am using Win32::IEAutomation package for that purpose.actually the goal is to download a cab file from https://winqual.microsoft.com.after navigating through number of pages my script get the page for cab file downloading.that cab file download page is a result of my searching on the previous page with an event ID.corresponding 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.corresponding to these three status one of the 3 different small images got displayed on the page and only one of them is cliackable.means 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.actually 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.....what 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.
Feb 28 '08 #3

P: 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::IEAutomation package for that purpose.Actually the goal is to download a cab file from https://winqual.microsoft.com.After navigating through number of pages my script get the page for cab file downloading.That cab file download page is a result of my searching on the previous page with an event ID.Corresponding 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.Corresponding to these three status, one of the 3 different small images got displayed on the page and only one of them is cliackable;means 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.Actually 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.....What should i do now?Is there any alternate way?
Feb 28 '08 #4

KevinADC
Expert 2.5K+
P: 4,059
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.
Feb 28 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.