Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Operation on a Java Table
#1
Solved: 10 Years, 9 Months, 1 Week ago
Hello All,

I am currently automating a Window application built in Java. There I have a JavaTable.

When the page opens, the JavaTable has a variable number of rows (number of rows may vary) and inside the first cell of each row it has a node which when clicked expands to show the subnodes.

My requirement is to click all the nodes present (number of nodes also varies as number of rows varies) and to get a completely expanded JavaTable.

When I am spying the object, it is showing as a JavaTable. I have tried almost all possible ways to click on the nodes. I could do it by "DblClick" method by calculating the co-ordinates of the nodes but it will not solve my purpose as the number of nodes is not fixed.

When I click on a node, all the subnodes are displayed each in individual row and hence the row count increses dynamically.

I have attached a screenshots having 2 images, one is of unexpanded JavaTable which I get at the beginning and another is of the completely expanded JavaTable after clicking all the nodes.

In this screenshot example, number of nodes are 2

Can anybody help me on this ??


Attached Files Image(s)
   
Reply


Messages In This Thread
Operation on a Java Table - by PrabhatN - 10-18-2010, 12:44 PM
RE: Operation on a Java Table - by PrabhatN - 10-19-2010, 11:29 AM
RE: Operation on a Java Table - by Cassin - 10-19-2010, 09:17 PM
RE: Operation on a Java Table - by perplexed - 06-09-2011, 03:52 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Reading Value from Java Table arjun.singh 8 23,855 10-11-2017, 02:51 PM
Last Post: sivaji
  The DataTable.ExportSheet operation failed. Invalid file. Niraj 2 6,003 05-05-2015, 11:40 PM
Last Post: babu123
  Excel operation - to find usedrange of rows & col pooja 1 9,385 02-19-2015, 04:06 AM
Last Post: supputuri
  Capturing the exact time when an operation is performed. Dilliz 2 2,847 01-09-2014, 03:30 PM
Last Post: Dilliz
  How to capture operation such as hovering a mouse nikhilcogni 5 4,579 03-23-2013, 11:17 AM
Last Post: sams001

Forum Jump:


Users browsing this thread: 1 Guest(s)