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!
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
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
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.
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
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.
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.
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