hi,
I'm trying to add coded step from step builder.Using telerik test studio plugin in visual studio professional 2019.
Empty step builder only displayed.I have tried to reinstall all the setup many times.But no luck kindly support me to resolve this issue.
Hi,
I have Databinding to my tests which picks the data from the excel or from localdata of the test. But databinding is not working when running in headless mode.
Could you Please let me know if there are someways to fix this ? Thanks!
Regards,
Nithya A.
Is it possible to be able to distribute a test list (like you can from remote execution) from Test Studio but calling it from Azure DevOps?
https://docs.telerik.com/teststudio/advanced-topics/build-server/azure-devops
Following the instructions mentioned above, it doesn't appear to provide insight to that. Is there anyway to still leverage that functionality from the command line?
Hi Team,
using CSS, Added icon in empty autocomplete field to let the users know that is data can be assigned to that field by clicking or typing on it . So After added this icon scripts are failing.
I have recorder for one script after change was done.
It is recording as kendoAngularTextbox, but previously it is KendoAngularAutoComplete.
Please find the attachments for screenshot.
Is there any way to execute scripts without recording, because this feature was added in all other areas.
Thanks & Regards
Srilatha
Hello,
I'm using the connect to popup dialog to connect to a browser that is launched when clicking a link. I then do some actions in the second tab which changes the URL, I then need to close the second browser, do I use the close popup dialog to close the second tab and just put the now chanced URL or do I use the URL I connected to. Right now I put the modified url in the close popup dialog, but sometimes it doesn't close the new browser tab and shift focus back to the first browser tab.
I'm aware I can use a coded step to close that second tab, and use Manager.Browsers.count to count the tabs to ensure that second tab does close as long as I do a global browser count variable. If you believe that's the best way to go I can do that, but I wanted to make sure I was approaching it correctly.
Hello,
I have created a test to log in via Azure Active Directory using Data Driven steps that get the login from XML file.
I have ensured that all credentials are correct.
When I execute the test to log in, it shows this error (picture attached). But when I click the Next Button manually it works and goes to the next page (password page). Any Ideas why it wouldn't work on the test but does work manually?
Kind regards,
Bella
Hi,
We are using Telerik Test Studio 2017.1.207.0 and we implement custom DLL to launch or close our application.
Regularly, when calling the methods included in that code, the Test Freeze and nothing is done. I am putting the code below.
The problem concerns the call but not our code itself.
Currently the code is compiled in Debug / AnyCPU. Do you advise to compile that code in Debug or in Release mode ?
Is this problem known and is there a workaround ?
Is this problem fixed in latest version ?
Thanks in advance,
Best regards.
using System.Text; using System.Threading.Tasks; namespace Common { public class Utility { public static void StartCustomApp(Manager manager, ExecutionContext executionContext, string customAppPath, string args = "", int waitForWindow = 10000, int waitingTime = 10000) { Assert.IsNotNull(manager, $"Manager is null."); manager.ActiveApplication.MainWindow.Window.Minimize(); manager.ActiveApplication.Detach(false); var executablePath = executionContext.DeploymentDirectory + customAppPath; Assert.IsTrue(File.Exists(executablePath), $"Can not found {customAppPath} path."); var appName = Path.GetFileNameWithoutExtension(customAppPath); // Prepare the process to run ProcessStartInfo app = new ProcessStartInfo(); app.Arguments = args; app.FileName = executablePath; Assert.IsNotNull(manager.LaunchNewApplication(app), $"Failed to connect to {appName}."); manager.ActiveApplication.WaitForWindow($"~{appName}", waitForWindow); System.Threading.Thread.Sleep(waitingTime); manager.ActiveApplication.MainWindow.SetWindowFocus(); manager.ActiveApplication.MainWindow.Window.Maximize(); manager.ActiveApplication.MainWindow.RefreshVisualTrees(); } public static void connectToApp(Manager manager, string appName, bool closeAppOnDetach = false) { manager.Log.WriteLine(DateTime.Now.ToString()+" - Start connectToApp"+appName); Assert.IsNotNull(manager, $"Manager is null."); Assert.IsNotNull(manager.ActiveApplication, $"ActiveApplication is null."); manager.Log.WriteLine(DateTime.Now.ToString() + " - detach previous App"); manager.ActiveApplication.Detach(closeAppOnDetach); var proc = Process.GetProcesses().Where(p => p.ProcessName.Contains(appName)).FirstOrDefault(); Assert.IsNotNull(proc, $"{appName} is not running."); manager.Log.WriteLine(DateTime.Now.ToString() + " - connect to App " + appName); Assert.IsNotNull(manager.ConnectToApplication(proc), $"Failed to connect to {appName}."); manager.ActiveApplication.MainWindow.Window.SetFocus(); manager.ActiveApplication.MainWindow.Window.SetActive(); manager.ActiveApplication.MainWindow.Window.Maximize(); manager.ActiveApplication.MainWindow.RefreshVisualTrees(); } public static void CloseApp(string appName) { var runningApp = System.Diagnostics.Process.GetProcesses().Where(p => p.ProcessName.Contains(appName)); string executablePath = string.Empty; if (runningApp.Count() > 0) { foreach (var process in runningApp) process.Kill(); } } } }
Hi,
We bought few years ago the Tekerik Test Studio 2017.1.207.0.
When we run tests, and application windows or popup are closed, we frequently have the message :
Failure Information:
~~~~~~~~~~~~~~~
Collection was modified; enumeration operation may not execute.
InnerException:
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
at System.Collections.Generic.List`1.Enumerator.MoveNext()
at System.Linq.Enumerable.LastOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at ArtOfTest.WebAii.Core.Manager.get_ActiveWpfWindow()
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
We tried to add a wait command after the close but it does not succeeded.
Is there a workaround to bypass this bug ?
Is this bug fixed in latest version ?
Thanks in advance,
Best regards.
I am trying to open our web site which is located abroad so there is a considerable delay between request and response. Sometimes it takes up to 10-15 seconds to load the page and while waiting for it Test studio is throwing the following error (but after all it loads the page though):
'30/04/2021 14:46:42' - 'Fail' : 6. Navigate to : eHarmony by NavigateURL variable
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Exception thrown executing coded step: 'Navigate to : eHarmony by NavigateURL variable'.
InnerException:
System.TimeoutException: Wait for condition has timed out
at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo, Object target)
at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)
at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
at ArtOfTest.WebAii.Core.Browser.WaitUntilReady()
at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
at ArtOfTest.WebAii.Core.Browser.InternalNavigateTo(Uri uri, Boolean useDecodedUrl)
at ArtOfTest.WebAii.Core.Browser.NavigateTo(Uri uri, Boolean useDecodedUrl)
at ArtOfTest.WebAii.Core.Browser.NavigateTo(String url, Boolean useDecodedUrl)
at UpdateIdkynScreenFull.YN_GeneralManagerLoginProduction.YN_General_Manager_Login__CodedStep2() in c:\Automate\ATP%20Sources\eHarmonySecurity11\Logins\YN- General Manager Login .tstest.cs:line 111
------------------------------------------------------------
Has someone faced this issue and how could you handle this, please? I know that I can put "continue on failure"=true, but then the overall result of the test will be shown as failed