Author Topic: PQ Pro grid with UFT tool  (Read 2266 times)

cijojohn

  • Pro Ultimate
  • Jr. Member
  • *
  • Posts: 73
    • View Profile
PQ Pro grid with UFT tool
« on: March 20, 2017, 08:42:27 pm »
H team,

UFT tool is an automation testing tool used in our project. We are facing below issue when we integrate PQ grid with UFT tool. Kindly help us in resolving the issue.

1. UFT  tool is identifying 'Paramquery grid' as WebTable but it is not supporting to child items of the table like 'WebEdit' ,'WebElement' etc.,
2. We want to get exact row and column counts from the grid.When we try to get the count using script, it shows only the visible column counts and rows counts. Could you please let us now how to get the total column and row count.
 Workaround: We tried by setting VirtualX = false. With this grid rendering was slow.
3. how to get cell focus on single click.

Regards,

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: PQ Pro grid with UFT tool
« Reply #1 on: March 20, 2017, 09:49:53 pm »
I haven't worked on UFT tool, so can't help with that.

row count can be obtained as grid.option('dataModel.data').length

and column count can be obtained as grid.getColModel().length

Example: http://jsfiddle.net/zsL6cr9b/