Telerik Forums
Test Studio Forum
4 answers
120 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
326 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
337 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
114 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
151 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
158 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
84 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
14 answers
161 views

Hello,

I have a test that I need to run against Chrome & Firefox. I created WebTest which I need to run and I am using that WebTest as Step in other test as per TestSteps.png. When I execute this test it fails while preparing Chrome for automation. (Chrome.jpg) I have attached the error log as well.

Same thing happens for Firefox.

I have configured my browsers as per instruction given for Chrome and Firefox

Let me know if more information is required.

Thanks,

Chandresh

Ivaylo
Telerik team
 answered on 28 Jul 2015
1 answer
79 views

Hi ,

I am currently using Trial version of Test Studio to check the feasibility and create a POC project of my application. So far I am satisfied with what I can do with Test Studio and would most likely be buying the license soon if my POC gets approved.

However, lately I have found a problem while executing in debug mode i.e. performing 'Run from here' ​ on the attached IE browser.

Everytime a step contains 'Find' statement the IE browser gets closed and I would have to relogin. The test gets executed successfully though.

I  have noticed this with all kinds of Find statemetns - Find.ByExpression, Find.ByAttributes etc.

These statements get executed successfully i.e. the relevant object gets identified, gets clicked and everything works well, just that the attached browser gets closed. This doesnt happen when there are no Find statments in the test case.

 IE Version  : IE 11

OS : Windows 7

 Thank you

SHK

 

Boyan Boev
Telerik team
 answered on 27 Jul 2015
7 answers
112 views

Hello 

 

I am encountering this problem where the dropdown combo box is not getting populated with the sheet names present in the excel sheet.

Screenshot and spreadsheet attached here.

Thanks!

 

Cody
Telerik team
 answered on 24 Jul 2015
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?