Test Lists failing to navigate to website under test

10 posts, 0 answers
  1. Dustin
    Dustin avatar
    1 posts
    Member since:
    Jun 2014

    Posted 06 Jul 2015 Link to this post

    Intermittently in my project, tests within test lists are failing to navigate to the webpage being tested. The browser (IE, Firefox, Chrome) does not load the webpage, the test times out, and fails. I have increased timeout times, but eventually the browser itself times out. I am not seeing this issue with quick execution. These test lists are scheduled and executed on a virtual machine.

    Using TS Ultimate, version: 2015.1.528.0 

     

    Has anyone else run into this problem, or does anyone have an idea of what might be the issue?

  2. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 09 Jul 2015 Link to this post

    Hello Dustin,

    Since this is an intermittent issue I guess this is related to the performance of the VM you are using. What else is running on the VM? Are there enough resources when executing the test list?

    Such problems are quite hard for investigation since this is related to specific environment and we cannot predict all the circumstances faced.

    Regards,
    Ivaylo
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  3. Raj
    Raj avatar
    1 posts
    Member since:
    Jul 2015

    Posted 10 Jul 2015 in reply to Ivaylo Link to this post

    Hi Admin,

    I am using Telerik Test Studio 2015.1 (standalone Tool) since last 4-5 days. I am evaluating this tool for Automation test for our Silverlight 5 Application. In our App we have file export feature that can export a file, and I want to name the file with DateTime. But after recording the export functionality. I only found below code

    "Pages.PSODashboard.SilverlightApp0.TxtExportTextblock.User.Click(ArtOfTest.WebAii.Core.MouseClickType.LeftClick, 17, 38, ArtOfTest.Common.OffsetReference.TopLeftCorner, ArtOfTest.Common.ActionPointUnitType.Percentage, ((System.Windows.Forms.Keys)(0)));"

    how can I add my code that will name the file. If I need to use some namespaces can I add them here, or should I use Visual Studio and Test Studio plugin and then code it.

    I was looking into your videos and documentation but, I could not find the one that can help me.  Could you please point or guide to the appropriate ones.

    Thanks,

    Raja

  4. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 10 Jul 2015 Link to this post

    Hi Raj,

    The code sample you have posted is only the code to click your Export button. Following this is additional code (or the non coded Handle Download Dialog test step) to handle the Save As dialog via code (which will allow you to add a date/time stamp to the file). An example of how to handle the Save As dialog can found on this documentation page.


    Regards,
    Cody
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  5. Donna
    Donna avatar
    7 posts
    Member since:
    Mar 2012

    Posted 23 Jul 2015 in reply to Cody Link to this post

    I have built a 117 test suite which I run as a daily regression on our software. It has been running daily for a couple of months. Yesterday I downloaded a new Test Studio version (2015.2) and today I appear to be having a similar issue where 1 out of 3 tests stop prior to reading the first step in the test script. However, that's where the entire test list stops--no timeout, just sits there for as long as I have patience (​Internet Explorer is loaded, but the code to retrieve the url from the data-driven file isn't even accessed). I have to remove that script and start over, only to run into another script that will not execute further down the list. These scripts will run fine manually, and maybe the next time in a test list, but then the same ones stop running again.
  6. Boyan Boev
    Admin
    Boyan Boev avatar
    1039 posts

    Posted 28 Jul 2015 Link to this post

    Hi Donna,

    Which version of Test Studio did you exactly install?

    Please install our latest version (2015.2.723) which contains a major bug fix regarding the scheduling.

    You can download it from here.

    Hope this helps.

    Regards,
    Boyan Boev
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  7. Donna
    Donna avatar
    7 posts
    Member since:
    Mar 2012

    Posted 28 Jul 2015 Link to this post

    Hi Boyan,

    Thanks for your response. I had downloaded the 152.7.15.0 version to a brand new workstation late last week, which is the one I had the issues with. The 'AccessDatabaseEngine' script did help the issue considerably. At what point will this script be integrated as part of the download and/or install process? This isn't the first time that issue has come up. It is hard to remember these rarely used steps involved in upgrading or preparing a new workstation for Test Studio.

    In the meantime, I have downloaded the latest 152.7.23.0 version and it is working as I would expect it to.

    Thanks again for your help,

    Lisa

    (for Donna)

  8. Boyan Boev
    Admin
    Boyan Boev avatar
    1039 posts

    Posted 31 Jul 2015 Link to this post

    Hello Dona,

    Glad to hear that.

    If you need further assistance please let us know.

    Regards,
    Boyan Boev
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  9. Deepak
    Deepak  avatar
    1 posts
    Member since:
    Jan 2014

    Posted 24 Nov 2015 Link to this post

    Hi Boyan,

    I am facing similar issue on 2015.3.1015.0 build. A test list has 15 test and after 3-4 test execute it just launches the IE for rest of the test in a test list 

     

  10. Boyan Boev
    Admin
    Boyan Boev avatar
    1039 posts

    Posted 27 Nov 2015 Link to this post

    Hello Deepak,

    I am sorry you are facing such issue.

    Could you please send us the application log. Clear it first and reproduce the issue.

    If you execute the test remotely could you also send us the logs from the execution machine? See this video for detailed explanation how to achieve this.

    Hope to hear from you soon.

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