Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WebTable - Select Row
#1
Solved: 3 Years, 4 Months, 6 Days, 10 Hours, 23 Minutes, 34 Seconds 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: 3 Years, 4 Months, 6 Days, 10 Hours, 23 Minutes, 34 Seconds 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: 3 Years, 4 Months, 6 Days, 10 Hours, 23 Minutes, 34 Seconds 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
  Searching for and selecting row in Datawindow zsl0009 0 875 08-04-2015, 01:02 AM
Last Post: zsl0009
  Webtable actions are not getting recorded, but ObjectSpy is able to identify webtable sahilarora2000 2 1,572 06-13-2014, 04:27 PM
Last Post: vinod123
  data sheet row count rushil 2 1,613 12-07-2012, 03:10 AM
Last Post: rushil
  Write Status of each row in DataTable dlaureano 2 1,408 11-29-2012, 05:53 PM
Last Post: dlaureano
  How to recognize table row and column siwani 4 2,965 04-05-2012, 05:06 PM
Last Post: verma.vik6

Forum Jump:


Users browsing this thread: 1 Guest(s)