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?
9 Answers, 1 is accepted
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
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
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
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
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)
Glad to hear that.
If you need further assistance please let us know.
Regards,
Boyan Boev
Telerik
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
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