I have been running into problems with our automated test scripts failing intermittently. I have narrowed it down to when we try to run the tests using remote execution. I have created a simple demo test which runs successfully on the local VM (Machine A which has Test Studio Functional installed) but when I try to run that same test list on the remote execution server (Machine B which has Test Studio Run-time installed), the test "hangs" and eventually fails.
I have attached the test project along with the execution server log for you to look at. There is also a video demonstrating the issue at this link: http://www.screencast.com/t/Ys1YAmvdICl
STEPS TO RECREATE:
1. Open Test Studio and open the "Google_Test" folder
2. Select "Test Lists" -> "All Browsers" Test List -> "Run List"
3. The test executes and passes
4. Select "Run List Remotely" and run the same test list on a remote execution server
5. The test runs much slower and even hangs after awhile, causing the script to fail eventually (see video at this link: http://www.screencast.com/t/Ys1YAmvdICl)
I have telerik test studio edition on one machine(Machine A) , using which I develop all my test cases . Now I have a run time edition on another machine(Machine B) in the same domain.I configured storage server , scheduling server and started execution server on machine B.
Now i try to access my machine B through run test lists remotely option in machine A. But when ever I click on check button next to machine name option in run lists remotely, it throws an error message as "Service not found". Also attached the screenshot for the same.
Please let me know how i can make use of run time edition as I want to use license edition on my nightly build .So want to try on one test machine before.
Please help me out with this as its highly urgent for me.
Another important question : why its written in the system requirements doc of installation of telerik licenses that " User Account Control" should be set to never notify.
Is it required only for the installation or it has to be like forever. Because my company policy doesn't allow it to be like that for ever.
Thanks in advance
I have 2 remote windows machines that I would like to run tests on. I have installed Firefox on one and Chrome on the other. I also uninstalled IE on those machines as the Firefox and Chrome would be the default browser. When I check the status of the machines in the Test Studio Ultimate in the Scheduling section of the ribbon, it shows Firefox and IE (or Chrome and IE) installed. How do I get the Test Studio real-time execution agents to stop reporting that IE is on the machines. This affects running lists remotely as I will get the following error:
4/20/2015 1:46:36 PM' - System.ApplicationException: Exception thrown attempting to launch Internet Explorer. Please make sure Internet Explorer is properly installed and you are able to launch it. ---> System.ComponentModel.Win32Exception: The system cannot find the file specified
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename)
--- End of inner exception stack trace ---
at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename)
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InitializeWeb(ExecutionEngineCreateParams initParams)
at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.CreateAndInitializeEngine(Test test, ExecutionEngineCreateParams cp)
at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)
Greetings,
I've disconnected my test studio project from VSO and deleted the VSO project because I want to move it to a different VSO project.
Now when I click the Connect To Source control button, nothing happens, but the log says that the project doesn't exists.
It's trying to connect to the old project that doesn't exist. It won't give me the dialog box to reconfigure the source control.
Thanks
Wade
Hi,
I'm following the Data Driven Find Expressions mentioned by you on the below mentioned link
http://docs.telerik.com/teststudio/advanced-topics/coded-samples/general/data-driven-find-expressions
But I got the following error:
(CS1061) 'TestStudio_demo.Pages' does not contain a definition for 'TelerikExtensionsForASP' and no extension method 'TelerikExtensionsForASP' accepting a first argument of type 'TestStudio_demo.Pages' could be found (are you missing a using directive or an assembly reference?)
I have followed the exact steps mentioned in the above link. Please help me with this.
Thanks in Advance.
Hi All, I'm new to Telerik Test Studio so I apologize if this has already been asked.
When recording a web test, we have a requirement to start the browser in private mode first in order to clear the cache and prompt for appropriate credentials to the site:
How can this be triggered via the Test Studio recorder?
Any answers that can be provided would be greatly appreciated.
We were having trouble in a test, getting RadAsyncUpload to open the control in the same directory (where the test is located) across different machines.
It seems that the browser remembers where the open dialog was the last time it was opened. All a tester had to do to cause the test to fail was a) move the test to a machine where the directories were slightly different or b) open any save as or upload dialog on the machine before running the test. Either way, the OpenFile dialog from RadAsyncUpload would be in the wrong location and not be able to open the file expected.
The solution, though it took a while to discover, is easy to implement.
1. Edit the RadAsyncUpload step in code - creating a coded step.
2. Create a full-path by combining the built-in Deployment directory with the sub-directory (if not in the project directory) and the expected file to upload
3. Open the control programmatically with the full-path
Sample Code:
Dim targetFile as String = "Spreadsheet Import Test File.xlsx"
Dim targetDir as String = "Ver_x\Group Test" ' path beyond the project directory
Dim ssFile as String = System.IO.Path.Combine(Me.ExecutionContext.DeploymentDirectory, targetDir & "\" & targetFile)
Console.WriteLine("ssFile=" & ssFile)
' RadAsyncUpload('ctrlGroupUploadWindow_RadAsyncUpload1'): upload file 0
Pages.GroupTestForm.FrameCtl00.CtrlGroupTestWindowRadAsyncUpload1Div.Upload(0, ssFile)
' We use this in the 15 tests that need the same file - and it works without fail no matter which machine or which directory was last opened.