Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WebTable - Select Row
#1
Solved: 10 Years, 7 Months, 2 Weeks ago
Hi all,

When i select the row in the webtable by manual, the [Delete] and [Ship to this address] buttons was enabled and accessible. But when perform this action by QTP as:

Code:
Set Obj = rowser("Cyber").Page("AddressBook").WebTable("tblAddress").Object.rows(2)
Obj.Click

These button is still disabled, although the row was highlighted. I don't know why? So can anybody tell me the reason pls?

Thanks and BRs,
linhke
Reply
#2
Solved: 10 Years, 7 Months, 2 Weeks ago
You can Check for the events (if any) that are fired.

There might be some events(like onblur,onmouseup) that are fired when you do it manually, which QTP is not able to simulate.

~Rajeshwar.
Reply
#3
Solved: 10 Years, 7 Months, 2 Weeks ago
I found the solution for this action:

Code:
Browser("B").Page("P").Frame("F").WebTable("T").Object.rows(i).cells(i).Click
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Link in a webtable in a webtable Soulwalker 1 2,655 07-19-2017, 01:44 PM
Last Post: Ankur
  Searching for and selecting row in Datawindow zsl0009 0 2,648 08-04-2015, 01:02 AM
Last Post: zsl0009
  Webtable actions are not getting recorded, but ObjectSpy is able to identify webtable sahilarora2000 2 3,599 06-13-2014, 04:27 PM
Last Post: vinod123
  data sheet row count rushil 2 7,374 12-07-2012, 03:10 AM
Last Post: rushil
  Write Status of each row in DataTable dlaureano 2 3,214 11-29-2012, 05:53 PM
Last Post: dlaureano

Forum Jump:


Users browsing this thread: 1 Guest(s)