Telerik Forums
Test Studio Forum
2 answers
260 views
Hi,

I'm having a problem with compilation error in a test script, but it ran fine if I opened that same script and run it.  

We're running stand-alone Test studio and we use store our automation tests in TFS.  There are 2 of us creating/editing automation tests, but we don't touch each other scripts.  Therefore, we only check in our own test scripts and use the "Get latest" option. 

After I did a get latest option, I tried to run my script "Message"; I got a compilation error on other scripts.  For example, "Search" script (please see the screen shot for the log error).  I went and run the "Search" script, it ran without any error.

The "Sort and Filter Cases" was created and it didn't work so the other Tester deleted all the steps in that script; so it's blank.  I opened the script and verified that there is no step in it. 

Could you help me figuring out why I am having these complilation problem?  Right now, I can't run my script due to this compilation error.

Thanks,
Mindy
Stoich
Telerik team
 answered on 27 Aug 2012
7 answers
100 views
Hello,

I converted a step to a coded step in my test file 'Policy_Coverage'.  When attempting to execute, I receive the errors below, all of which are in a different test file 'GL_Smoke_Driver'.  The execution worked fine before I converted to code, and when I remove the Policy_Coverage.cs file, execution is normal again.  I double checked the assemblies and they are all there.  What the heck happened?

j:\...\GL_Smoke_Driver.tstest.cs: Line 9: (CS0234) The type or namespace name 'Data' does not exist in the namespace 'System' (are you missing an assembly reference?)
j:\...\GL_Smoke_Driver.tstest.cs: Line 11: (CS0234) The type or namespace name 'Xml' does not exist in the namespace 'System' (are you missing an assembly reference?)
j:\...\GL_Smoke_Driver.tstest.cs: Line 78: (CS0246) The type or namespace name 'SqlConnection' could not be found (are you missing a using directive or an assembly reference?)

Many thanks,
Alan
Alan
Top achievements
Rank 2
 answered on 27 Aug 2012
1 answer
89 views
I'm having a problem that when I add an element it will create a new page.

My recording options are configured like so:
Example page: http://localhost/MyApp/somePage.aspx

base url: http://localhost/MyApp/
element page comapare mode: relative path only

The element will show as:
base url: http://localhost/MyApp 
path: /somePage.aspx
and the  ComapreMode varies between relativePathOnly, FullPath, and FullPathAndQuery

This is rather frustrating and difficult to manage, how is element management suppose to be done?

Thanks
Jon
Byron
Telerik team
 answered on 24 Aug 2012
1 answer
60 views
Hi team,
i met an issue when i tried to make my scripts to support firefox. when clicking some links or logo on the page, expected results is a new browser pop up with correct url, and we will close this new browser window then, but my scripts does not work well on firefox while it is ok on IE, my test studio version is 2012.1.719.0, and version 14 for firefox. i have attached a demo since my scripts in projects is a little large and complex, it will behave as the same issue.
Plamen
Telerik team
 answered on 24 Aug 2012
5 answers
192 views
Hello,
I recorded test and when i want playback it on Chrome and Firefox then i can't do that. On Firefox Telerik Framework is turned off because it's incompatible with it. How it's possible? I use trial version

In Chrome telerik plugin is working but after i click submit button, the page not reload. I see only "please wait". When i turn off telerik plugin then website open correct.

Ivaylo
Telerik team
 answered on 24 Aug 2012
3 answers
226 views
  • We are currently evaluating Test Studio in our organisation. After I demonstrated Test Studio's functionality to the testers in our organisation, they were keen to trial it themselves. However, the testers do not have local admin privileges on the pcs, so every time they want to run Test Studio, they are prompted for elevated privileges and then they cannot proceed.
  • Is it a requirement that Test Studio standalone must run with admin privileges, or is there something I missed during installation?

    We are currently using the trial version 2012.1.719.0

    Thanks in advance
Cody
Telerik team
 answered on 24 Aug 2012
1 answer
77 views
Hi guys,

A team member and I have been working on the same project. We are using subversion. My teammate checked in a folder of tests and when I checked out that folder (just the folder nothing else like settings or anything) and on compile it outputs tons of errors. 

If I delete the pages cs file while TS is open then the project compile works perfectly fine, but as soon as I open TS again it regenerates the pages file and everything breaks again.

How can we fix this problem so that the the team can work on the same project without breaking the project when they checkout new content.

Is there a best practice area for using version control with test studio projects?

Thanks
Jon
Byron
Telerik team
 answered on 23 Aug 2012
1 answer
68 views
I have a simple Silverlight OOB application.  The app opens with three textboxes: First Name, Last Name, and Age.  The Age textbox has a behavior associated with it.  This behavior forces the user to enter a valid number.  When I create a test using Test Studio, I record entry of a first name, last name and entry of an age into the form.  However, when I play the test back, all the textboxes get the proper values entered except for the age textbox.  If I remove the behavior from the Age textbox, then I can successfully play my test back and all the textboxes are populated correctly.  Is there a way to run this test successfully when the Age textbox has a behavior attached?  My Silverlight source code is attached.
Top Gun
Top achievements
Rank 1
 answered on 23 Aug 2012
8 answers
98 views

We are currently evaluating Telerik Test Studio, and I have a problem trying to get my tests to run steadily in a loop. 

To evaluate, I have written a simple test, which 1) logs the user in to our website, 2) checks that the user is properly logged in (information concerning the user is validated) 3) logs the user out.

This test runs smoothly, but when I put a loop around the test and make it run e.g. 100 iterations (in order to evaluate whether the automated test is stable), it always fails sooner or later. Sometimes on the 3.rd iteration, sometime on the 84.th etc…

When it fails, I get an error in IE 9, saying that the browser has stopped working. When I try to run the same test In Firefox, the browser also closes unexpectedly  sooner or later – but without any errors from the browser. (It is significantly more unstable in Firefox than in IE.) Not surprisingly, the error I get in Telerik Test Studio says that it cant locate the elements it is looking for - since the browser has been closed.  ("is not connected to remote to be able to process command")


Any ideas?

Best regards
Annette

Ivaylo
Telerik team
 answered on 23 Aug 2012
2 answers
160 views
Hi,

I am encountering an issue where there are several checkboxes that need to be checked and saved.  I see that the boxes are checked on the frontend, however they're not being reflected in the backend.  I have tried the following methods and they all failed:

1. recording the click with "simulate real clicks" AND "invoked onclick" set to true
2. using a coded step with the following code:

ActiveBrowser.NavigateTo("http://........);

HtmlInputCheckBox CheckAnimated = Find.ById<HtmlInputCheckBox>("is-animated-ad");
CheckAnimated.Check(true, true);

HtmlInputCheckBox CheckExpanding = Find.ById<HtmlInputCheckBox>("is-expanding-ad");
CheckExpanding.Check(true, true);

HtmlInputCheckBox CheckTaskbar = Find.ById<HtmlInputCheckBox>("is-taskbar-ad");
CheckTaskbar.Check(true, true);

HtmlInputCheckBox CheckPopover = Find.ById<HtmlInputCheckBox>("is-popover-ad");
CheckPopover.Check(true, true);

both method failed, I would appreciate it if you can provide me a better solution to this problem. 

thanks,
Dan
Cody
Telerik team
 answered on 22 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?