Currently I am trying to monitor and log Http Requests through a proxy using the following:
<p>using Telerik.TestingFramework.Controls.KendoUI;<br>using Telerik.WebAii.Controls.Html;<br>using Telerik.WebAii.Controls.Xaml;<br>using System;<br>using System.Collections.Generic;<br>using System.Text;<br>using System.Linq;<br><br>using System.Web;<br><br>using ArtOfTest.Common.UnitTesting;<br>using ArtOfTest.WebAii.Core;<br>using ArtOfTest.WebAii.Controls.HtmlControls;<br>using ArtOfTest.WebAii.Controls.HtmlControls.HtmlAsserts;<br>using ArtOfTest.WebAii.Design;<br>using ArtOfTest.WebAii.Design.Execution;<br>using ArtOfTest.WebAii.ObjectModel;<br>using ArtOfTest.WebAii.Silverlight;<br>using ArtOfTest.WebAii.Silverlight.UI;<br><br>using ArtOfTest.WebAii.Messaging.Http; //Needed for Telerik HTTPProxy<br><br>namespace EpicMix<br>{<br> public class HTTPProxy : BaseWebAiiTest<br> {</p><p> <br> public List<Dictionary<string, string>> NavigateToUnauthenticatedUrl(string testUrl)<br> {<br> // Check for HTTP Requests in proxy<br> RequestListenerInfo ensReq = new RequestListenerInfo(checkRequests);<br> Manager.Current.Http.AddBeforeRequestListener(ensReq);<br> <br> <br> // Add our HTTP response event handler. For each response the proxy gets, parse for the Omniture URL's query string parameters<br> ResponseListenerInfo li = new ResponseListenerInfo(GetQueryStringParamatersAndValues);<br> Manager.Current.Http.AddBeforeResponseListener(li);<br> <br> // Navigate to the given URL (passed in from the test case)<br> Manager.Current.ActiveBrowser.NavigateTo(testUrl);<br> <br> // Wait '5000' msec for url:'{testUrl}'<br> Manager.Current.ActiveBrowser.WaitForUrl(testUrl, true, 5000);<br> <br> // Wait for the page to completely load<br> Manager.Current.ActiveBrowser.Frames.WaitAllUntilReady();<br> <br> // We don't need the event handler any longer. Removing it stops listening to responses in the proxy<br> Manager.Current.Http.RemoveBeforeResponseListener(li);<br> Manager.Current.Http.RemoveBeforeRequestListener(ensReq);<br> <br> return ResponseDictionaries;<br> }<br> <br> private void checkRequests(object sender, HttpRequestEventArgs e)<br> {<br> <br> try{<br> Manager.Log.WriteLine(String.Format("Request for {0}", e.Request.RequestUri));<br> }<br> catch (NullReferenceException nre)<br> {<br> Manager.Log.WriteLine("Request E is null" + nre.Message);<br> }<br> }</p><p>}</p><p>}</p>I have checked and made to make a log in the test settings and have checked the setting to use the HttpProxy in the test list settings, which is why I haven't set it here.
However I am running into the following error which I have attached a picture of:
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
at ArtOfTest.WebAii.Design.BaseWebAiiTest.get_Manager()
at EpicMix.HTTPProxy.checkRequests(Object sender, HttpRequestEventArgs e)

I started a TS project (e.g. 'Foo') with a few test cases and successfully connected to an empty remote GitHub repository(e.g. githubURL/<company>/bar). As the single contributor so far to this project, I am able to commit and push additional test cases to the remote repository and re-launch TS to continue my work.
What would you recommend as a workflow for sharing this remote project for other QA members to see this project where they also will be adding test cases and eventually the team would be able to pull the latest, commit their changes and push these changes for others to do the same? Maybe questions would help narrow down some answers:
1) Should other QA members "Open" this remote project, or should they "Create" a new project and "Connect" to the remote repository, then "Pull"
2) What is the difference between opening a remote project versus creating a project and connecting to a remote?
Without getting too deep into our issues, when opening a remote project (that is stable from my desktop and usage is fine), other QA members are getting one of several errors(e.g. 401 errors, error in deserializing object, non-fastforwardable, etc).

