Telerik Forums
Test Studio Forum
1 answer
128 views

Hi there, 

I have tests that execute and connect to a new browser popup. 

Usually this works fine, I have one where the browser URL is variable and unpredictable:

Https://foo.com/x/y/z_2/moreUrlStuffHereICanPredict
Https://foo.com/x/y/z_3/moreUrlStuffHereICanPredict
Https://foo.com/x/y/z_4/moreUrlStuffHereICanPredict

etc. 

 

I am using Relative Only so usually this look like x/y/z_2/moreUrlStuffHereICanPredict, etc.

I can predict everything before the 2,3,4 and everything after. My application sets that number each time you run a query which throws a popup window.

Is there a way to make this work in the UI test step "Connect to Popup"?

Alternatively, I could check via script if the popup exists, then connect... is there a function such as Manager.Browser.Exists(URL)?

I've been looking int he forums and in the online help, nothing seems to cover this case.

 

Thanks!

Sakura

Win10

IE

Test Studio 2017.1.207.0

Vera
Telerik team
 answered on 14 Aug 2018
3 answers
213 views
Will it be possible to integrate Test studio and Selenium? Or, will it be possible to convert the Test studio code into Selenium (Java) code OR Vice versa? 
Elena
Telerik team
 answered on 10 Aug 2018
1 answer
74 views
Hi i have a backup of a website that was taken off the web i am trying to validate the site how do i start by uploading the database files etc to the program forgive me i am a bit useless at doing this   Many thanks  Robert
Elena
Telerik team
 answered on 09 Aug 2018
3 answers
101 views

Have the issues related to https://www.telerik.com/forums/scheduled-test-list-not-running-the-latest been resolved? I am experiencing similar issues and not certain whether they are related or new problems.

 

As a proof of concept, I built a simple test to enter some text into a search field and then click a search button. Let's call the test "myapp_search". I then duplicated the test 3 times, so I now have "myapp_search", "myapp_search (1)", "myapp_search (2)", and "myapp_search (3)". Then I created a dynamic test list to include all tests with a name containing "myapp" and "search". The dynamic list successfully ran all 4 tests both locally and remotely. After the test list ran successfully, I deleted the 3 duplicate tests, renamed the original test to something that does not match the dynamic list's rules, created more extensive tests that use the "myapp_search" as a test as step and fit into the same dynamic test list, and ran the test list again. Running the list locally runs the tests I would expect, but running the list remotely runs "myapp_search (1)", "myapp_search (2)", and "myapp_search (3)" despite the tests being deleted from the project. Note that this project is not in version control. 

Using Test Studio 2018.1.418.0

 

Thank you!

Matt

Elena
Telerik team
 answered on 07 Aug 2018
3 answers
144 views

Is there a way to manually add a "connect to pop-up window" step from the Step Builder or somewhere else?

The documentation states that html pop ups are automatically detected, and using the record feature does automatically create a "connect to pop-up window" step that I can edit. However, I would like to add the step without having to record the click, because sometimes recording a click creates a duplicate element that needs consolidated.

 

Thank you!

Vera
Telerik team
 answered on 01 Aug 2018
6 answers
335 views

hi,
I get this message when i try to click the register button in configure execution server.

I am part of the admin groups. do you know Why i get this.


Thanks
Venkat
Ahmed
Top achievements
Rank 1
 answered on 24 Jul 2018
1 answer
132 views

My team has been using Test Studio for a few months now for automated UI testing, and it has been great.

 

We would like to start using it for Load Testing, and I have been reading documentation and experimenting for a while with some luck. The thing I am looking for some insight on is the best way to go about doing load testing with an application that will only allow one login per user. Basically it looks like if we do 50 virtual users based on one login, it isn't doing much because it is constantly logging out each user. Does this mean I will have to make as many real accounts and record that many user profiles to create a realistic test ? Or is there a better way to do this ?

Elena
Telerik team
 answered on 23 Jul 2018
3 answers
163 views

Hello,

We're trying to run a testlist on a remote server. We followed the following steps to realise this:

https://docs.telerik.com/teststudio/features/scheduling-test-runs/create-scheduling-server

We created a testlist with 3 different testcases. When we run it on our local machine it works perfectly (and fast), but when we try to run it on our remote Scheduling Server we get this error:

