Micro Focus QTP (UFT) Forums
QTP is not identifying table with column names property but its identifing with index - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: QTP is not identifying table with column names property but its identifing with index (/Thread-QTP-is-not-identifying-table-with-column-names-property-but-its-identifing-with-index)



QTP is not identifying table with column names property but its identifing with index - Anuradha B - 12-12-2014

I am using descriptive programming. To identify table, using table property 'column names' with value ending with reg exp ("Ex: OrdNo.*) but QTP is not identifying any table which has reg exp value. Please find the below code

Code:
Browser("name:=Browser name","creationtime:=0").Page("title:=Page name").Webtable("column names:=Reference No.*","cols:=4")

But QTP identifies with index value

Code:
Browser("name:=Browser name","creationtime:=0").Page("title:=Page name").Webtable("Index:=34","cols:=4")

I can't change the column name with index because in others machine it is working fine.

Recently i have downgraded from IE9 to IE8, thinking this might be causing the problem but not sure.

Please any one suggest solution for this issue.


RE: QTP is not identifying table with column names property but its identifing with index - Kirill - 02-12-2015

Hi

please take a look for a solution in the following article

http://relevantcodes.com/get-rowcolumn-of-an-object-in-a-webtable/