View Single Post
Old 01-23-2013, 03:41 AM   PM User | #1
Analogp
New to the CF scene

 
Join Date: Jan 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Analogp is an unknown quantity at this point
Problem in clicking the link in Win32-IEAUtomation in perl

Hi,

I wants to click the link which contains the image over it in perl IEAutomation.

The html source code for that link is given below.

[CODE]
<td id='KEY_TOOLTIP_Export_Table_View' class='IconSpacing'>
<a id='TLB_KEY_TOOLTIP_Export_Table_View' href="javascript:getCheckedList('/pmsmart/Request?Key=pop_export_item_tableview&OwnerType=Prj&OwnerID=181893&ItemType=Siu&DisplayCategory=Issu e&DispCatEng=Issue&SearchCount=11&IsRootFolder=false&NSPs=Y','Please select Issue to edit',false)" title="Export Issue Table View" >
<img src='images/export_projects.gif?RN=6.3_HF14' width='16' height='16' border='0' />
</a>
</td>
[CODE]

The perl code am having is given below.


[CODE]
use Win32::IEAutomation;

my $ie = Win32::IEAutomation->new( visible => 1, maximize => 1);

$ie->getLink('id:',TLB_KEY_TOOLTIP_Export_Table_View)->Click;

[CODE]



But it is not clicking that link which contains image.

I have attached the snapshot of the webpage also.

Anyone can tel me how to click the link?
Attached Thumbnails
Click image for larger version

Name:	mail3.JPG
Views:	42
Size:	45.9 KB
ID:	11885  
Analogp is offline   Reply With Quote