In case you don't find what you are searching for, please try again with "quotation marks", e.g. "windows 10" instead of windows 10. Further information on the search
The name of the variable. Returns The value of the variable. Boolean getBool(String varname) Look up the value of a QF-Testvariable, similar to lookup(), but treat it as a boolean. Parameters varname The name of the variable. Returns The value of the variable. Boolean getBool(String group, String name) Look up the value of a QF-Test resource or property, similar to lookup(), but treat it as…
. The methods are explained in the next section. 11.2.3.1Accessing variables Using QF-Testvariables in scripts is not difficult. You can use the run context's lookup method (see section 48.5 for API reference) whenever you want to access a QF-Test value as a string. # access a simple variable
text = rc.lookup("someText")
# access a property or resource
version = rc.lookup("qftest", "version")…
it back to QF-Test, where it is stored in a global variable. Attributes: Figure 40.67: 'Fetch text' attributes 'Client' The name of the SUT client process from which to query the data. Variable: Yes [...] in the topmost node on the variables stack, falling back to the global bindings if necessary. See chapter 6 for a detailed explanation of variable binding and lookup. In order to predefine the…
. The attributes of a node are displayed and edited in the detail view of the editor. The restrictions that apply to each attribute are listed as well as whether it supports variable expansion (see chapter 6 [...] view, so it should be concise and tell something about the function of the test suite. Variable: No Restrictions: None 'Include files' This is a list of test suites that are included by…
is preferrable if QF-Testvariables are used in indexes or if the names of elements vary or are editable. The option Sub-item type determines if QF-Test creates 'Item' nodes during recording or uses the 'QF-Test [...] : In the following listing, the SmartID of the parent component may already consist of nested references. Reference of the parent component Reference of the child component Example…
or exception occurs is never removed from a compact log, even if the error is not propagated due to the setting of this attribute. Variable: No Restrictions: None 'QF-Test ID' The 'QF-Test ID' of the 'Loop' node [...] QF-Testvariables in a condition follows the same rules as in Jython scripts (see subsection 11.2.3). You can use the standard QF-Test syntax $(...) and ${...:...} for numeric or…
) expands to the value of some previously defined variable. ${group:name} accesses external data from a resource bundle or property file. The groups system and qftest are always defined and have a special meaning (see section 6.5). $[expression] evaluates some mathematical expressions. 6.1Variablelookup To understand the reasons of why and how variables are defined in multiple places, you first…
'Client' The name of the SUT client process to which the check is sent. Variable: Yes Restrictions: Must not be empty. 'QF-Test component ID' The 'QF-Test ID' of the 'Window', 'Component' or 'Item' node [...] or, if there is no such node in the topmost node on the variables stack, falling back to the global bindings if necessary. See chapter 6 for a detailed explanation of variable binding and l…
to terminal also' If active, the message is also written to the QF-Test Terminal. Variable: Yes Restrictions: None 'Create screenshots' The attribute indicates whether QF-Test should log screenshots [...] $(logScreenshots) A reference to a variable containing one of the following values (case insensitive). Depending on the value QF-Test will either always log the screenshots or never or take the…
variablelookup, e.g. if you set the variable named x to $(y) and the variable named y to $(x) and then try to expand the value $(x). Base class: VariableException Message: The variable '...' could not be expanded since it lead to recursive lookup. UnboundVariableException This exception is thrown when a variable for a value that is to be expanded doesn't exist. Base class: VariableException…
We use "Matomo" cookies to anonymously evaluate your visit to our website. For this we need your consent, which is valid for twelve months. A revocation, so-called opt-out, is possible at any time on our privacy page.
Cookie configuration
1. Functional cookies
We use functional cookies to ensure the basic functionality of the website.
2. Performance and statistic cookies
We use Matomo for analyzing and optimizing our website. Cookies permit an anonymous collection of information that help us offering you a clear and user-friendly visit of our web pages.