This is a migrated thread and some comments may be shown as answers.
Test Lists failing to navigate to website under test
9 Answers 29 Views
This is a migrated thread and some comments may be shown as answers.
Dustin
Top achievements
Rank 1
Dustin asked on 06 Jul 2015, 04:22 PM

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

Sort by
0
Ivaylo
Telerik team
answered on 09 Jul 2015, 08:13 AM
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!
0
Raj
Top achievements
Rank 1
answered on 10 Jul 2015, 09:09 PM

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

0
Cody
Telerik team
answered on 10 Jul 2015, 09:20 PM
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!
0
Donna
Top achievements
Rank 1
answered on 23 Jul 2015, 07:10 PM
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.
0
Boyan Boev
Telerik team
answered on 28 Jul 2015, 01:51 PM
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!
0
Donna
Top achievements
Rank 1
answered on 28 Jul 2015, 04:04 PM

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)

0
Boyan Boev
Telerik team
answered on 31 Jul 2015, 07:51 AM
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!
0
Deepak
Top achievements
Rank 1
answered on 24 Nov 2015, 06:36 AM

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 

 

0
Boyan Boev
Telerik team
answered on 27 Nov 2015, 08:43 AM
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!
Asked by
Dustin
Top achievements
Rank 1
Answers by
Ivaylo
Telerik team
Raj
Top achievements
Rank 1
Cody
Telerik team
Donna
Top achievements
Rank 1
Boyan Boev
Telerik team
Deepak
Top achievements
Rank 1
Share this question
or