Telerik Forums
Test Studio Forum
3 answers
106 views

Is there any recommendation on about how many virtual users can run against a machine with certain specs?

 

We're trying to make a determination how many machines we'll need to procure to run the load we're needing.

Plamen Mitrev
Telerik team
 answered on 22 Oct 2019
1 answer
121 views

Hi, 

I have a test named Example. I want to use this Test multiple times in my test list.

But currently I am unable to do it. Once I selected the test one time, it is disabled and I cannot select it any more. 

 

Is there any way to add same test multiple times on test list ?

 

Regards, 

Nithya A

Plamen Mitrev
Telerik team
 answered on 18 Oct 2019
1 answer
112 views

Hi , 

 

I have my tests in my PC and running them daily. Since it takes a lot of time , I cannot parallely do other jobs.

So I decided to run the tests in remote machine with the Project stored in my Pc.

1. Is that possible ?

2. How can I do it? Could you please help me

 

Regards, 

Nithya A.

Plamen Mitrev
Telerik team
 answered on 18 Oct 2019
1 answer
110 views

Hi, 

I haven't used the Baseurl function earlier. I have recorded my steps for my project normally and running them in single server.

Now I want to run all my tests in the different server.

Current server : https://xxxx.com

New server : http://yy.xxxx.com

I have the below questions

1. If I havent used the baseurl earlier, then it is not possible to change the server name now ?

2. I have added the server name in the baseurl and change the compare mode to Baseurl , Provided the Baseurl in testlist - Then executed the test. One of my test got passed.. But others fails - It is not identifying the elements correctly in the new server. But in the current server, all the tests are runnning correctly. Could you please help me to pass the other tests in the new server.

 

Regards, 

Nithya A.

 

 

 

 

Plamen Mitrev
Telerik team
 answered on 18 Oct 2019
7 answers
135 views

I just started testing the email notification functionality of the test server, and I am having an issue with at least one of my test lists.  I know at least one of my other test lists doesn't have this issue so it isn't a general issue and may be specific to one of the tests in the list.

I don't actually have the XML file export enabled here, just HTML.  So it should only be dealing with the email body and the HTML.  Could there be something with text encoding where a test step description has a character that is allowed in the interface but isn't allowed in the export?

 

The log from the execution server is this.

[10/11 16:02:51,Telerik.TestStudio.ExecutionManagerService.exe(12852:15),Execution] PostListExecutionEmailer.OnAfterTestListCompleted() : Attempting to send email for job 38f7e14c-0301-4e1f-b974-4e10c21dcdd3
[10/11 16:02:52,Telerik.TestStudio.ExecutionManagerService.exe(12852:15),Error] XmlFileHandler`1.Export() : EXCEPTION! (see below)
     Situation: Error saving file in XML format.
     Outer Exception Type: System.ArgumentException
     Message: '', hexadecimal value 0x1B, is an invalid character.
     HRESULT: 0x80070057 (Official ID (if app.) = E_INVALIDARG, Error Bit = FAILED, Facility = FACILITY_WIN32, Code = ERROR_INVALID_PARAMETER)
     Call Stack:
          at System.Xml.XmlUtf8RawTextWriter.InvalidXmlChar(Int32 ch, Byte* pDst, Boolean entitize)
          at System.Xml.XmlUtf8RawTextWriter.WriteElementTextBlock(Char* pSrc, Char* pSrcEnd)
          at System.Xml.XmlUtf8RawTextWriter.WriteString(String text)
          at System.Xml.XmlUtf8RawTextWriterIndent.WriteString(String text)
          at System.Xml.XmlRawWriter.WriteValue(String value)
          at System.Xml.XmlWellFormedWriter.WriteValue(String value)
          at ArtOfTest.Common.Design.XmlFileHandler`1.Export(String filePath, Dictionary`2 objectsWithPaths)

[10/11 16:02:52,Telerik.TestStudio.ExecutionManagerService.exe(12852:15),Error] RunResultHtmlExporter.Export() : EXCEPTION! (see below)
     Outer Exception Type: System.ArgumentNullException
     Message: Value cannot be null.
          Parameter name: path
     HRESULT: 0x80004003 (Official ID (if app.) = E_POINTER, Error Bit = FAILED, Facility = FACILITY_NULL, Code = 16387)
     Call Stack:
          at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
          at System.IO.StreamReader..ctor(String path)
          at ArtOfTest.WebAii.Design.Execution.RunResultHtmlExporter.BuildTempHtml(String filePath, String xmlFilePath)
          at ArtOfTest.WebAii.Design.Execution.RunResultHtmlExporter.Export(String filePath, Dictionary`2 resultsWithPaths)

