Telerik Forums
Test Studio Forum
4 answers
226 views
This launches in IE, even though I recorded the test in Chrome.

ArtOfTest.Runner.exe test="C:\Temp\testStudio\TestProject7\WebTest.tstest" serverPublish=true notifyOption=1 

I also tried platform="C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"

Any suggestions? 






Boyan Boev
Telerik team
 answered on 28 Jan 2014
3 answers
164 views
I am trying to add a coded step where I can write data to an Excel file.
I have added the reference in Project Settings -> Script Options -> Add reference from the location below:
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v3.5\Profile\Client

However, when I run the test, it still fails to complile my coded step. View log displays the error as follow:

c:\Users\Nhan Ai\Documents\Test Studio Projects\Beats Automated Tests\WebTest.tstest.cs: Line 86: (CS0234) The type or namespace name 'Office' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)

And in the code Viewer, these line are highlighted.

Microsoft.Office.Interop.Excel.Application excelApp = new Microsoft.Office.Interop.Excel.Application();
Microsoft.Office.Interop.Excel.Workbook workbook = excelApp.Workbooks.Open(myPath);

Please help!
Thank you,

Nhan Ai


Boyan Boev
Telerik team
 answered on 28 Jan 2014
4 answers
143 views
I am recording and running against Chrome. During recording, I would like to run a single line of of the script. I have a problem clicking some elements like a button. The normal click does not work, so I have to play around with different javascript click events and have to run the whole script to get to that one button to see if it worked. Is there a way that I can play just a single line?
Cody
Telerik team
 answered on 27 Jan 2014
3 answers
95 views
Hi,
I am running data driven test in evaluation copy. Like to know what's the best way to capture result returned from jQuery.
We have Oracle DB at back end, but right now, I created a simple Excel data source, and the page run the query and returns with result.
Questions:
A. Data-driven & valify the query result.
1. Can I put these result to data source wriging code? or another excel spreadsheet outside the application?
2. What's the best way to accomplish this task?

B. How can I add a regular test step?
e.g. The recording missed a step of entering text into zip code, so I want to add
Enter text '32201' to 'zipcodetxt'. It is not manual step or coded step. In evaluation copy, I don't see any button to add 'regular execute step'.

C. Connecting To TFS - just hangs there, and not working
Can it be running in evaluation copy?

D. VB plug in is included in Evaluation copy?

I emailed for technical support because I have to report to my boss this week. But I didn't get any response at all.

Please let me know.
Thank you.

Hannah
Cody
Telerik team
 answered on 27 Jan 2014
6 answers
387 views
Why can a Standalone Test List run locally, but fail remotely?

I've seen this to many times where I can observe that all the files necessary to create the dll file remotely are not being copied to the remote box.  Thus giving errors?

Please explain in this thread if all the files need to run the file locally are compiled locally or remotely?  If they are compiled remotely, then why is the software not copying all the files necessary over to the remote machine.

This is frustrating and taking up to much of my time trying to figure out something that should work remotely if working locally.

Boyan Boev
Telerik team
 answered on 27 Jan 2014
1 answer
116 views
Hello,
Just a few questions on load testing and actual test making.

1.  For Load Testing I've read the document/guide of test studio but still confused about how the charts for Complete/Faulted Virtual Users works.  We used 600 users but the chart goes into the 900s or even thousands in the case of Faulted users.  Why is this?  Do the users simply restart the process once they complete their first attempt?

2.  For a standard website test we are creating a new item, going in and editing its contents and then going back to the list to delete it (restoring it back to original state).  The problem we are experiencing is the link to the item (name: viewLink) seems to be changing its element name when we come back to the list to to delete it (changing to viewLink1 or viewLink2) causing it to return the element not found error.  Of course there are no other items being made at this time to make it move down the list (it is always the 1st item) but is there another route to take in order for the test to determine which element is being clicked on?


Thanks
Cody
Telerik team
 answered on 24 Jan 2014
4 answers
151 views
Dear Telerik support-team,

We run our TestLists remotely on virtual machines.

The TestList succeeds only when I have a remote connection opened and when my mouse is also focussd on the remote desktop screen.

When I run it remotely without having the virtual machine open on my desktop (remote desktop is minimized at that moment), the test fails at the standard "Handle 'Download' Dialog". It is not able to correctly handle this dialog. We have the latest version of Test Studio and it should be able to handle these dialogs better than before..

'13-1-2014 13:05:08' - 'Pass' : 7. Click 'JaIkWilDeLink'
'13-1-2014 13:05:34' - 'Fail' : 8. Handle 'Download' dialog.
------------------------------------------------------------
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)
------------------------------------------------------------
'13-1-2014 13:05:34' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.


Is this a known issue? And how can this be solved?

Thanks for answering.
Boyan Boev
Telerik team
 answered on 24 Jan 2014
1 answer
102 views
Hello,

we have a test with some coded steps. For some reason they get corrupt on the execution server. That means it copies a part of the content twice. Making it incorrect c# sharp. But when i change the cs file in test studio i see the changes in the files locally, but when i run the test list on the execution server it uses older files and makes them corrupt. I attached the corrupted file.

I also removed some test from the project and tfs, but when I execute the testlist on the execution server I still see the old test files.

Any ideas?
Cody
Telerik team
 answered on 22 Jan 2014
1 answer
160 views
Hi All

After recording a test step where I enter text into a input box, and I attempt to run it. The recording shows that the text is entered however when I select the search button I do not get the expected result I'm looking for. I have attempted this manually and it works fine. What I am suspecting is that the recording for some reason things that the text is not entered in the input field.

Below is the code in which i am using to attempt to enter the text

Pages.Orders.ProductSearchTermInputText.ScrollToVisible(ArtOfTest.WebAii.Core.ScrollToVisibleType.ElementTopAtWindowTop);
ActiveBrowser.Window.SetFocus();
Pages.Orders.ProductSearchTermInputText.Focus();
Pages.Orders.ProductSearchTermInputText.MouseClick();
Manager.Desktop.KeyBoard.TypeText("alice", 50, 100); 

and here is the html that the input field is using

<input class="t-input" id="ProductSearchTerm-input" name="ProductSearchTerm-input" type="text" autocomplete="off">

Thanks

Chris

Velin Koychev
Telerik team
 answered on 22 Jan 2014
3 answers
174 views
I am unable to excecute performance tests in any browser. I was once able but after installign and uninstalling Fiddler, it appears that the program can no longer connect to any URLs used in my tests. Attached is the error that I receive from Test Studio and the from the browser.
Ivaylo
Telerik team
 answered on 21 Jan 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?