Version 7.1.4 5.4.2Name In case the developers have assigned Component identifiers to a component, QF-Test will recognize this and use it, if suitable, for the attribute 'Name'. If a value for 'Name' was found, it will also be used for generating the 'QF-Test ID' of the component. Examples for this can be found in How to achieve robust component recognition. The value of the 'Name' attribute is…
Version 7.1.4 23.1Test execution in batch mode There are a lot of command line arguments when running QF-Test in batch mode; an overview can be found in chapter 42. Here we will present examples showing the most important of them. The examples are written for the Windows operating system, but you may easily adapt them for the Linux platform. What is different is the path specification and also the…
Version 7.1.4 5.9Sub-items: Addressing relative to a parent component In QF-Test it is possible to address components in relation to a parent component. This is most interesting if the child component can only be unequivocally addressed in combination with its parent. There are various usage scenarios for this and also various ways to implement. Addressing via index With tables, lists, and trees…
Version 7.1.4 3.0+52.10Image API extensions The Image API of QF-Test makes use of a technology independent class for image representation ImageRep and it offers an interface to implement an own image compare algorithm. 52.10.1The ImageRep class The class de.qfs.apps.qftest.shared.extensions.image.ImageRep is the wrapper class for technology independent images. The class holds the image…
Version 7.1.4 53.2Daemon API The daemon API provides all methods necessary to directly control test execution via a QF-Test daemon. Typically the following relatively simple steps need to be implemented: Note When writing an application based on the daemon API you need to take security considerations into account and either disable security or set some RMI-specific properties as described in…
complete, the variables are unbound again. Attributes: Figure 40.32: 'Catch' attributes 'Exception class' This ComboBox lets you select the class of the exception that is to be caught. All QF-Test
Version 7.1.4 39.9Run log options These options let you control which information is collected in a run log, if and when a run log is shown and how to locate errors. 39.9.1General run log options Figure 39.37: General run log options When to show run logs (User) A run log is created for every execution of a test. A number of recent run logs are available from the »Run« menu, the most recent run…
Version 7.1.4 8Organizing the test suite Creating useful, reliable tests requires more than just recording sequences and playing them back. You can fill a test suite with lots of sequences in a short time, but you are bound to lose track of what you've got sooner or later if you do not organize your tests in some logical structure. QF-Test provides you with a number of structure elements to…
context (cf. chapter 48). Select one of the methods and confirm with [Return] to insert it into the script code. To get a list of all objects equipped with help, just press [Ctrl-Space] with the mouse
Version 7.1.4 6Variables Video: 'Variables' . Variables are the primary means to add flexibility to a test suite. Though they are used mainly as parameters for 'Procedures', they are also useful in many other cases. Variable syntax can be used in almost every attribute of the nodes of a suite, except for boolean values (check boxes). There are three versions of variable references: $(varname)…