[10/11 16:02:52,Telerik.TestStudio.ExecutionManagerService.exe(12852:15),Execution] <>c__DisplayClass5_1.<JobFinished>b__3() : EXCEPTION! (see below)
     Situation: Exception in jobfinished plugin executionStatus
     Outer Exception Type: System.ArgumentNullException
     Message: Value cannot be null.
          Parameter name: fileName
     HRESULT: 0x80004003 (Official ID (if app.) = E_POINTER, Error Bit = FAILED, Facility = FACILITY_NULL, Code = 16387)
     Call Stack:
          at System.Net.Mail.AttachmentBase.SetContentFromFile(String fileName, String mediaType)
          at System.Net.Mail.AttachmentBase..ctor(String fileName)
          at System.Net.Mail.Attachment..ctor(String fileName)
          at Telerik.TestStudio.ExecutionManager.Notifications.Emailer.Mail.ResultMailSender.AddAttachment(String fileName)
          at Telerik.TestStudio.ExecutionManager.Notifications.Emailer.Mail.ResultMailSender.SetRunResultAttachment(RunResult runResult, NotificationSettings settings)
          at Telerik.TestStudio.ExecutionManager.Notifications.Emailer.PostListExecutionEmailer.OnAfterTestListCompleted(TestListExecutionStatus executionStatus, RunResult result)
          at Telerik.TestStudio.ExecutionManager.Notifications.ExecutionManagerNotificationService.<>c__DisplayClass5_1.<JobFinished>b__3(ITestListExecutionExtensionStatus extensionStatus)

Plamen Mitrev
Telerik team
 answered on 16 Oct 2019
15 answers
995 views

Hi all,

As I found this article previously and identified a Kendo drop down list as Kendo input, I recall myself being able to enter text into the drop down list using "Enter text ' ' into......" from the Step Builder.

However, recently when I tried again, I received error "Target '[Element: 'div:107']' is not a supported element to set text to.".

Is it my misunderstanding, memory haywire or this seems to be an issue after any Test Studio version upgrade?

The last time I was able to enter text into Kendo drop down was when I used trial account and at that time Elements Library still had the option "Edit in Live".

