Skip to main content



      Home
Home » Archived » Jubula » Selecting javafx tableview row(Mapping tests to Javafx app)
Selecting javafx tableview row [message #1806599] Sat, 11 May 2019 06:57 Go to next message
Eclipse UserFriend
My application has a number of panes in the scene. Each pane has a tableview to display the data. When I click on one row the other panes are updated to reflect the selected row. When setting up my tests I am using <ub_grc_click> as the test step.

When I try to map the component using the ObjectMapper I click on a the row in the app and the green border is on the tableview not the row.

Is there a way of selecting a particular row in the test step?
Re: Selecting javafx tableview row [message #1806645 is a reply to message #1806599] Mon, 13 May 2019 02:39 Go to previous messageGo to next message
Eclipse UserFriend
There are specific actions for tables, which should be used instead of trying to directly select the row. Fore example the action "ub_tbl_selectCell" or "ub_tbl_selectValueFromColumn" can be used to select specifc values out of the table.

We are using the concept that you can map the higher level component (the Table) and can than execute e.g. use verify or select actions.

best regards
Marvin Mueller
Re: Selecting javafx tableview row [message #1806660 is a reply to message #1806645] Mon, 13 May 2019 08:29 Go to previous message
Eclipse UserFriend
Thank you for the reply. I found it by trial and error and am now trying out various tests. Unfortunately my app has HBox and VBox panes within cells that contain multiple fields. I would like to specifically address those fields but I will see what I can do. At the moment I am using 'matches' on the value operator to find specific text/

It is quite a steep learning curve down at the technical level, however, the construction of test cases is very easy and intuitive.

Previous Topic:Add/develop new Action
Next Topic:Libraries
Goto Forum:
  


Current Time: Fri May 16 14:46:05 EDT 2025

Powered by FUDForum. Page generated in 0.02771 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top