473,399 Members | 2,159 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

IEAutomation problem

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
4 1867
nithinpes
410 Expert 256MB
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
4,059 Expert 2GB
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
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
4,059 Expert 2GB
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

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

Similar topics

117
by: Peter Olcott | last post by:
www.halting-problem.com
28
by: Jon Davis | last post by:
If I have a class with a virtual method, and a child class that overrides the virtual method, and then I create an instance of the child class AS A base class... BaseClass bc = new ChildClass();...
6
by: Ammar | last post by:
Dear All, I'm facing a small problem. I have a portal web site, that contains articles, for each article, the end user can send a comment about the article. The problem is: I the comment length...
16
by: Dany | last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by...
2
by: Mike Collins | last post by:
I cannot get the correct drop down list value from a drop down I have on my web form. I get the initial value that was loaded in the list. It was asked by someone else what the autopostback was...
1
by: siamps | last post by:
Hi, I have used IEAutomation module to automate IE broser. But, How to access the javascripts running inside some pages?. Can I access those methods defined inside the javascript?.
2
by: pandurusankar | last post by:
Hi, Need a pointer for managing File type button in HTML page, i am able to handle all the components in HTML using IEAutomation module like: text box, links, radio button, list box etc. but i...
0
by: tgkprog | last post by:
hi i'm trying to use Win32::IEAutomation to automate clickbank.com navigation and page saving i can login and go to the https://www.clickbank.com/account/showTransactions.htm page but cannot...
0
by: madhu188 | last post by:
I am using Win32::IEAutomation My script opens IE browser taking URLs from a notepad. While running this script the following error is thrown "Can't call method "readystate" on an undefined...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.