Micro Focus QTP (UFT) Forums
Web Table - 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: Web Table (/Thread-Web-Table)



Web Table - karraaruna - 08-26-2013

Hi,
I have a web table in which multiple elements are there like
listboxes 3 and then web edit boxes.
i want to enter data in each element and tried the send keys method but no use. can any one please help. the problems is sometime it is skipping and not selecting any values in the list or edit type item.
Code:
WshShell.SendKeys "{TAB}"
WshShell.SendKeys ("Issue")
WshShell.SendKeys "{TAB}"
wait(1)
WshShell.SendKeys "{TAB}"
WshShell.SendKeys ("Book")
WshShell.SendKeys "{TAB}"
thanks very much in advance.


RE: Web Table - ssvali - 08-27-2013

You can use ChildItems method.
Code:
Ex:- Browser("").Page("").WebTable("").ChildItems(Row,Col,"WebList",0)



Web Table - akhandesh - 08-28-2013

u can use Childitem method to interact with the contents present in the Table.

ex:
Code:
set MyTable=Browser("").Page("")
           MyTable.WebTable("").ChildItem("row","column","MicClass","Index")