[07-13 10:57:04,Telerik.TestStudio.RemoteExecutor.exe(6840:11)] First trace message from pool unnamed thread (managed ID = 11, native ID = 8196).
[07-13 10:57:04,Telerik.TestStudio.RemoteExecutor.exe(6840:11),Execution] CloudStorageProjectOpener.DownloadAndSaveTestsAsync() : ------- Function End -------
[07-13 10:57:04,Telerik.TestStudio.RemoteExecutor.exe(6840:8),Error] TestPlatform.ExecuteAsync() : EXCEPTION! (see below)
     Outer Exception Type: System.AggregateException
     Message: One or more errors occurred.
     HRESULT: 0x80131500 (Official ID (if app.) = COR_E_EXCEPTION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5376)
     Call Stack:
          at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
          at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
          at Telerik.TestStudio.RemoteExecutor.TestBuilders.CloudRunnableGUITestBuilder.CreateLocalCache(IStorageDocument`1 projectDocument, DispatchableGUITest dispatchableTest)
          at Telerik.TestStudio.RemoteExecutor.TestBuilders.CloudRunnableGUITestBuilder.BuildTest()
          at Telerik.TestStudio.RemoteExecutor.Executors.TestPlatform.EnsureReadyForRun()
          at Telerik.TestStudio.RemoteExecutor.Executors.TestPlatform.<ExecuteAsync>d__17.MoveNext()

     Inner Exception Type: System.IO.PathTooLongException
     Message: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
     HRESULT: 0x800700CE (Official ID (if app.) = 2147942606, Error Bit = FAILED, Facility = FACILITY_WIN32, Code = ERROR_FILENAME_EXCED_RANGE)
     Call Stack:
          at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
          at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
          at System.IO.Path.InternalGetDirectoryName(String path)
          at Telerik.TestStudio.Shared.Storage.Local.FileReaderWriterSync.<SaveStreamToFileAsync>d__21.MoveNext()
          --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
          at ArtOfTest.WebAii.Design.Repository.CloudStorageProjectOpener.<SaveAttachmentsToFileAsync>d__7.MoveNext()
          --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
          at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
          at ArtOfTest.WebAii.Design.Repository.CloudStorageProjectOpener.<DownloadAndSaveTestsAsync>d__10.MoveNext()
          --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
          at ArtOfTest.WebAii.Design.Repository.CloudStorageProjectOpener.<SaveProjectLocallyAsync>d__24.MoveNext()

[07-13 10:57:04,Telerik.TestStudio.Scheduling.Client.exe(6576:22),Execution] RemoteExecutorViewModel.GetProcessData() : EXCEPTION! (see below)
     Situation: Unable to retrieve test history
     Outer Exception Type: System.Net.Http.HttpRequestException
     Message: Response status code does not indicate success: 500 (Internal Server Error).
     HRESULT: 0x80131500 (Official ID (if app.) = COR_E_EXCEPTION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5376)
     Call Stack:
          at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
          at Telerik.TestStudio.Shared.Communication.BaseCommunicationLayer.<HandleResponse>d__33.MoveNext()
          --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
          at Telerik.TestStudio.Shared.Communication.BaseCommunicationLayer.<HandleResponse>d__34`1.MoveNext()
          --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
          at Telerik.TestStudio.Shared.Communication.BaseCommunicationLayer.<Get>d__26`1.MoveNext()
          --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
          at ArtOfTest.WebAii.Design.Execution.Communication.RemoteExecutorCommunicationLayer.<GetTestHistory>d__3.MoveNext()
          --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
          at Telerik.TestStudio.Scheduling.ClientMachine.ViewModels.RemoteExecutorViewModel.<GetProcessData>d__8.MoveNext()

--

System.IO.PathTooLongException: we checked the path and filename of the (remote) testlist and it's not longer than 100 characters

How can we solve this?

Thanks in advance.

Elena
Telerik team
 answered on 19 Jul 2018
3 answers
76 views

Hello,

 

I just downloaded progress test studio. Trying to do a POC on this. My objective is to be able to run our test suites in multiple browsers parallel .The Test list has 2 tests and I want to able to run both the test in Chrome and firefox in parallel. I read through your documentation, set up one Scheduling server (which is also an execution server and its my local machine). I have another machine in my VMWare which is the second execution server. I have a third machine in the same VmWare where I am kicking off my tests. I clicked on the status and both machines are Ready (Attached screenshot). 

 

Now I go into Test Lists, Run Remotely select both machines to execute in Firefox. So seems like the test gets kicked off in one of my machines(this is my local machine), but nothing happens in my other executing machine . Also the test list report in my calendar is yellow and does not change to red or green. It seems like the tests are stuck but I don't know why its not able to kick off the test on one of the machine when its able to do in the other machine. Any help would be appreciated. This is one of the criteria I am evaluating the tool against and would like to know the result .

 

Thanks!

 

 

 

Elena
Telerik team
 answered on 19 Jul 2018
3 answers
102 views
When I navigate to 'http://www.naver.com' by Internet Explorer. 

When measured by Fiddler it takes 0.1 sec. 

Because it does not include client processing time(Screen logic+rendering time).

When measured by Test Studio it takes 5 sec. 

Does Test Studio include client processing time(Screen logic+rendering time)?

ref)
Performance metrics supplement your existing functional UI tests to include such data as server processing time, network latency and client rendering time.
http://www.telerik.com/teststudio/performance-testing


ref) webpagetest also include client processing time(Screen logic+rendering time)
https://www.webpagetest.org/
Elena
Telerik team
 answered on 19 Jul 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?