Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WebTable - Select Row
#1
Solved: 2 Years, 8 Months, 3 Weeks, 4 Days, 3 Hours, 29 Minutes, 51 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: 2 Years, 8 Months, 3 Weeks, 4 Days, 3 Hours, 29 Minutes, 51 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.
Thanks,
Rajeshwar

Practice as if you are the worst, perform as if you are the best
Reply
#3
Solved: 2 Years, 8 Months, 3 Weeks, 4 Days, 3 Hours, 29 Minutes, 51 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 533 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,192 06-13-2014, 04:27 PM
Last Post: vinod123
  data sheet row count rushil 2 1,283 12-07-2012, 03:10 AM
Last Post: rushil
  Write Status of each row in DataTable dlaureano 2 1,174 11-29-2012, 05:53 PM
Last Post: dlaureano
  How to recognize table row and column siwani 4 2,697 04-05-2012, 05:06 PM
Last Post: verma.vik6



Users browsing this thread: 1 Guest(s)