Telerik Forums
Test Studio Forum
1 answer
107 views

Hello,

 

I am attempting to use the Telerik Test Scheduler to run tests overnight on my local machine. When I schedule the tests for a certain time and return to the "Results" tab, and reload, the tests I had scheduled disappear. 

I was following a walkthrough on how to schedule the tests and it mentioned needing the Test Execution folder under Telerik in your start menu, but I don't have this folder available. What am I missing and how can I obtain this? 

 Also, my Test Studio Test Runner that is running in my ongoing programs bar states that its connected and running 4 test lists, which I believe are the ones I scheduled. However, that means that one of the lists, of 4 tests, has been running for 16 hours. 

Ivaylo
Telerik team
 answered on 11 Aug 2015
2 answers
166 views

Hi Guys,

 After successfully recording my steps, executing it will generally stop and fail on the scenario wherein a pop up window will open. On this pop up window, i will then need ​to select a value on the drop down menu (lets say 2). Based on the value selected on the drop down menu, radio buttons will be presented and also selected accordingly [kindly refer to attached popup groupings.png] .

This is the error im encountering:

"Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame '[Frame:name=cbox1438672448756,src=http://anl-sit/sit/web/startpage/QZ_Tool_UpdateGroup.aspx,UseQuery:False]' timed out. Error: Wait for condition has timed out
Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame '[Frame:name=cbox1438672448756,src=http://anl-sit/sit/web/startpage/QZ_Tool_UpdateGroup.aspx,UseQuery:False]' timed out. Error: Wait for condition has timed out
"

 

Attached is also the error log from the execution.

 Hoping for your assistance.

Thanks!

 

Boyan Boev
Telerik team
 answered on 07 Aug 2015
1 answer
66 views

My tests are trying to launch a HTTPS URL but I am  getting a connection error. When I manually launch the HTTPS URL outside the automation tool the page loads fine.

What am I doing wrong?

 

Thanks,

Mike

Cody
Telerik team
 answered on 05 Aug 2015
4 answers
112 views
I have recorded a web action which validates an element with TagIndex (picture Original.Element), which works OK. But since the element index changes from time to time, I change the validation to be more general. I have used suggested elements (picture Modified.Element) and validation process was successful in the live view mode. But when I execute the test, the element (button Confirm) is not selected. I have enclosed test scenario (WebTest.Updated) for the replication.
Uroš
Top achievements
Rank 2
 answered on 05 Aug 2015
3 answers
297 views
in vs2010 this reference is missing in what download does this exist?

I need the WebAii installer?
Konstantin Petkov
Telerik team
 answered on 03 Aug 2015
7 answers
321 views

Hello,

We want to enter something on the web page and then check it if it was stored in the database. We use postgreSQL DB. I have found this example below which we would use, but the problem is that we don't know how to connect to the DB:

'Define a new SQL connection with a connection string.
'The connection string will be different depending on your environment and the name of the database, table, etc.
'See http://www.connectionstrings.com for connection string examples.
Dim thisConnection As New SqlConnection("Data Source=localhost,5556;Network Library=DBMSSOCN;Initial Catalog=myTable;User ID=username;Password=password;")
thisConnection.Open()

'Write the name of the database to the log
Log.WriteLine(thisConnection.Database)

'Create an SQL command
Dim thisCommand As SqlCommand = thisConnection.CreateCommand()

'This is a simple SQL command that will go through all the values from the table "myTable"
thisCommand.CommandText = "SELECT * FROM myTable"

If I try the test option when connecting to the DB I get errors (see attached picture). Note that we have to connect via SSH tunnel to the DB, which is working fine.

We have also installed npgsql from http://npgsql.projects.pgfoundry.org/, but this doesn't help. Can you please help me set up the connection?

BR, Jurij

Cody
Telerik team
 answered on 31 Jul 2015
3 answers
100 views

Hi,

After a scheduled test, results can send by email. I know how to do that. However, I wonder that how email settings can be edit? I didn't see articles about email customization. If there is article about this issue, could u inform me? 

Thanks.

Cody
Telerik team
 answered on 31 Jul 2015
3 answers
145 views

Hi Team,

 

I'm currently working on silverlight application in Telerik Teststudio (Standalone version) new version on IE win7.I've automated a sample scenario I've got a task that I need to highlight each and every webelement that Im going to before perform actions on it.So, I've used a predefined method FrameworkElement.Highlight(); so that I'm able to see the fields were getting highlighted but the thing is I'm  able to see only few fields are getting highlighted like TextBox,ComboBox,TextBlock but not the HtmlInputText etc and also I'm not able to highlight the elements in window popups in the application.

I've another concern I need to highlight the normal fields with "red" color and for verification/validation purpose I need to use "green" color I've searched for this type of cutomisation code but I did'nt find anywhere can you please tell me wether it is possible or not and if possible please share how to make it work.

Thanks in advance,

Farheen

 

Cody
Telerik team
 answered on 29 Jul 2015
5 answers
132 views

I have updated to the latest and right now when I launch Test Studio and apply 'Set Breakpoints', the pop up that would help move to the next step is missing. Please provide steps to help restore this.

Boyan Boev
Telerik team
 answered on 29 Jul 2015
2 answers
70 views

Hello all,

I am getting a JS error when the test select a value from a dropdown list. The change triggers a JS call.
I am getting an error when that happens (error below).
 
Any help will be much appreciated!
 
Thank in advance.

 

ExecuteCommand failed!
InError set by the client. Client Error:
System.InvalidOperationException: Javascript call [$(document.getElementsByTagName(\'select\')[0]).change();] failed! Please make sure the function exists and the call is using the correct prototype signature. Javascript error: TypeError: Unable to get property 'srcElement' of undefined or null reference
   at ArtOfTest.InternetExplorer.IECommandProcessor.InvokeFunction(String functionCall, Boolean useEval, Boolean returnJSON)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommandInternal(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Action',Info:'NotSet',Action:'InvokeJsFunction',Target:'ElementId (tagName: '',occurrenceIndex: '-1')',Data:'$(document.getElementsByTagName(\'select\')[0]).change();',ClientId:'Client_07aa2aef-775f-4ce0-b4c9-fb679c33e1e5',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.InvalidOperationException: Javascript call [$(document.getElementsByTagName(\'select\')[0]).change();] failed! Please make sure the function exists and the call is using the correct prototype signature. Javascript error: TypeError: Unable to get property 'srcElement' of undefined or null reference
   at ArtOfTest.InternetExplorer.IECommandProcessor.InvokeFunction(String functionCall, Boolean useEval, Boolean returnJSON)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommandInternal(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
InnerException: none.

İsmail Yusuf
Top achievements
Rank 1
 answered on 28 Jul 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?