Search found 26 matches

by bk_tester
Tue Sep 19, 2017 3:24 pm
Forum: How To …
Topic: Condition execution based on Parameter value
Replies: 11
Views: 3011

Re: Condition execution based on Parameter value

Thanks a lot for your idea. It works fine for me. And in the same time my solution uncover a bug or at least possible improvement :)
by bk_tester
Mon Sep 18, 2017 6:21 pm
Forum: How To …
Topic: Condition execution based on Parameter value
Replies: 11
Views: 3011

Re: Condition execution based on Parameter value

I'm setting DialogType parameter in the code in Define_NewItemType_Dialog module, like this: TestSuite.CurrentTestContainer.Parameters["DialogType"] = "NewItemType"; This module does not have any data bindings. It seems that during run time DialogType variable do have required value, because in code...
by bk_tester
Mon Sep 18, 2017 5:25 pm
Forum: How To …
Topic: Condition execution based on Parameter value
Replies: 11
Views: 3011

Re: Condition execution based on Parameter value

It's a mistake in text on the screenshot. Sorry for that.
DialogType variable could have value as "NewItemType" or "RequestSeriesDialog". And condition checks whether DialogType is equal to first or second value.

Thanks
by bk_tester
Mon Sep 18, 2017 4:57 pm
Forum: How To …
Topic: Condition execution based on Parameter value
Replies: 11
Views: 3011

Condition execution based on Parameter value

Hello Ranorex, In my test I need to handle two types of the dialog which are invoked by double clicking table rows. Table is traced in DDT loop. Based of the appeared dialog type different smart folder should be executed. I used Code Module to identify which type of dialog appears and set appropriat...
by bk_tester
Wed Aug 09, 2017 10:49 am
Forum: Automation API
Topic: How to retreive custom property for JavaFX control
Replies: 12
Views: 2873

Re: How to retreive custom property for JavaFX control

This piece of code resolved my problem: Tree treeAdapter = treeTableInfo.FindAdapter<Tree>(); JavaObjectWrapper selectionModelWrapper = treeAdapter.GetAttributeValue<JavaObjectWrapper>("SelectionModel"); string selectedIndices = selectionModelWrapper.GetObjectProperty("SelectedIndices").ToString(); ...
by bk_tester
Tue Aug 08, 2017 3:59 pm
Forum: Automation API
Topic: How to retreive custom property for JavaFX control
Replies: 12
Views: 2873

Re: How to retreive custom property for JavaFX control

thanks odklizec!! it helps and made my day! :)
by bk_tester
Tue Aug 08, 2017 12:42 pm
Forum: Automation API
Topic: How to retreive custom property for JavaFX control
Replies: 12
Views: 2873

Re: How to retreive custom property for JavaFX control

Hi Aracknid, Thanks for you replay. To retreive list of SelectionModel sub-properties i use this code: object oSelectionModel = treeAdapter.GetAttributeValue<object>("SelectionModel"); PropertyInfo piPropertyNames = oSelectionModel.GetType().GetProperty("PropertyNames"); but i have no idea how to ge...
by bk_tester
Fri Aug 04, 2017 1:41 pm
Forum: Automation API
Topic: How to retreive custom property for JavaFX control
Replies: 12
Views: 2873

Re: How to retreive custom property for JavaFX control

Thanks for your replay! Actually i dive into custom property to identify somehow what treeitems is selected. Becease Selected property is not working well at this place. I'm just wondering how Ranorex Spy retreive information into SelectionModel (SelectionIndicies []) property... if this info is ava...
by bk_tester
Fri Aug 04, 2017 12:43 pm
Forum: Automation API
Topic: How to retreive custom property for JavaFX control
Replies: 12
Views: 2873

Re: How to retreive custom property for JavaFX control

xPath for the TreeTable is /form[@title='Notifications']/container[@name='mainView']/?/?/container[@name='resourceBoxesPane']//container[@styleclass='mint-resource-notification-boxes-section']/container[@name='boxes']/?/?/container[@styleclass='body-area']/?/?/container[@name='outbox']/container[@na...
by bk_tester
Fri Aug 04, 2017 11:51 am
Forum: Automation API
Topic: How to retreive custom property for JavaFX control
Replies: 12
Views: 2873

How to retreive custom property for JavaFX control

Hello,

I have custom table based on JavaFX TreeTable. Ranorex Spy recognizes it well. And indexes of selected TreeItems are indentified on Advanced tab under SelectionModel property, SelectedIndicies sub-property as a array of integers, like [2,3,5,7].
How can I get that values?

Thanks,
Bohdan
by bk_tester
Wed Mar 22, 2017 3:27 pm
Forum: Object Identification and Technologies
Topic: Ranorex and JavaFX table
Replies: 6
Views: 2358

Re: Ranorex and JavaFX table

ok, got it! thanks!
by bk_tester
Wed Mar 22, 2017 2:30 pm
Forum: Object Identification and Technologies
Topic: Ranorex and JavaFX table
Replies: 6
Views: 2358

Re: Ranorex and JavaFX table

Ok, so should I create some request for that remote session?
by bk_tester
Wed Mar 22, 2017 1:56 pm
Forum: Object Identification and Technologies
Topic: Ranorex and JavaFX table
Replies: 6
Views: 2358

Re: Ranorex and JavaFX table

In that case whole table is recognized as it was before with only differences - all rows are displayed as disabled (greyed out).

Thanks
by bk_tester
Wed Mar 22, 2017 1:21 pm
Forum: Object Identification and Technologies
Topic: Ranorex and JavaFX table
Replies: 6
Views: 2358

Ranorex and JavaFX table

Hello Support Team, I'm creating tests for Java desktop application. There are several tables that Ranorex can't retreive information from. It is possible to get rows count, find some row by index and so on. From other hand Ranorex can't recognize text in cells, even more can't recognize cells and a...