Micro Focus QTP (UFT) Forums
Cannot identify the object "Webtable" - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Cannot identify the object "Webtable" (/Thread-Cannot-identify-the-object-Webtable--8744)



Cannot identify the object "Webtable" - korunu - 05-11-2016

I tried to access different tabs from an excel sheet, i'm getting below Run Error message 

Code:
Code :
   .WebElement("Create new object icon").Click
           .WebElement("Dashboards").Click
‘Report
           .Link("REG L4 AVG Consolidated").Click

'Tab selection
            .WebTable("html tag:=TABLE", "innertext:=" & datatable.Value("Tab_Name",1) & "").Click

Run Error:

Cannot identify the object "[ WebTable ]" (of class WebTable). Verify that this object's properties match an object currently displayed in your application

".WebTable("html tag:=TABLE", "innertext:=" & datatable.Value("Tab_Name",1) & "").Click".


Please find the attachment how my tabs look

How to fix above error ?


RE: Cannot identify the object "Webtable" - Ankesh - 06-29-2016

Try adding few other properties or HTML ID if available to the webtable description.