FAQ expecco en

Aus ExpeccoWiki

Wechseln zu: Navigation, Suche

Inhaltsverzeichnis

expecco General

My settings seem to be lost when I restart expecco ?
Settings are only applied to the current session. To make them persistent, click on the "Save" Button (at the lower left of the settings dialog). Then, settings are stored in a file named ".expeccoPreferences" in your user folder. This file can be transported to other machines if you like.

expecco web

Replay

Why can some pages not be loaded?
Check for a correct value of the urlToTest environment variable. It must be set to the URL of the checked site.
Why is my HTTPS-page or page using frames not loaded correctly?
A test can be executed on different browsers, using different browser settings (firefox, iexplore, chrome, iehta). You find these settings in the variables-environment of the testsuite. For HTTPS and/or pages using frames, try to use iehta and chrome instead of iexplore or firefox. These are more tolerant with respect to security checks and security settings.
After a click-event for a link, it does not wait for the page to be loaded. What can I do?
Try replacing the >click< by a >clickAndWait<. Depending on timing variations during the capture, Selenium confuses these two sometimes, not knowing when a click is related to a page load. The reverse is also true sometimes, making selenium wait for a page which never appears. In this case, replace the >clickAndWait< by a >click<.

Capture

I cannot import the capture into expecco?

Occasionally, the connection between the two programs seems to be lost. To not loose your capture, save it manually (in the Selenium IDE) into a file. Save it in HTML-format with an "html" file suffix. ("File - Save Test Case As..." ). Back in expecco, import the file via the plugin menu item: "Extras - Plugins - Webtest - Import Selenium-Capture - HTML Script...".



Then, please close the Selenium IDE and the corresponding browser before trying a new recording (to get a new connection). The communication usually works ok afterwards. If the problem persists, contact the exept service department.

Is it possible to make a screenshot?

You will find the Log ScreenDump block, which does exactly that.

What does framesupport mean?

Frames are areas in a web-page into which contents from other locations can be displayed. As this has certain security-related implications (and is also incorrectly implemented in some browser versions), these are special environment variable settings related to this.

You can switch from frameless to framemode via the "seleniumServerMode" variable. If in doubt, set it to "frameSupport".

Selenium IDE

Can I download updates for the Selenium IDE ?

We made a few changes and added the expecco import connection to the Selenium IDE, which could make updates from openQA.org incompatible. You may want to give it a try, but make a backup copy before doing so. You will also get these updates from exept, when an upgrade version is available. We try hard to keep the Selenium IDE uptodate.

The Selenium IDE is not appearing in the Firefox Browser. What can I do?

In the Firefox browser, click on View/Ansicht ► Sidebar ► Selenium IDE or, to open the Selenium IDE as a separate window, select Extras ► Selenium IDE. You can also reopen the Selenium IDE in case you closed it due to a wrong click.

Browser

Which browsers are supported?

For replay in combination with the Selenium IDE, all javascript-capable browsers like Internet Explorer, Firefox oder Opera are supported. Actually, the web-features completely depend upon what Selenium support - so it will also be the same set as supported by a pure Selenium IDE installation. Recordings are (currently) only possible using Mozilla Firefox.

Why am I asked to clear my private data when finishing a session?

The data in question is not the stuff from your personal firefox profile. Instead, expecco creates a special, private profile when starting up firefox, which should not interfere with your personal settings. All such data is cleared, to prevent errors and invalid behavior in the next session. For example, to ensure that the same set of cookies, history etc. is present the next time. You can deactivate this in the profile by unchecking the mark in "Extras ► Settings ► Security ► Clear Private Data when Finishing Firefox"

Misc

Can I write my own elementary blocks using the expecco webEdition?

No, the webEdition is a stripped down version which focuses on the composition of test scenarios beased on a set of predefined existing blocks from the two included libraries: the Standard- and the Seleniumlibrary. You cannot create new elementary blocks in this program. The expecco developer version allows for blocks to be defined using JavaScript- or Smalltalk-code. See a comparison of the different versions and their feature lists: http://www.exept.de/en/products/expecco/features
Persönliche Werkzeuge