Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C8652F970 for ; Thu, 2 May 2013 09:50:18 +0000 (UTC) Received: (qmail 54053 invoked by uid 500); 2 May 2013 09:50:18 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 53800 invoked by uid 500); 2 May 2013 09:50:17 -0000 Mailing-List: contact dev-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list dev@flex.apache.org Received: (qmail 53732 invoked by uid 99); 2 May 2013 09:50:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 May 2013 09:50:15 +0000 Date: Thu, 2 May 2013 09:50:15 +0000 (UTC) From: "Tigran Najaryan (JIRA)" To: dev@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FLEX-33489) Functional UI test for FlexJSTest_again example MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-33489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tigran Najaryan updated FLEX-33489: ----------------------------------- Attachment: (was: FlexJSTest_again_tests.zip) > Functional UI test for FlexJSTest_again example > ----------------------------------------------- > > Key: FLEX-33489 > URL: https://issues.apache.org/jira/browse/FLEX-33489 > Project: Apache Flex > Issue Type: Test > Components: .Unspecified - Compiler > Reporter: Tigran Najaryan > Attachments: FlexJSTest_again_tests.zip > > > This is a sample RIATest project that shows how to test the functionality of FlexJSTest_again JS output. > The contents of this directory must be located in a folder that is sibling to src directory of FlexJSTest_again example, > e.g. assuming this directory is named "tests" the tree should be as follows: > FlexJSTest_again > |- bin > |- src > |- tests > |- FlexJSTest_again.rtp > |- *.rts files > Please follow these steps to execute the tests: > 1. Download and install RIATest from http://www.cogitek.com/riatest/download.html > 2. Make sure Google Chrome is installed on your system. > 3. Run RIATest and open FlexJSTest_again.rtp project. > 4. Select Run|Run Tests menu (or press F5). > 5. Chrome browser must be opened and UI tests performed, then the browser will close. > 6. RIATest will now show the execution results. > To run the tests from the command line do this: > Windows: "%RIATEST5%\riatest.exe" -b -r -p FlexJSTest_again.rtp > Mac: "/Applications/RIATest 5/RIATest.app/Contents/MacOS/RIATest" -b -r -p FlexJSTest_again.rtp > To use a different browser use command line option -l, e.g. to use Firefox instead of Chrome do this: > "%RIATEST5%\riatest.exe" -b -r -p FlexJSTest_again.rtp -l firefox > Note: FlexJSTest_again example currently (13 Apr 2013) works incorrect under Firefox so the tests WILL fail. > Calling from Ant: > You can use Ant's built-in exec task to call RIATest from your ant projects. For example: > > > > > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira