Hi,
I am trying to validate the text value inside a cell in pdf. But while capturing the object, it is getting identified as rows and as single column. I am unable to identify the same as separate colums. PLS see attachement for refrence. I tried a code which is not working for now and pls the same below. Can u help in indentifying a particular cell in table in pdf. (Is it passible to validate a cell whether it is blank or not?)
Public Sub PDFTable()
Dim Rows, Cols as Integer
dim tab as Table = repo.FormReport.TableTable
MsgBox(tab.Columns.Count)
MsgBox(tab.Rows.Count)
For Rows=0 To tab.Rows.Count-1
For Cols=0 To tab.Columns.Count-1
Msgbox(tab.Columns(Cols).Cells(Rows).Text)
Next
Next
End Sub
Thanks,
Adi
How can we validate PDF Table cell value
-
- Posts: 6
- Joined: Sat May 19, 2012 11:56 am
How can we validate PDF Table cell value
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: How can we validate PDF Table cell value
That's impossible to tell without a Ranorex snapshot. As explained in the posting guidelines, please post a Ranorex snapshot of the PDF reader application when the PDF table is shown!Adhisesha Reddy wrote:Can u help in indentifying a particular cell in table in pdf. (Is it passible to validate a cell whether it is blank or not?)
BTW what PDF reader are you using?
Regards,
Alex
Ranorex Team
-
- Posts: 6
- Joined: Sat May 19, 2012 11:56 am
Re: How can we validate PDF Table cell value
Hi Alex,
Shared the Screenshot of the table of PDF.
Regards
Adi
Shared the Screenshot of the table of PDF.
Regards
Adi
You do not have the required permissions to view the files attached to this post.
-
- Posts: 6
- Joined: Sat May 19, 2012 11:56 am
Re: How can we validate PDF Table cell value
Adobe version is 8.2.5
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: How can we validate PDF Table cell value
Hi,
You can try to disable the MSAA filtering in Ranorex, just open the general settings of Ranorex and click on the "Plugins" tab, there you will find the option "Filter elements". Please try to set this to false, but consider that this is not recommended for "normal" purposes.
If this don't help you can also try to update Adobe as it is quite an old version.
For further investigations it would be great if you could upload your pdf?
Regards,
Markus
Ranorex Support Team
You can try to disable the MSAA filtering in Ranorex, just open the general settings of Ranorex and click on the "Plugins" tab, there you will find the option "Filter elements". Please try to set this to false, but consider that this is not recommended for "normal" purposes.
If this don't help you can also try to update Adobe as it is quite an old version.
For further investigations it would be great if you could upload your pdf?
Regards,
Markus
Ranorex Support Team