Hi,
I have a piece of code which is functioning correctly as expected. But the step still waits for the element and fails always..
Explanation about the step : There are two menu items, only one appears at a time based on some conditions..I want to click the menu items. I write a piece of code saying if (a="x") , then Click the menu item
Else Click on menu item and click on button..
I have 2 iterations in which the first iterations satisfies the Else condition and works perfect.. Second iteration satisfies If condition and Works perfect. But even after clicking the menu item, the step is not exiting , it still looks for element and fails as "Wait for condition timed out"
Code Snippet :
Public Sub Test()
Dim Menu = Pages.xxx.ListItem6.Innertext
Dim a = Menu
If (a=sample test") then
Pages.xxx.ListItem6.Focus
Pages.xxx.ListItem6.Select
Pages.xxx.ListItem6.MouseClick
Else
Pages.xxx.ListItem6.Focus
Pages.xxx.ListItem6.Select
Pages.xxx.ListItem6.MouseClick
System.Threading.Thread.Sleep(2000)
' Call the other sub procedure here
call Nithya_Test ----------------------- In this procedure , I click the button in the pop up
End If
End Sub
Could you please help me to fix this..
Regards,
Nithya A.

Hi,
I am exploring Telerik Test studio integration with TeamCity. Referring Telerik documentation on Team city build configuration.
My goal is to run build verification tests against web application . Here is the build server and Telerik Test studio configuration.
1) Telerik Test Studio license is installed on VM1
2) Scheduling Server is installed on VM1
3) Execution Server installed on VM1 and on Team City Build server (VM2)
4) I have configured Execution server on the Team City Build server and it is running
Question I have is , how to trigger test execution on the VM through Team City build ?
Per this documentation (https://docs.telerik.com/teststudio/advanced-topics/build-server/team-city-builds) , local path to tests is specified under build step >Custom Script section . Screenshot attached.
I am getting error when build is run
[Step 2/3] Process exited with code 0
[14:28:48]Step 3/3: Build verification tests (Command Line)
[14:28:48][Step 3/3] Starting: C:\TeamCity\buildAgent\temp\agentTmp\custom_script2321983325468603385.cmd
[14:28:48][Step 3/3] in directory: C:\TeamCity\buildAgent\work\e2ede0137adfbe15
[14:28:48][Step 3/3] The system cannot find the path specified.
[14:28:48][Step 3/3] 'test' is not recognized as an internal or external command,
[14:28:48][Step 3/3] operable program or batch file.
[14:28:48][Step 3/3] 'out' is not recognized as an internal or external command,
[14:28:48][Step 3/3] operable program or batch file.
[14:28:48][Step 3/3] Process exited with code 1
[14:28:48][Step 3/3] Process exited with code 1 (Step: Build verification tests (Command Line))
[14:28:49][Step 3/3] Step Build verification tests (Command Line) failed
[14:28:49]Ant JUnit report watcher
Thanks in advance for your help
-
Padmashree

Hello,
I am currently not able to run test list remotely ( on the same local VM) and also not able to schedule testlist execution on the local machine.
This has worked on the past without any issues. Not seeing any errors on the log and Scheduling Server service is running.
Testlist executes fine when executed as through RunList option.
From Log file
[06/11 10:22:52,Telerik.TestStudio.Scheduling.Client.exe(1448:40)] First trace message from pool unnamed thread (managed ID = 40, native ID = 2132).
[06/11 10:22:52,Telerik.TestStudio.Scheduling.Client.exe(1448:40),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 43.0.0.1 (x86) installation found at "C:\Program Files (x86)\Mozilla Firefox\firefox.exe".
[06/11 10:22:52,Telerik.TestStudio.Scheduling.Client.exe(1448:40),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 67.0.0.0 (x64) installation found at "C:\Program Files\Mozilla Firefox\firefox.exe".
[06/11 10:22:52,Telerik.TestStudio.Scheduling.Client.exe(1448:40),Framework] FireFoxInstallation.GetExecutableData() : Automatically selected Firefox 67.0.0.0 (x64).
[06/11 10:23:03,Telerik.TestStudio.Scheduling.Client.exe(1448:15)] First trace message from pool unnamed thread (managed ID = 15, native ID = 10736).
[06/11 10:23:03,Telerik.TestStudio.Scheduling.Client.exe(1448:15),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 43.0.0.1 (x86) installation found at "C:\Program Files (x86)\Mozilla Firefox\firefox.exe".
[06/11 10:23:03,Telerik.TestStudio.Scheduling.Client.exe(1448:15),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 67.0.0.0 (x64) installation found at "C:\Program Files\Mozilla Firefox\firefox.exe".
[06/11 10:23:03,Telerik.TestStudio.Scheduling.Client.exe(1448:15),Framework] FireFoxInstallation.GetExecutableData() : Automatically selected Firefox 67.0.0.0 (x64).
[06/11 10:23:09,Telerik.TestStudio.Desktop.exe(5456:1),TeamFoundationServer] TFSServer.TFSCheckOut() : ------- Function Start -------
[06/11 10:23:09,Telerik.TestStudio.Desktop.exe(5456:1),TeamFoundationServer] TFSServer.TFSCheckOut() : ------- Function End -------
[06/11 10:23:10,Telerik.TestStudio.Desktop.exe(5456:17)] First trace message from pool unnamed thread (managed ID = 17, native ID = 10424).
[06/11 10:23:10,Telerik.TestStudio.Desktop.exe(5456:17),TestStudio] StorageUploader.UploadToCloudAsync() : ------- Function Start -------
[06/11 10:23:10,Telerik.TestStudio.Desktop.exe(5456:28)] First trace message from pool unnamed thread (managed ID = 28, native ID = 11600).
[06/11 10:23:10,Telerik.TestStudio.Desktop.exe(5456:28),TestStudio] StorageUploader.UploadToCloudAsync() : ------- Function End -------
Appreciate you help in this regard.
Thanks,
-
Padmashree

Hi,
I am testing a web application which launched IE popup window when navigated to URL.
When tried to record , Telerik recorder is not responding. Getting error . screenshot attached.
Any help would be much appreciated.
Thanks,
-
Padmashree

Hi,
I want to verify footer information of my site using verify command in TestStudio ide. Let say my footer information is like "Demo version 1.20.01 Copyright 2015".
I have a version number stored in global variable in Utility class.
How can I use Regex to verify this in one statement with global variable ?
Thanks,
Chandresh Parmar

I attached a screenshot of the error when prompted to debug.
In the log, there is an exception at the very bottom which I've pasted below:
[06/06 08:54:48,ArtOfTest.Runner.exe(6748:13),DialogPlayback] DialogMonitor.OnWindowCreated() : New dialog detected (ClassName = "#32770", Handle = "1246402").
[06/06 08:54:48,ArtOfTest.Runner.exe(6748:13),DialogPlayback] DialogMonitor.HandleDialogWindow() : Closing orphaned LogonDialog.
[06/06 08:55:40,Telerik.TestStudio.Desktop.exe(196:28)] First trace message from pool unnamed thread (managed ID = 28, native ID = 8120).
[06/06 08:55:40,Telerik.TestStudio.Desktop.exe(196:28),WebExtension] ExecutionMediator.OnMessageReceived() : 06/06/2019 08:55:40.683 - [INFO - BACKGROUND] Tab onRemoved: removed tab id '4'
[06/06 08:55:40,Telerik.TestStudio.Desktop.exe(196:12),Recording] <>c__DisplayClass66_0.<InvokeOnUIThread>b__0() : EXCEPTION! (see below)
Outer Exception Type: System.Collections.Generic.KeyNotFoundException
Message: The given key was not present in the dictionary.
HRESULT: 0x80131577 (Official ID (if app.) = COR_E_KEYNOTFOUND, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5495)
Call Stack:
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Telerik.TestStudio.Web.JSRecorder.JsRecorderManager.HandlePopupClosed(JToken data, Int32 windowId)
at Telerik.TestStudio.Web.JSRecorder.JsRecorderManager.UpdateBrowserState(JToken data, Int32 windowId, Int32 tabId)
at Telerik.TestStudio.Web.JSRecorder.JsRecorderManager.<>c__DisplayClass20_1.<OnMessageReceived>b__6()
at Telerik.TestStudio.Web.JSRecorder.JsRecorderManager.<>c__DisplayClass66_0.<InvokeOnUIThread>b__0()
The exception doesn't appear until I close the download dialog or tab manually after moving past the"ArtOfTest.Runner has stopped working" prompt. I noticed that it doesn't even try to fill in the download dialog, too.

After installing Test Studio trial and unistalling again after the trial period has ended, I am left with an error message each time VS2015 Community Ed opens.
"The 'WebAiiVSIP' package did not load correctly" which is detailed in VS error log:
<entry>
<record>53</record>
<time>2016/10/12 06:33:12.006</time>
<type>Error</type>
<source>VisualStudio</source>
<description>CreateInstance failed for package [WebAiiVSIP]Source: 'mscorlib' Description: Could not load file or assembly 'file:///C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\PrivateAssemblies\ArtOfTest.WebAiiVSIP-VS2015.dll' or one of its dependencies. Den angivne fil blev ikke fundet.
System.IO.FileNotFoundException: Could not load file or assembly 'file:///C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\PrivateAssemblies\ArtOfTest.WebAiiVSIP-VS2015.dll' or one of its dependencies. Den angivne fil blev ikke fundet.
File name: 'file:///C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\PrivateAssemblies\ArtOfTest.WebAiiVSIP-VS2015.dll'
 at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
 at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
 at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
 at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
 at System.Reflection.Assembly.LoadFrom(String assemblyFile, Evidence securityEvidence)
 at System.Activator.CreateInstanceFromInternal(String assemblyFile, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo)
 at System.AppDomain.CreateInstanceFrom(String assemblyFile, String typeName)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
</description>
<guid>{D5EDEC6D-8025-40CF-987C-B8EABA2C7451}</guid>
<hr>80004005 - E_FAIL</hr>
<errorinfo></errorinfo>
</entry>
So it looks like VS2015 is still looking for a component of Test Studio.
The extension is completely uninstalled (not listed under extensions and the directory C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE does not contain any files or folders with Telerik in.
I'm opening this support ticket as suggested by the Telerik team:
Hey Thomas!
I connected with my engineering team, and it appears this is something we haven’t come across before:
This would indeed not be an expected crash and we failed to reproduce the problem on our side.
Since you are still struggling though, it is possible that even after the uninstall there is a process still locking something. This exact package from the error message should be located here:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Telerik\Test Studio
Would you check for any left overs to remove there and also search in C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE for any similar files.
In case there is nothing, then would you please restart the machine?
If all this shows no result, my advice would be that you open a support ticket or a forum and share all details, so that that the support team could advice further.
Kevin Kurbs
Product Specialist, Test Studio
Progress
201 Jones Rd | Waltham, MA
phone 1-857-702-4502
mobile 1-978-875-4489
twitter @KKurbs
Hello,
we have set up a VM with Windows 7 to serve as our remote execution machine. We have a set of web UI tests and a test list we want to execute on it. The VM has Test Runner installed and running, scheduling and storage servers installed by Test Runner setup, Chrome has Telerik extension installed. We have followed the setup procedure from the official documentation.
However, every time we try to execute the tests remotely on that machine the job is initiated, list is being executed, but finishes after 10-15 seconds. All of the tests appear as "not run". Log from the machine shows no errors or exceptions.
What are we doing wrong?
The log shows this:
[05/27 10:09:09,Telerik.TestStudio.Scheduling.Client.exe(8056:19)] First trace message from pool unnamed thread (managed ID = 19, native ID = 5432).
[05/27 10:09:09,Telerik.TestStudio.Scheduling.Client.exe(8056:19),Framework] FireFoxInstallation.EnumFireFoxInstallations() : Valid Firefox 66.0.0.3 (x64) installation found at "C:\Program Files (x86)\Mozilla Firefox\firefox.exe".
[05/27 10:09:15,Telerik.TestStudio.ExecutionManagerService.exe(8368:42)] First trace message from pool unnamed thread (managed ID = 42, native ID = 932).
[05/27 10:09:15,Telerik.TestStudio.ExecutionManagerService.exe(8368:42),Execution] JobBroker.ScheduleJobAsync() : Job satisfied all preconditions, id = 592b0459-6e0b-46de-9fda-d4dccda5fbca
[05/27 10:09:15,Telerik.TestStudio.ExecutionManagerService.exe(8368:15)] First trace message from pool unnamed thread (managed ID = 15, native ID = 9612).
[05/27 10:09:15,Telerik.TestStudio.ExecutionManagerService.exe(8368:15),Execution] JobRunner.RunJobAsync() : TestList loaded for job ID = 592b0459-6e0b-46de-9fda-d4dccda5fbca
[05/27 10:09:15,Telerik.TestStudio.ExecutionManagerService.exe(8368:15),Execution] JobRunner.RunJobAsync() : Job started, ID = 592b0459-6e0b-46de-9fda-d4dccda5fbca
[05/27 10:09:15,Telerik.TestStudio.ExecutionManagerService.exe(8368:15),Execution] JobsController.CreateNewJob() : Accepted new job, Id = 592b0459-6e0b-46de-9fda-d4dccda5fbca
[05/27 10:10:42,Telerik.TestStudio.ExecutionManagerService.exe(8368:15),Execution] JobRunner.<CleanupTestRunsStatus>b__19_0() : Test list 'Smoke Test' finished. Updating dispatch group header job Id = 592b0459-6e0b-46de-9fda-d4dccda5fbca
[05/27 10:10:42,Telerik.TestStudio.ExecutionManagerService.exe(8368:15),Execution] JobRunner.<CleanupTestRunsStatus>b__19_0() : Test list 'Smoke Test' finished. Sending notifications.
[05/27 10:10:43,Telerik.TestStudio.ExecutionManagerService.exe(8368:24)] First trace message from pool unnamed thread (managed ID = 24, native ID = 532).
[05/27 10:10:43,Telerik.TestStudio.ExecutionManagerService.exe(8368:24),Execution] <>c__DisplayClass5_1.<JobFinished>b__3() : Skipping plugin Telerik.TestStudio.ExecutionManager.Notifications.Emailer.PostListExecutionEmailer notification- not ready to run
Thanks, Aleksandar

Hello
We're using the trail version of the software.
It works only if the end user has Local Admin rights. We strictly prohibit having local admin rights.
Does your software require local admin rights to work?
please let me know. thank you,
Jay

