56
56
public class ConvenienceKeywords extends TestFxAdapter {
57
57
58
58
@ Deprecated
59
- @ RobotKeyword ("*DEPRECATED! !* Use keyword `Find` instead.\n \n " +
59
+ @ RobotKeyword ("*DEPRECATED in version 0.6.0 !* Use keyword `Find` instead.\n \n " +
60
60
"finder that mimics _xpath_ style search.\n \n "
61
61
+ "``query`` is a query locator, see `3.1 Using queries`.\n \n "
62
62
+ "``failIfNotFound`` specifies if keyword should fail if nothing is found. By default it's false and "
@@ -139,7 +139,7 @@ public void callObjectMethodInFxApplicationThread(Object object, String method,
139
139
}
140
140
141
141
@ Deprecated
142
- @ RobotKeyword ("*DEPRECATED! !* Use keyword `Find` instead.\n \n "
142
+ @ RobotKeyword ("*DEPRECATED in version 0.6.0 !* Use keyword `Find` instead.\n \n "
143
143
+ "Returns the *first* node matching the query. \n \n "
144
144
+ "``query`` is the Class name String to use in lookup.\n "
145
145
+ "\n Example:\n "
@@ -157,7 +157,7 @@ public Object findClass(final String query) {
157
157
}
158
158
159
159
@ Deprecated
160
- @ RobotKeyword ("*DEPRECATED! !* Use keyword `Find All` instead.\n \n "
160
+ @ RobotKeyword ("*DEPRECATED in version 0.6.0 !* Use keyword `Find All` instead.\n \n "
161
161
+ "Returns *all* descendant nodes of given node matching the query. \n \n "
162
162
+ "``node`` is the starting point Object:Node from where to start looking, see `3.2 Using objects`. \n \n "
163
163
+ "``query`` is a query locator, see `3.1 Using queries`.\n \n "
@@ -196,7 +196,7 @@ public List<Object> findAllFromNode(Object node, String query) {
196
196
}
197
197
198
198
@ Deprecated
199
- @ RobotKeyword ("*DEPRECATED! !* Use keyword `Find All` instead.\n \n "
199
+ @ RobotKeyword ("*DEPRECATED in version 0.6.0 !* Use keyword `Find All` instead.\n \n "
200
200
+ "Returns *all* nodes matching query AND given pseudo-class state. \r \n "
201
201
+ "``query`` is a query locator, see `3.1 Using queries`.\n \n "
202
202
+ "``pseudo`` is a String value specifying pseudo class value.\n \n "
@@ -235,7 +235,7 @@ public List<Object> findAllWithPseudoClass(String query, String pseudo) {
235
235
}
236
236
237
237
@ Deprecated
238
- @ RobotKeyword ("*DEPRECATED! !* Use keyword `Find` instead.\n \n "
238
+ @ RobotKeyword ("*DEPRECATED in version 0.6.0 !* Use keyword `Find` instead.\n \n "
239
239
+ "Returns the *first* descendant node of given node matching the query. \n \n "
240
240
+ "``node`` is the starting point Object:Node from where to start looking, see `3.2 Using objects`. \n \n "
241
241
+ "``query`` is a query locator, see `3.1 Using queries`.\n \n "
@@ -437,7 +437,7 @@ public Set<PseudoClass> getPseudoClassStates(Object locator) {
437
437
438
438
// TODO: Should this be deleted? Find All From Node has the same functionality
439
439
@ Deprecated
440
- @ RobotKeyword ("*DEPRECATED! !* Use keyword `Find` instead.\n \n "
440
+ @ RobotKeyword ("*DEPRECATED in version 0.6.0 !* Use keyword `Find` instead.\n \n "
441
441
+ "Returns *all* descendant nodes of given node matching the given Java class name. \n \n "
442
442
+ "``locator`` is either a _query_ or _Object_ for node whose children will be queried, see "
443
443
+ "`3.2 Using locators as keyword arguments`. \n \n "
@@ -488,7 +488,7 @@ public String getNodeText(Object locator) {
488
488
}
489
489
490
490
@ Deprecated
491
- @ RobotKeyword ("*DEPRECATED! !* Use keyword `Find` instead.\n \n "
491
+ @ RobotKeyword ("*DEPRECATED in version 0.6.0 !* Use keyword `Find` instead.\n \n "
492
492
+ "Returns height value of the node. \n \n "
493
493
+ "``locator`` is either a _query_ or _Object_ for a node whose getHeight method will be called, see "
494
494
+ "`3. Locating or specifying UI elements`. \n \n " )
@@ -582,7 +582,7 @@ public String getObjectClassName(Object locator) {
582
582
}
583
583
584
584
@ Deprecated
585
- @ RobotKeyword ("*DEPRECATED! !* Use keyword `Get Scene` instead.\n \n "
585
+ @ RobotKeyword ("*DEPRECATED in version 0.6.0 !* Use keyword `Get Scene` instead.\n \n "
586
586
+"Returns given locators Scene object. \n \n "
587
587
+ "``locator`` is either a _query_ or a _Node_, see `3.2 Using locators as keyword arguments`\n \n " )
588
588
@ ArgumentNames ({ "locator" })
@@ -661,7 +661,7 @@ public Object getPrimaryScreenBounds() {
661
661
662
662
@ RobotKeyword ("Returns the library version from POM file" )
663
663
public String getLibraryVersion () {
664
- return HelperFunctions .loadRobotLibraryVersion ();
664
+ return HelperFunctions .getVersion ();
665
665
}
666
666
667
667
@ RobotKeyword ("Returns the value of cell in the given location\n \n "
0 commit comments