Execute Test as Step in VS2010 (Test View)

2 posts, 0 answers
  1. Tyson McCall
    Tyson McCall avatar
    6 posts
    Member since:
    Apr 2010

    Posted 31 Aug 2010 Link to this post

    Hi,

    I'm trying to execute a webaii test that includes a test as step in Visual Studio 2010 via Test View or Test List editor.  I get the following error message (see below).  It appears it is looking for the test as step in the results folder for some reason.   Note, I can successful execute the same webaii test using quick execute mode but from the test view or test list editor it fails.  

    Is there a setting or test path reference that I need to change in VS?

    Version:
    WebUI Test Studio Dev 2010.2.713.0
    MS Visual Studio Ultimate

    Thanks,
    Tyson

    *****************************************************************************************************************************************

    Overall Result: Fail
    --------------------------------------------------
    '8/31/2010 5:56:37 PM' - 'Pass' : 1. Navigate to : '<testurl>'
    '8/31/2010 5:56:37 PM' - 'Fail' : 2. Execute test 'WebAiiTest2'
    --------------------------------------------------
    Failure Information: 
    Failed Inner Test: Step 2: Execute test 'WebAiiTest2'
    ~~~~~~~~~~~~~~~
    Unable to find test 'C:\Documents and Settings\user\My Documents\Visual Studio 2010\Projects\PerfTestProject\TestResults\user_FHPR-WKS-0004 2010-08-31 17_56_31\Out\WebAiiTest2.aii'
    InnerException:
    System.IO.FileNotFoundException: Unable to find test 'C:\Documents and Settings\user\My Documents\Visual Studio 2010\Projects\PerfTestProject\TestResults\user_FHPR-WKS-0004 2010-08-31 17_56_31\Out\WebAiiTest2.aii'
       at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteTestInCurrentContext(String relativeTestPath)
       at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.ExecuteTestActionDescriptor.Execute(IAutomationHost autoHost)
       at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
    --------------------------------------------------
    On Failure Message: NOOOOOOO!
    --------------------------------------------------
    '8/31/2010 5:56:37 PM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
    --------------------------------------------------
    '8/31/2010 5:56:37 PM' - Overall Result: Fail
    --------------------------------------------------
  2. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts

    Posted 01 Sep 2010 Link to this post

    Hello Tyson,

    Yes, in VS 2010 you need to explicitly enable deployment to achieve that. Please follow the steps from this blog and let us know if you need further assistance.

    Kind regards,
    Konstantin Petkov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top