Telerik Forums
Test Studio Forum
5 answers
108 views
Where locally is the test logs saved for each test ran from test studio?  Thanks
Alan
Top achievements
Rank 2
 answered on 04 Sep 2012
4 answers
94 views
hi,

i have an error when add a script step or custom a step by code. after click run, i get the error log:

: Line 0: (CS1703) An assembly with the same identity 'Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' has already been imported. Try removing one of the duplicate references.



but if it is a new and clean test, it's ok for running. the error will be shown after an empty "Script test" added.




Overall Result: NotRun
------------------------------------------------------------
'9/4/2012 10:26:48 AM' - Using .Net Runtime version: '4.0.30319.269' for tests execution.
'9/4/2012 10:26:48 AM' - Starting execution....
------------------------------------------------------------
------------------------------------------------------------
'9/4/2012 10:26:57 AM' - Using 'InternetExplorer' version '7.0' as default browser.
------------------------------------------------------------
'9/4/2012 10:26:57 AM' - Overall Result: NotRun
'9/4/2012 10:26:57 AM' - Duration: [0 min: 0 sec: 109 msec]
------------------------------------------------------------
'9/4/2012 10:26:59 AM' - Test completed!


OS: XP sp3
Telerik test studio version:2012.1.719
test project is in TFS2010. and it is a C# project.


could you help? thanks a lot!

Seff
Top achievements
Rank 1
 answered on 04 Sep 2012
1 answer
67 views
Hello Telerik Team,

I have an issue with capturing elements from a Model Dialog. The hover over elements does not work in the modeldialog/popup

Can you please help me on how to achieve this, I have also tried to use the reconfigure the recorder option, but it didn't help

Thanks
Satvick
Stoich
Telerik team
 answered on 03 Sep 2012
2 answers
58 views
Hello,

is there a lightweight product for a continuous integration server?
I mean, just the executable to run the tests (without installing the test generation tools).

Thank you for your attention
Mood
Top achievements
Rank 1
 answered on 03 Sep 2012
3 answers
93 views
Hi,

Is there a way to tell TestStudio to execute a test from an excel file?

For example, have a test that loops through rows in Excel, then reads data from some columns, and if the conditions are met the test reads the name of another test from the Excel sheet, then executes that test?

Thanks in advance for your advice and input.

Sincerely,

Jon
Ivaylo
Telerik team
 answered on 31 Aug 2012
4 answers
166 views
Hi,

I am trying to extract a variable from the URL itself and set it as a string.  What I tried to do is the following.

sample code:

string URL = ActiveBrowser.Url.ToString();
string Variable= (URL).SubString(84, 2);

NativeWindow window = new NativeWindow();
window.AssignHandle(ActiveBrowser.Window.Handle);            
MessageBox.Show(URL);

I am getting a compilation failure, what is the correct way of setting the URL as a string, trimming it as needed and setting it as a variable(int). 
Dan
Top achievements
Rank 1
 answered on 30 Aug 2012
1 answer
108 views

I would like to have global variables which can be used across tests in current project.
In the project namespace, I creates a static class with the global vars (along with accessor methods).
But I was not able to use these vars, error seen while running tests stating: class does not contain definition for var.
I am not so familar with C#, but I tried other solution as well: created a struct inside the static class,
which includes the global vars. But in this case, I was not able to access the struct vars.
Value types for some reason cant be accessed the way we expected global vars to ber accessed.
I cant acess value types globally but for some reason I can acess reference types.

Any ideas or workaround on creating global vars - which can be set/get accross different classes/tests in Telerik?

Thanks,
Rakesh

Cody
Telerik team
 answered on 30 Aug 2012
1 answer
109 views
I'm getting two different 'Extracted Data Driven Bindings' from the recorder. At the end of the test I want to do an Assert.AreNotEqual() with the two dynamically extracted data values. How can I do this? When I try coding a step, the data bindings aren't available to the coded step.
Plamen
Telerik team
 answered on 28 Aug 2012
1 answer
134 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
61 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
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?