FAQ expecco

Aus ExpeccoWiki

Wechseln zu: Navigation, Suche

Inhaltsverzeichnis

expecco General

Why are my settings not available anymore after a restart?
Settings only apply for the current session. To save them permanently click on the button "Save".
Does expecco support parallel run?
Yes, on multiple levels: one a per-action block level (which corresponds to a "function-call" in a conventional programming language), you can also open multiple tabs or windows within a single expecco app, and run individual tests/blocks or scenarios in each. Finally, you start the expecco exe multiple times, and run them completely independent, because each uses its oen separate temporary working directory (both for input files, such as attachments, or the project files itself) and for the generated result and trace files). If the expeccoNET manager is used, multiple runs are also possibly scheduled on multiple testhosts, depending on the settings of the scheduling time tables.
Is execution scheduling available?
Within a testplan or a test scenario, execution if individual actions is controlled by data- or control flows.
Complete testplan execution runs are scheduled either via crontab/planned task execution, or via the expeccoNET management platform.
expeccoNET schedules testruns according to the availability of test-devices, hosts and personel. It also cares for testbench setup and teardown times.
Does expecco save run history?
expecco generates a deteailed trace of all executed functions. This can be either stored with all detail, or be used to generate condensed reports of various degrees of detail.
If expeccoNET is used as platform, every testrun can be recorded with both detail and/or condensed reports (incl. host,device & operator information). If the testrun was done via batch/shell/crontab or other non-expeccoNET trigger, a commandline argument can be used to save the testreports to a file.
There are also reflective report-functions available within expecco itself, to process and save generated reports from within the test itself.
Is there a way to load Selenium user extension?
The next version will include a configuration-parameter (in the settigns dialog), where additional command line arguments can be passed to the selenium executable. This will allow to pass any required command line arguments to access/enable those extensions. Of course, you will still have to make sure that the extensions are found by selenium and that any required configuration file changes are made.
Is there a way to export tests from the “Network” section back to html?
If refered to a recorded and imported selenium session, the answer is currently "no" (but it would not be difficult, to add such a feature).
However, from our experience, the imported selenium session is usually only used as an initial starting-point, and typically refactored into reusable action blocks. Those are then parametrized with values coming from either a file (such as an excel-csv list), a database, or a value-generator block.

expecco web

Replay

Why are pages not loaded?
Check whether the URL of the tested website stored in the environment variable urlToTest in the corresponding step, testplan, or in the testsuite is correct.
Why is my HTTPS page or a page using frames not loaded properly?
A test can be executed in different browser types (firefox, iexplore, chrome, iehta). These settings can be found in the environment of the testsuite. Use iehta and chrome instead of iexplore and firefox for HTTPS pages or pages using frames. These have lower security settings.
After a click event on a link the test does not wait until the page is loaded properly? How to fix this problem?
To wait for a page load just replace the click event by a clickAndWait event.

Capture

The record can not be exported to expecco?
Alternatively the record can be exported to expecco manually. Save the record by clicking on "File - Save Test Case As..." in the HTML format with the extension ".html". In expecco you can now import the file with "Extras - Plugins - Webtest - Import Selenium Capture - HTML Script...".

Please close the Selenium IDE afterwards and the corresponding browser and restart the application. Now the export should work via the expecco button.
Is there a possibility to capture the screen at a certain point of execution?
The block Log ScreenDump captures the whole desktop.
What means framesupport?
Frames are parts of web pages in which other web pages can be displayed. The environment variable "frameSupport" is used to switch between pages with frames and without frames. In case of doubt "frameSupport" should be enabled.

Selenium IDE

Can I download available updates for Selenium IDE?

Due to expecco-specific changes of the IDE the updates from openQA.org are not compatible. You will get these updates for expecco itself.

The Selenium IDE is not displayed in Firefox. How to display it?

Click in Firefox on View ► Sidebar ► Selenium IDE or to start the Selenium IDE in a separate window on Tools ► Selenium IDE

Browser

Which browsers are supported?

expecco in combination with Selenium IDE supports all JavaScript-capable browsers like Internet Explorer, Firefox or Opera for replaying. Capturing is only possible in Mozilla Firefox.

Why am I asked to delete my private data when closing to browser?

This is not the private data of your personal Firefox profile, but the one of the profile created by expecco for testing. Deleting this data prevents errors by for example cookies. Sie können die Option im Firefox-Browser im entsprechenden Profil deaktivieren indem Sie den Haken entfernen bei Extras ► Einstellungen ► Datenschutz ► Private Daten löschen, wenn Firefox beendet wird

Miscellaneous

Can I create my own blocks / scripts with expecco webEdition?

With webEdition you can only compose new compound blocks using the predefined blocks from the standard and selenium library. New elementary blocks can not be created in this edition. With "expecco developer" and "expecco pro" you can create your own project specific elementary blocks. Comparison of the various expecco versions: http://www.exept.de/en/products/expecco/features
Meine Werkzeuge