Telerik Forums
Test Studio Forum
1 answer
152 views
Good morning,

at the moment I am evaluating Telerik test Studio for use in our company.
Now I came to a problem that is very essential for us:
    I want to create a data driven test case that validates the contents of a datagrid
    For Example:
        In the UI of the to be tested program there is a data grid with the following columns: Name, Surname, Login
        Now I want to verify that a certain set of expected values is present in this grid

So far I have found no way to check the entire grid. I only can verify a single cell. But it would be very inpractical to create a verification step for every single cell of the grid!
Now my question is:
    Is there a way to target cells in a data grid in a generic way, via a variable for example?

best regards

Hendrik
Ivaylo
Telerik team
 answered on 28 Aug 2012
1 answer
77 views
So something that I've always had a bit of an issue with is how to deal with dynamically changing containers, like tables, lists, etc.

As of now when I fill out a form, and that form adds content to a specific table, I use a code behind class and a customer HTML searching tool I wrote to search that table for strings that I am looking for. This is a bit troublesome, because it means that I'm required to create a code-behind class for every test that has to verify data.

Another option that I noticed is I can create a unique element that wont be the same so the search params will be something along the lines of:
tagname = td
InnerText = TheStringUniqueToTheTestIAmRunning

The problem with this is that this will eventually create hundreds, if not thousands of elements creating a massive project file, not to mention from my experience test studio standalone or the vs plugin don't handle sorting elements very well and often crash because of it.

So what I'm hoping for is some other options that are a little simpler, that can be unique to a test and not require a code behind... all suggestions are appreciated!!

Cheers
Jon
Cody
Telerik team
 answered on 27 Aug 2012
2 answers
315 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
114 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
99 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
69 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
214 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
247 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
113 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
80 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?