Telerik Forums
Testing Framework Forum
3 answers
174 views
We encounter problems debugging coded steps after installing VS2010 hotfix KB2736182.
When clicking the "Debug Test in Current Context" an error appears, while this was working before installing the hotfix.
The following error shows up: 

Failed to queue test run '<computer name> <time>':
Method not found: 'Void Microsoft.VisualStudio.TestTools.Agent.AgentProcessManager.SetCurrentPlatform(System.Reflection.ProcessorArchitecture, Microsoft.VisualStudio.TestTools.Common.AssemblyClrVersion)'  


Does anyone else encounter problems with debugging or know a fix / workaround?
Plamen
Telerik team
 answered on 05 Nov 2012
5 answers
238 views
HI

There are a lot of tests in a testlist.When a test  fails due to a fact that the browser is not responsing or the browser can not be closed,the other tests after the test can not be executed.So i just want to know how to close the browser when the browser is not responsing,so that the other test can be executed.

Thanks for your answer.
Plamen
Telerik team
 answered on 31 Oct 2012
9 answers
127 views

Hello.

Our product hardly used RichFaces elements but WebAii cannot click on them.

for example (more important problem): Webaii can find node in RichFacess tree but it can't click on natively. Just nothing happens.

I can click with .MouseClick(MouseClickType.LeftDoubleClick) but it works only sometimes.

Anton
Top achievements
Rank 1
 answered on 24 Oct 2012
1 answer
97 views
Hi,
Test Environment: Visual Studio + Firefox

I have a problem working with the save as dialog, and it's that after some time of being working perfectly, it suddenly stops working, I mean I can download an average of 10 files, and then after that suddenly the Save As dialog does not work anymore, this is the piece of code that I'm using to Save a file:

As you can see, I'm simulating the file menu with some clicks, (if you have a better idea please let me know) because it's kind of complicated, and then I'm creating the SaveAs Dialog and adding it to the monitor, as I said it works sometimes and then suddenly it stops working.

Could you help me please?

System.Threading.

 

Thread.Sleep(1000);

 

 

 

Element input2 = myManager.ActiveBrowser.Find.ByTagIndex("table", 0);

 

myManager.ActiveBrowser.Actions.ScrollToVisible(input2);

 

myManager.ActiveBrowser.Desktop.Mouse.Click(

 

MouseClickType.RightClick,0,150);

 

myManager.ActiveBrowser.Desktop.Mouse.Click(

 

MouseClickType.RightClick, 0, 150);

 

 

System.Threading.

 

Thread.Sleep(500);

 

System.Drawing.

 

Rectangle Coor3 = input2.GetRectangle();

 

Coor3.X = Coor3.X + 10;

Coor3.Y = Coor3.Y + 10;

myManager.ActiveBrowser.Actions.ScrollToVisible(input2);

myManager.ActiveBrowser.Desktop.Mouse.Click(

 

MouseClickType.LeftClick, 10,240);

 

 

 

 

SaveAsDialog saveas3 = SaveAsDialog.CreateSaveAsDialog(myManager.ActiveBrowser, DialogButton.SAVE, "C:\Test", myManager.Desktop );

 

myManager.DialogMonitor.AddDialog(saveas3);

 

 

 

 

 

 

try

 

{

 

saveas3.WaitUntilHandled(10000);

myManager.DialogMonitor.RemoveDialogs();

 

}

 

 

catch

 

{
}

Stoich
Telerik team
 answered on 24 Oct 2012
5 answers
167 views
Hello
It is possible to run a test through Web app to test another Web app??
What I'm trying to do is build a UI (Visual Studio) with a menu, then select one link and run a test.
Already have the tests using Telerik.WebAii library, and in the local machine works fine, but when I deploy the app on the IIS(7), doesn't do anything.
I'm I doing something wrong, or maybe it's not possible??
In case it's possible, do you have to install Test Studio on every PC you want to run the Test, or the test runs with the server configuration??
Thanks in advance.
Stoich
Telerik team
 answered on 18 Oct 2012
14 answers
262 views
I'm trying to access IE 10 in the Win8 Consumer Preview, and cannot connect to IE. When it comes up, I only get the about page, and it never reports that it is being configured for automation.

Do you have a build that works with IE 10 yet?
Cody
Telerik team
 answered on 12 Oct 2012
1 answer
132 views
I'm attempting to run some testcases that I created in Test Studio by simply using ArtOfTest.Runner.exe.

I have two tstest files in a root folder, a test list file in a folder called "TestLists", and the DLL for the project in the "bin" folder.
With that setup I can then run the test using this command:
ArtOfTest.Runner.exe list="C:\temp\TelerikTest\TestLists\MelindaList.aiilist"

However, if the DLL is not in a folder called "bin", or if the tstest files (the ones in the test list) are not one folder up from the test list, everything fails to run. I can't find anyway to specify the location of the DLL file or change where the test list is looking for the testcases.

Can anyone help with the proper way to deploy and execute a test list using ArtOfTest? Not every machine that I want to run the tests from will have Visual Studio with the Telerik ad-on, so I want to be able to run the tests independently from Visual Studio or Test Studio, but I'm having a hard time figuring out the best practices for deploying the tests once I've written them. Any advice would be appreciated.
Mario
Telerik team
 answered on 12 Oct 2012
1 answer
82 views
Hi,

The Silverlight application I am testing has a popup with the text inside it "Cannot delete ABC." where ABC is the name of the object.

Doing this works and it finds the popup:
var foundPopup = popup.VisualTree.Find.ByExpression(new XamlFindExpression("TextContent=Cannot delete ABC"));


But...
The object isn't always going to be called ABC. I'd like to parameterise it. I was hoping a regular expression or something like that could be used to do this.

What is the best way to have a wildcard substitute for ABC?

Thanks,
Dren
Plamen
Telerik team
 answered on 11 Oct 2012
4 answers
178 views
I am connected to remote desktop and start running the tests on another server, and then i have a very big problem because all the tests fails on the moment when the mouse action is needed. The problem occurs when the remote window is minimalized or closed. The tests run fine if the focus is on the remote window.
Plamen
Telerik team
 answered on 11 Oct 2012
5 answers
750 views

Hi

There is a testlist that contains some tests.If i run the testlist in VS,it will not execute all the tests due to the MSTest.exe fail to work.The report shows that "Process is terminated due to StackOverFlowException".So,i want to know how to cause the StackOverFlowException and how can i avoid the exception and solve the problem?

Thanks

Plamen
Telerik team
 answered on 10 Oct 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?