Telerik Forums
Test Studio Forum
1 answer
94 views
Hi

I'm looking at the Telerik test scheduler, I haven't got multiple machines available as of right now. So i can't test it my self, but i expect it to be a trivial question:.

When i select a test list and schedule the running and select multiple execution agents will it then:

A: Select the first available agent and complete the entire list against that agent
B: Distribute the tests across the agents for optimal execution speed?

So basically if i get 3 agents and want to utilize them all do i need 3 tests lists setup to run at the same time or do i need 1 big setup to run against all 3 agents?


I'm asking because I'm unsure if i will win anything by buying access to test studio(currently using the framework) over just creating my own test lists and some schedules windows tasks to execute the tests with MSTest.

Looking forward to your answer.
Stoich
Telerik team
 answered on 31 May 2012
3 answers
104 views
Hi all
After I recorded verify step on IE
I run it on firefox but it's not running because encode of string
I corrected :  Pages.InachisHardwareAndChannels0.StartNbspMarkLabelTag.AssertContent().TextContent(ArtOfTest.Common.StringCompareType.Contains, WebUtility.HtmlDecode("Start Mark"));
But it don't run.

Please refer attachment
Thanks so much
Stoich
Telerik team
 answered on 31 May 2012
1 answer
89 views

Hi Guys,

I'm writing the same issue for the third time.

 1. "File Download" window is not been detected by the "Test Studio". As per the user guide, i tried with "Handle DOwnload Dialogue" and changed the necessary things in "Properties Pane". But still it is not been detected by the Test STudio. In my previous thread i have attached the defect log too.

 2. This is a new issue which i faced yesterday. This is something to do with "AJAX". In my screen, there are two drop downs "Sales Company" & "Warehouse". After the "Sales Company" option is selected, the "Warehouse" drop down will be populated based on the option selected in the "Sales Company". I tried the steps mentioned in the video available in the "Telerik TV", by changing the role of "Verification" to "Wait" but still it is throwing error.

I will be thankful if you help me in resolving in these issues.

Byron
Telerik team
 answered on 31 May 2012
3 answers
193 views
Hi,

Is it possible to compare a data driven value with an extracted value without going into the code behind window?

For Instance, I have a data driven test that wants to check the value of a particular field and then write to the field depending on what value is already present.  The method would be to extract the current value into an extracted variable $(MyExtractedValue), then compare it with the value that is held in the data $(MyDataValue).  So far I have not found a way to do this without going into VB.

Thanks,
Nigel Edwards, Transition Computing.
Shashi
Top achievements
Rank 1
 answered on 31 May 2012
4 answers
86 views

Hi,

In my application, i have "Export" button which is used to export the reports from the database to the user system. If i click on the "Export" button, another window named "FIle Download" with the buttons "Open", "Save" & "Cancel" will be displayed. I will be able to open or save the document using those buttons. But if i use test studio to check the functionality of the "Export" button, while recording i got the step as "Handle 'Download' dialog". But while running the same script i got the below error in the log.

Failure Information:
~~~~~~~~~~~~~~~
Timed out waiting '25000' msec. for download dialog to be handled.
InnerException:
System.TimeoutException: Timed out waiting '25000' msec. for download dialog to be handled.
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.DownloadDialogHandlerDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.DialogHandlerDescriptor.Execute(IAutomationHost browser)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)

The "File DOwnload" is not been captured by the test studio for recording. Kindly help me with this issue.



Thanks,
Deepa.C
Byron
Telerik team
 answered on 30 May 2012
3 answers
208 views
I am trying to do something that should be simple.  I have an excel table binded to my Test Studio web test.  I want to reference different rows for input values within the same test.  So if I have a column named Amount, what is the correct way to get the 2nd row value from Amount?  Is there a way to do it in the Properties window under bindings?  Like $(Amount,2) ?
Naveen
Top achievements
Rank 1
 answered on 30 May 2012
1 answer
151 views

Hi Telerik Team,

I am facing an issue while selecting an item from the list. I am trying to select an item from the list. The list is a ‘Div’ element. In DOM Explorer when I see the list and the items from the list. The list is shown as ‘Div’ tag and all the list items are also shown as ‘Div’ tag. So I believe that the control will not support the methods available for list.

To select an item from the list I am using below code. The code is not returning any error. But it also not selecting an item from the list.

ActiveBrowser.Window.SetFocus();

Pages.Page1.Frame.dropdownButton.Click(false);

System.Threading.Thread.Sleep(2000);

var testList = Pages.Page1.Frame.testList; 

HtmlDiv itemToSelect = testList.Find.ByExpression<HtmlDiv>("TagName=div", "class=dropDownItem","InnerText=" + listItemName); // listItemName is global variable

Assert.IsNotNull(itemToSelect, String.Format("Failed to find the list item '{0}' in the list.", listItemName));

// itemToSelect.Click(false);

// itemToSelect.MouseHover();

itemToSelect.ScrollToVisible();

itemToSelect.MouseClick();

System.Threading.Thread.Sleep(5000);

Anthony
Telerik team
 answered on 29 May 2012
1 answer
92 views
I customize code : find item follow control name
But it cannot find special text
You can refer attachment
Plamen
Telerik team
 answered on 29 May 2012
1 answer
128 views
I want to use Excel for non-iterative data driven testing. I used the code sample from the user manual, and I pointed my project to the proper assembly (Microsoft.Office.Interop.Excel). I then put a "using" statement in my code. But when I try to run the script, it tells me that it cannot create an instance of the following:

Microsoft.Office.Interop.Excel.Application excelApp = new 
Microsoft.Office.Interop.Excel.Application();

The specific error is c:\Users\enoch.ornstead\Documents\Test Studio Projects\Programming_testing\Excel integration.tstest.cs: Line 101: (CS0144) Cannot create an instance of the abstract class or interface 'Microsoft.Office.Interop.Excel.Application'
Any idea what I could be doing wrong?
Stoich
Telerik team
 answered on 28 May 2012
3 answers
194 views
Greetings

Currenlty we are finding the ways to load test our .net4 application, Please inform if Telerik test studio supports load testing .net4 applications.

Client Application = WPF (Desktop)
Application Server/communication = WCF (Currently a self hosted WCF application/server but in future we planning to deploy it as windows service)
Database = SQL Server 2008

Let me know if more information is required for reply.

Regards,
Zohaib Azhar
Cody
Telerik team
 answered on 25 May 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?