Please ensure to include your code between [code][/code] tags while asking or replying to questions.

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

WebTable - Select Row

06-21-2010, 12:19 PM
Post: #1
Solved: 1 Year, 2 Months, 4 Weeks, 2 Days, 5 Hours, 17 Minutes ago WebTable - Select Row

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
Find all posts by this user
Quote this message in a reply
06-21-2010, 12:32 PM (This post was last modified: 06-21-2010 12:34 PM by rajeshwar.)
Post: #2
Solved: 1 Year, 2 Months, 4 Weeks, 2 Days, 5 Hours, 17 Minutes ago RE: WebTable - Select Row
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
Find all posts by this user
Quote this message in a reply
06-24-2010, 09:55 AM
Post: #3
Solved: 1 Year, 2 Months, 4 Weeks, 2 Days, 5 Hours, 17 Minutes ago RE: WebTable - Select Row
I found the solution for this action:

Code:
Browser("B").Page("P").Frame("F").WebTable("T").Object.rows(i).cells(i).Click
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Webtable actions are not getting recorded, but ObjectSpy is able to identify webtable sahilarora2000 2 376 06-13-2014 04:27 PM
Last Post: vinod123
  data sheet row count rushil 2 688 12-07-2012 03:10 AM
Last Post: rushil
  Write Status of each row in DataTable dlaureano 2 721 11-29-2012 05:53 PM
Last Post: dlaureano
  How to recognize table row and column siwani 4 2,301 04-05-2012 05:06 PM
Last Post: verma.vik6
Rolleyes How to select multiple choices from Multi-Select weblist blavanya 3 3,257 01-03-2012 05:55 PM
Last Post: shivu.hanu



User(s) browsing this thread: 1 Guest(s)