It should be around either November / December last year or early this year (again I don't remember the exact details).

Attached image is the properties for the Kendo drop down list I was trying to enter text into.

Elena
Telerik team
 answered on 15 Oct 2019
1 answer
103 views

The issue here is that when I create a bug in Jira Cloud and attach the results the results I get are different based on where I create it.  If I run a test manually from the project tab, click on the step details for a failed step, and submit a bug I get the detailed log files in the attachment.  If I run the test from a test list (either locally or remotely) the log files only contain a single line.  This affects both ExecutionLog.txt and FailedStepLog.txt.  I don't see why they should be different.  It is very hard to troubleshoot and issue without the full log.

I've been testing on two different servers, and I don't think it is particular to my environment.  I have the scheduling component installed.

Examples
Run from test list (test lists tab) - ExecutionLog.txt
Wait for condition has timed out

 

Run from test itself (project tab) - ExecutionLog.txt
...

'10/14/2019 4:35:34 PM' - 'Fail' : 5. Wait '5000' msec for url:'/Efficio/Opportunity/OpportunityDetail.aspxX'
------------------------------------------------------------
Failure Information: 
~~~~~~~~~~~~~~~
Wait for condition has timed out
InnerException:
System.TimeoutException: Wait for condition has timed out

Plamen Mitrev
Telerik team
 answered on 15 Oct 2019
3 answers
211 views
I'm working on keeping an active user session using the new functionality provided in the Execution tab of the Test Studio Test Runner.  These are "Keep Machine Awake" and "Reconnect to Console on Disconnect".  I see the option for "Run on start up", but I'm not really clear what starts the process and under what user it will run.  I don't see an actual service as having been installed in the list of Windows services.

I'm not sure if this matters.  I have noticed that when I've logged in as different users to run Test Studio during my testing of it I sometimes get an error message dialog which says "Error: Progress Telerik Test Studio Client application is already running!" which makes me think each time Test Studio starts it tries to start the local execution/scheduling server which seems like a bug since it was already started by another user.  I'm using the local execution and scheduling server built into Test Studio.  Should I install the standalone services even though everything will run on the same server?  I'm not even sure if this scenario is supported and maybe I should just stick to a single user account that uses Test Studio.

Lastly, for the redirection to console functionality, I had a really tricky issue where some of my scheduled tests wouldn't run in the scenario where I closed my remote desktop connection.  I used the video recording and notice that the page looked off and it was because the resolution of the console session was very low and that was somehow affecting mouse clicks (I believe) which ultimately led to the failure.  I don't see that there is any way to set a resolution that the tests will run under, but if the execution server is running on the console I would think that it would have the ability to change the resolution at least for the duration of test execution.  For now, I managed to change it using Dell's virtual console because I couldn't figure out a way to do it remotely using remote desktop.

Plamen Mitrev
Telerik team
 answered on 14 Oct 2019
1 answer
115 views

Is there a way to set settings for a test list settings so that they apply to all test lists?  I'd like to know if I'm missing something and if there is a preferred way to accomplish this.

Even being able to select multiple tests and change the settings for them at the same time would be a lot easier than configuring each one individually.  I've seen references to testing templates, but they seem to be specific to Visual Studio.  Is this something I can accomplish with the Settings class (https://docs.telerik.com/teststudio/testing-framework/write-tests-in-code/intermediate-topics-wtc/settings-and-configuration-wtc/settings-class#initializing-the-settings-object-without-using-a-telerik-test-template)?  If so where would the settings be set so that they apply to test lists (or even just all tests in general)?  Could I create a custom class that inherits from BaseWebAiiTest and then initialize and apply the settings there and specify it in the general settings?  I also came across "Execution Extensions" and that looks like another possibility (https://docs.telerik.com/teststudio/advanced-topics/coded-samples/general/execution-extensions).  


Plamen Mitrev
Telerik team
 answered on 11 Oct 2019
3 answers
136 views

When using the recorder typing text in a RadSearchBox it records action specific to that element type.  This fails when my desktop if locked with a Win32 error which I assume is because it is locked.

First of all, isn't it possible on your end to detect this scenario and provide a detailed error message (not Win32) or even attempt to fall back to a mode of setting text that doesn't require the desktop be unlocked?

Second, the properties for a RadSearchBox action have TypingSpeed which says it is used "when SimulateRealTyping is set", but I don't see the SimulateRealTyping property for this element.

Third, I tried to create an action on the element to just set the text.  While it has an "Enter text" action listed under quick actions, it actually fails when run with the following error.  "Target '[Element: 'div:112' (id=ctl00_cphM_scMain_sbKeywordSearch)]' is not a supported element to set text to."

I'm not sure if it is even going to be feasible to convert all of our tests to run with the desktop locked, but this is the first one I am working on and am already running into a problem.  I wish I had been aware of this before since the goal is to schedule them to run unattended.

 

Recorder
RadSearchBox('ctl00_cphM_scMain_sbKeywordSearch'): text 'Test' entered in Searchbox input

Manually added step
Enter text 'Test' in 'KeywordSearchBox'

Plamen Mitrev
Telerik team
 answered on 11 Oct 2019
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?