Telerik Forums
Test Studio Forum
3 answers
133 views

Hello

we try to use a database for a test. We write into a table the date of two days ago and of three days ago. These dates are our variables in the test.

 

The problem: The dates are not updated (example: variables two days ago 14/7 and 15/7, variables of today 14/7 and 15/7, but it should be 16/7 and 17/7)

 

Our stored procedure:

USE [DATABASE]
GO
/****** Object:  StoredProcedure [dbo].[Listsearch_Report_Dates_Procedure]    Script Date: 19.07.2017 12:25:15 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

ALTER PROCEDURE [dbo].[Listsearch_Report_Dates_Procedure]
AS
BEGIN

Update dbo.Listsearch_Report_Dates

Set Vorgestern = CONVERT(VARCHAR(6), getdate()-2, 4), 
Vorvorgestern = CONVERT(VARCHAR(6), getdate()-3, 4) 

select * from Listsearch_Report_Dates
END

 

 

Elena
Telerik team
 answered on 27 Jul 2017
4 answers
233 views

I have a drop down on a web page and i select an item in the list. I click the submit button and it automatically downloads the file into my /Downloads folder (Chrome). How can I verify that the PDF was downloaded successfully? I dont want to check the contents of the PDF (no DOM), all I want is to verify that a file got downloaded successfully and it didn't time out/redirect to an error page/etc... Thanks for the help!

 

- Chris

Elena
Telerik team
 answered on 26 Jul 2017
2 answers
167 views

Hello group, we are facing the problem when we are recording a web test in TS and try to highlight an element the selection rectangle is jumping all over the place but not on the position of the mouse pointer. I have set the display scaling settings to 100% but the problem still occurs. We have a setup with multiple screens as mentioned in some thread's and I was using Chrome. After setting the display settings to 100% I have restarted Chrome. Is there a solution for this issue?

Thanks,  Richard

Daniel Djambov
Telerik team
 answered on 24 Jul 2017
1 answer
185 views

Hello everyone,

I want to record some data driven tests but cannot estabish connection with my MySQL database. Unfortunately tutorial is only for SQL Server database.  Can someone explain me step by step how to make a connection?

 

Grettings, 

Marek

Daniel Djambov
Telerik team
 answered on 24 Jul 2017
4 answers
176 views

Hi 

 

I'm unable to receive emails, tested the smtp server details using smtp tester and email was sent successfully.

below is the exception that is thrown in the log:

[06/27 10:57:50,Telerik.TestStudio.ExecutionManagerService.exe(5980:21),Execution] <>c__DisplayClass5_1.<JobFinished>b__2() : EXCEPTION! (see below)
     Situation: Exception in jobfinished plugin executionStatus
     Outer Exception Type: Autofac.Core.DependencyResolutionException
     Message: An exception was thrown while invoking the constructor 'Void .ctor(Telerik.TestStudio.ExecutionManager.Notifications.Emailer.Interfaces.ISmtpSettings)' on type 'ResultMailSender'.
     HRESULT: 0x80131500 (Official ID (if app.) = COR_E_EXCEPTION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5376)
     Call Stack:
          at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
          at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
          at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
          at Autofac.Core.Resolving.InstanceLookup.Execute()
          at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
          at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)
          at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(IComponentRegistration registration, IEnumerable`1 parameters)
          at lambda_method(Closure , ISmtpSettings )
          at Telerik.TestStudio.ExecutionManager.Notifications.Emailer.PostListExecutionEmailer.OnAfterTestListCompleted(TestListExecutionStatus executionStatus, RunResult result)
          at Telerik.TestStudio.ExecutionManager.Notifications.ExecutionManagerNotificationService.<>c__DisplayClass5_1.<JobFinished>b__2(ITestListExecutionExtensionStatus extensionStatus)

     Inner Exception Type: System.Xml.XmlException
     Message: Reference to undeclared entity 'reg'. Line 94, position 14.
     HRESULT: 0x80131940 (Official ID (if app.) = COR_E_Xml, Error Bit = FAILED, Facility = FACILITY_URT, Code = 6464)
     Call Stack:
          at System.Xml.XmlTextReaderImpl.Throw(Exception e)
          at System.Xml.XmlTextReaderImpl.HandleGeneralEntityReference(String name, Boolean isInAttributeValue, Boolean pushFakeEntityIfNullResolver, Int32 entityStartLinePos)
          at System.Xml.XmlTextReaderImpl.ResolveEntity()
          at System.Xml.XmlLoader.LoadEntityReferenceNode(Boolean direct)
          at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
          at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
          at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
          at System.Xml.XmlDocument.Load(XmlReader reader)
          at System.Xml.XmlDocument.LoadXml(String xml)
          at Telerik.TestStudio.ExecutionManager.Notifications.Emailer.Mail.MailBodyResultHtmlGenerator..ctor()
          at Telerik.TestStudio.ExecutionManager.Notifications.Emailer.Mail.ResultMailSender..ctor(ISmtpSettings connectionSettings)
          at lambda_method(Closure , Object[] )
          at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()

[06/27 10:58:50,Telerik.TestStudio.ExecutionManagerService.exe(5980:25)] First trace message from pool unnamed thread (managed ID = 25, native ID = 2436).
[06/27 10:58:50,Telerik.TestStudio.ExecutionManagerService.exe(5980:25),Execution] JobRunner.<CleanupTestRunsStatus>b__19_0() : TestList execution status expired- removing from list job id=67a8479a-0674-44c3-9f68-66fcefe3473d

Thanks in Advance.

Kgotso

 

Mike
Top achievements
Rank 1
 answered on 21 Jul 2017
12 answers
329 views

Hi , 

 

Why the "Handle confirm dialog " fails always with the message "Timed out waiting 5000 msec"  ?

It goes and clicks the ok button.. But still the step is failing...

 

Regards, 

Nithya A.

Nithya
Top achievements
Rank 1
Veteran
 answered on 21 Jul 2017
5 answers
237 views

Hi, when I try and run a test list from the command prompt with the runner I get the following error:

ProjectCompile: Compile failed: error CS2021: File name 'D:\AdTestProject\bin\.dll' is too long or invalid

 

Any ideas?????

 

Daniel Djambov
Telerik team
 answered on 21 Jul 2017
3 answers
149 views

Hello,

is there some possibility to add Re-run testlist feature to scheduler ? with some parameters like turn on/off or how many times telerik should run ReRun, like 2-3x times, not only 1x times. 

http://www.telerik.com/forums/automatic-re-run-of-failed-tests-from-a-test-list-execution

Daniel Djambov
Telerik team
 answered on 19 Jul 2017
4 answers
140 views

Hi, 

I have an html5 inout element... I need to find out the element and some text on it...

Can anyone help me in writing code for finding the html5 element..?

 

Regards,

Nithya A.

Nithya
Top achievements
Rank 1
Veteran
 answered on 18 Jul 2017
1 answer
138 views
I have telerik clicking a link based on tagname (span) and InnerText (Memberships). This works perfectly in Firefox, Chrome, IE; but in Edge it clicks a link labeled "Food" (which is above the desired link) 19 out of 20 times (the other 1/20 it works properly). Any thoughts on what could possible be going on and how I can get around this? It is only happening in Microsoft Edge.
Ivaylo
Telerik team
 answered on 17 Jul 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?