More consistent success needed with remote execution

5 posts, 0 answers
  1. Briar
    Briar avatar
    58 posts
    Member since:
    Jun 2014

    Posted 15 Dec 2015 Link to this post

     I have been struggling with getting consistently successful runs of my test lists using the scheduling and execution servers.  Here are the details:

    The test lists in question include several scripts which all follow the same procedure:

    1.  Navigate to and open application
    2.  Log in to application
    3.  Either look up existing "project" or create new one depending on test script
    4.  Open particular page of "project"
    5.  Exercise all options on the page

    All scripting errors have been resolved in quick execution mode.  There are delays placed strategically throughout the scripts and stepWaitOnElements is used.   I have spent literally weeks on getting the scripts to this point. 

    When running the test lists remotely, test scripts either:

    1.  Die on the navigation step
    2.  Timeout on step three.  There is a execution delay prior to this step with the time set to 30000 or 60000 msec depending on which application is being tested. 
    3.  Run successfully.

    Failing on navigation does not occur consistently as you will see in the attached list.  It is not all at the beginning of the test list nor all at the end, but interspersed among test scripts.  This proves true on repeated runs too, just which test scripts fail changes. The attached list has annotations of "L" (look up project) or "N" (new project) to indicate what is happening with step 3 above.  I was just trying to find a pattern.

    Some other notes related to resource issues:  1) The server is dedicated to Test Studio with myself and one other person using it.  2) The memory has been upped to 8GB.  3) Consistent clearing of browser cache is done.  4) Location of test script  failure is not consistent.  5)  If I reboot the server, generally the first test script executed will run without error.

    Any ideas of where I should go from here to make these test lists less brittle?  

     

    Your help is always appreciated!  Thanks!

     

    Briar

  2. Briar
    Briar avatar
    58 posts
    Member since:
    Jun 2014

    Posted 17 Dec 2015 Link to this post

    Also, with timeouts on step 3, at time of failure, on the Page DOM tab, the page opened is the login page (step 2).  On the Images tab, the "what's shown" is a black screen, "what's expected" is the home page of the application (step 3).
  3. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 18 Dec 2015 Link to this post

    Hello Briar,

    Is this a recorded navigate step or this is something more complicated such as coded step? Also we need to find out what is the common thing between all tests that are failing from the navigate step. Do you have some test as steps at the beginning? Could you please provide me with the application log and some screenshots for better understanding the scenario.

    Looking forward to hearing from you.

    Regards,
    Ivaylo
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  4. Briar
    Briar avatar
    58 posts
    Member since:
    Jun 2014

    Posted 22 Dec 2015 in reply to Ivaylo Link to this post

    Hi, Ivaylo, 

     

    I will open a support ticket and provide the information you requested.  Thanks!

     

    Briar

  5. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 24 Dec 2015 Link to this post

    Hello Briar,

    I am closing this thread, since we are already working in the support ticket.

    Regards,
    Ivaylo
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top