Finding Background Color in javaFX object Table.
Hello Folks, We are trying to automate JAVAFX Application where we are not able to identify the color of the selected row of the JAVAFX object Table. Below is the sample code snippet that i tried.. '----- TestComplete V10.5, VB Script : Application: Desktop: JAVAFX ------------------ Set javaw = Aliases.javaw Set oTable = javaw.MainWnd.scene.PrimaryTab.TradesTable sColor = oTable.getBackground.BACKGROUND_COLOR.property.value '------------------------------------------------------------------------------------- Also tried many other combination of methods and properties with no luck ! Have anyone faced this issue before? or someone from the smartbear suggest the solution would be a great help !! Cheers !! Kavan ShahSolved4.1KViews0likes2CommentsJavaFX: Check existence of named label in ListView
Hi everyone, I am building keyword tests for a JavaFX application. On one page of my application I have an overview of items displayed in a ListView. Above the ListView is a check box allowing the user to also view historic entries. If the check box is checked then at the end of the list some additional items appear, the first of which contains a headline in a named lable. If I record a test then the lable might be found like this: Aliases.Item.stage.scene.listViewLogEntryList.listviewitemcell3.lableHeadline My problem now is that the named lable does not always have to be in 'listviewitemcell3'. It could be in any cell with any number. How can I check for the existance of a label with a certain name in a keyword test and somehow turn this into a checkpoint? Ican probably use 'Find Object' to find the label as a child of the ListView could use an 'If ... Then' but that would still not be a check point? Or should I be using some kind of script in this case? Or is there a way to use wildcards in the Alias so that I can eliminate the cell level from the matching process? Best Regards, Axel822Views0likes0Comments