Telerik Forums
Test Studio Forum
3 answers
76 views
I would like to change the default Test Studio (standalone) paths and settings. Where are they stored?
I am using version control software and would like create new projects in specific location instead of "C:\Users\%username%\Documents\Test Studio Projects" in Windows 7.
Byron
Telerik team
 answered on 05 Sep 2012
9 answers
318 views
Hello All,

I am using Test studio to test my website.
One of the major problems that I encountered is that the tool doesn't wait for the entire page to load.

The scenario I am recording is as:

My site contains a number of assignments which a user(instructor) can edit.
I have to click on edit link for a particular assignment after which the assignment page loads in which  I have to edit an instruction(click a button) and changes instruction text(change value in a textbox).

The problem is that after I click "edit assignment button", It takes some time(10-25 seconds) to load the page.If I do not specify any delay in the script , the tool tries to click the edit instruction button before the page loads completely. also, It's strange that the tool somehow shows that the button is clicked(though it is actually not) and proceeds to next step(entering text in textbox) where it fails as I doesn't get any textbox(the textbox comes after clicking edit instruction button which was not actually clicked).
I have checked "SimulateRealClick" also.
I am not able to find out the reason for such behavior (the tool showing click action performed though it's not actually clicked).

IF I specify a sufficient delay before click step, It works correctly. But this delay concept doesn't work well everytime as the time the page takes to load may vary and to cater all cases, I cannot specify a long delay as It would cause unnecessary waiting. I am facing this similar problem at a number of other places also in the site.

Could anybody plz suggest if there is a generic solution for  this problem(not something like specifying delay or slowingdown the script) ? I want the tool to wait(or keep searching for the element)till the page is loaded completely.

Thanks and regards,
Shruti




Cody
Telerik team
 answered on 05 Sep 2012
1 answer
98 views
Hi,

I need to use ActiveBrowser to find a link with a name that includes an extracted variable from a previous step.  The name is not an exact match with the variable, but has 1 letter that is different.  How can I use a coded step to find this variable link and perform an onclick on it?
Stoich
Telerik team
 answered on 05 Sep 2012
1 answer
88 views
Hi there 
        I have a test scenario where I Have a large number of rows of test data in my bound data source, but in any given test run only some of them will be valid, I have worked out how to use a logical If step to skip rows that are not relevant but I was wondering if there was a way I can get the test run to end after it has found a certain number of relevant records rather than waiting for it to check all the rest of the records.

So for example
let’s say I have 500 rows of data and I know that 5 of them are valid for this test, lets also say that the If statement finds that rows 1, 3, 5, 7 and 9 are valid how can I tell test studio to stop the test run and not bother checking the other 491 rows?

Thanks

Carl

Stoich
Telerik team
 answered on 04 Sep 2012
5 answers
141 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
116 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
91 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
75 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
121 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
199 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?