Hi Team,
I am new to Telerik Test Studio and somewhere I read that for scheduling the test runs and sending results via mail automatically requires Mongo DB
I am interested in knowing more about MongoDB Installation and its features.
(a) Is Mongo DB an Open Source (Freeware) ?
(b) How to configure Mongo DB with Test Studio ?
(c) Our company has SQL DB. Can we still use it instead of Mongo DB ?
Can anyone help me on this ?
Thanks
I am currently integrating test studio with jenkins and when doing the task, I am presented the following error when executing the windows command line for the execution of the listTiempo transcurrido 00:00:05.76[Test_MSBUILD] $ cmd /c call C:\Windows\TEMP\jenkins6442795280623445813.batC:\Program Files\Jenkins\workspace\Test_MSBUILD>cd .. C:\Program Files\Jenkins\workspace>cd .. C:\Program Files\Jenkins>cd .. C:\Program Files>cd .. C:\>cd "C:\Program Files\Telerik\Test Studio\Bin\" C:\Program Files\Telerik\Test Studio\Bin>ArtOfTest.Runner.exe test="C:\Users\QAZenta\Documents\Test Studio Projects\TestProject1\PruebaJenkins.tstest" Overall Result: FailResult saved with path: 'C:\Users\QAZenta\Documents\Test Studio Projects\TestProject1\Results\PruebaJenkins 131365713286472151.aiiresult'.C:\Program Files\Telerik\Test Studio\Bin>ArtOfTest.Runner.exe list="C:\Users\QAZenta\Documents\Test Studio Projects\TestProject1\TestLists\PruebaRemota.aiilist" out="C:\Users\QAZenta\PRUEBA1" Executing test: 'PruebaJenkins'Overall Result: FailResult saved with path: 'C:\Users\QAZenta\PRUEBA1\PruebaRemota 131365713406529018.aiiresult'.
After a lot of convincing and a long wait, our team has decided to push through and renew our stand-alone license and purchase 2 run-time licenses for our virtual machines. I am quite new to setting up the testing environment so I'm trying to get the ball rolling and wanted to get some advice and/or feedback on the set up I have in mind, as well as clarification for some things that I am unsure of.
We plan on having 2 virtual machines set up for each run-time license: 1 for the scheduling service/storage service/executing server (VM1) and 1 to act as another remote executing server (VM2). Below are a few questions I had so far:
- I installed the Storage services to my stand-alone version and it required me to install MongoDB. Do I have to use this or can I use Microsoft SQL Server instead?
- What is being stored in the db - test results, test lists, etc?
- What service 'talks' to the repository to get the scripts from?
- Can I extract data from the db to get access to the results so I can customize my way of seeing the data?
Thanks in advance for the help and helping me understand everything better :)
- Chris

Hi Team,
I am using telerik test studio in that am using property "IsEnable=False" for the " RadMaskedCurrencyInput", "RadMaskedTexInput" and "RadMaskedNumericInput" controllers so am unable to extract those text boxes values. please guide me and give the solution to extract the values using those controllers in Telerik test studio.
Thanks,
SivaKrishna.M

Hi,
I have a conversion problem:
In my application I have a 'System.Windows.Controls.TextBlock' type textblock and I need to find it in my coded step and make on it a MauseClick.
This is fragment of my code:
System.Windows.Controls.TextBlock textblock = app.MainWindow.Find.ByTextContent(text_content.ToString());
and in test log I have a information:
"Cannot implicitly convert type 'ArtOfTest.WebAii.Silverlight.FrameworkElement' to 'System.Windows.Controls.TextBlock'"
Is there a way to make that conversion or some other way to resolve this problem?
Hello,
New to using this tool so this may be a bit complex. Currently I am trying to do some URL manipulation in order to get an access token so that I can then use the token to login a specific admin account.
The situation is that I go to a URL to get a access token which is returned as a JSON object. {"token":"00000000-0000-0000-0000-000000000000"} Is there a way that I can use regex as part of the extraction to take just the info between the second set of quotes? And then also take that extracted data and add that on to another data driven URL?

Hello,
we got serious problems with scheduled tests. We have a VM as a scheduling server and another VM as an execution server. All tests are working in our test studio and all VM's are alive. Everything is connected properly (we already checked the documentation).
Case 1: Remote connections to both VM's and the test studio are opened on my local pc. I start a test via remote. After a few seconds I can see how the browser opens on one of the VM (execution server). Everything works fine and the browser closes properly. The test report shows this, too.
Case 2: Remote connections to both VM's are disconnected on my local pc. I start a test via remote. Nothing happens. No confirmation about the test in the reports.
Case 3: Remote connections to both VM's and the test studio are opened on my local pc. I start a test via remote. After a few seconds I can see how the browser opens on one of the VM (execution server). Everything works fine and I disconnect the two VM's locally after half of the test steps. The test reports shows us that the test didn't run on after the disconnection of the two VM's.
Why? With this kind of problem it's impossible for us to automate the tests.
Could you help us?
