Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Link in a webtable in a webtable
#1
Not Solved
Hi there,

I'd need your help because I can't get rid of an error message.

Given is a dynamic changing webtable, its cells are webtables as well, each cells contain one link I'd like to click on.


Code:
Set WebTableDescription = Description.Create
WebTableDescription("html tag").value = "TABLE"
Set TableRow = Page("page").WebTable("list").ChildObjects(WebTableDescription)
TableRow(10).ChildItem(1, 2, "Link", 0).Click


But UFT tells:

Code:
General run error.
Line (49): "TableRow(10).ChildItem(1, 2, "Link", 0).Click"


The error number is 2147467259 but I couldn't find a solution. 

It would be very nice if somebody could help: )
Reply
#2
Not Solved
First identify the TableRow uniquely and then use this syntax.


Code:
TableRow.ChildItem(1, 2, "Link", 0).Click
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Webtable objects recognise as weblist in UFT 12.5 Sharad Kumar 0 1,143 12-06-2018, 04:57 PM
Last Post: Sharad Kumar
  does WebTable Object provides a method to get column number umer830 4 12,838 07-06-2018, 09:32 AM
Last Post: vijaychourasiya0109@gmail.com
Toungue how to get values of childItem of a webtable caze 17 119,297 11-06-2017, 01:05 PM
Last Post: sivaji
  How to identify dynamic webtable as unique in QTP? sudheendramurthy 4 18,478 02-23-2016, 06:16 PM
Last Post: vinod123
  Problem with large webtable JoshS 0 1,762 08-26-2015, 04:04 AM
Last Post: JoshS

Forum Jump:


Users browsing this thread: 1 Guest(s)