Posts: 8
Threads: 2
Joined: May 2012
Reputation:
0
05-25-2012, 12:51 PM
Hi,
I'm having a problem getting a specific image inside a dynamic webtable.
There are 6 Columns and 21 Rows in the webtable.
In the 1st column, there are 1 checkbox and 3 images.
I want to get the 1st image on that column.
Can you help me how to retrieve the image.
Thanks
Posts: 426
Threads: 4
Joined: Aug 2011
Reputation:
0
05-25-2012, 01:47 PM
Hi,
U can use Browser().Page().webtable().childItem()
Specify the class and index for the image with cell address.
Let me know in case u need any further help.
Regards,
Sankalp
Posts: 8
Threads: 2
Joined: May 2012
Reputation:
0
05-28-2012, 12:48 PM
Thanks sir Sankalp,
Can you fill the question mark for the childItem parameters.
in page().webtable().childItem(2,2,"Image",0)
2 - ?
2 - ?
Image - class
0 - ?
Thanks
Posts: 84
Threads: 29
Joined: Mar 2008
Reputation:
0
05-28-2012, 01:04 PM
Please find answers for your question
2 - Row no
2 - Col no
Image - class
0 - Index no
Posts: 84
Threads: 29
Joined: Mar 2008
Reputation:
0
05-29-2012, 08:06 AM
Image may not be available in 0th Row with 1st Column. Can you check it once from which row and which column Images are available in webtable.