Hi There,
I have downloaded the latest telerik Test studio package to install (I have 2016 version installed. want to update it to 2017) and encountered attached error on execution.
Please help.
Hi guys,
I'm unable to use Build Step feature on frame elements. When i highlight the element and select Build Step (BuildStep.png), nothing is selected in the DOM (EmptyBuildSteps.PNG). But, if i highlight and select Mouse Actions as Left Click for an example (LeftClickMouseAction.png), the element is recorded in Telerik (LeftClickElement.png).
The idea of the test script is when we click start without filling in the required fields, the required fields background and border will be coloured in red and i would like to verify this change of color. Based on the documentation, i found that this can be achieved by using the style verification option that is available (StyleVerification.png) but since the step builder cannot detect the element,i'm unable to build this step.
Also, when i use the IE11 debugger mode, i'm able to dive into the field element that i'm looking to verify (IE11DOM.png) but when i do the same in Telerik DOM,i can't find the same element (TelerikDOM.png). **Not sure if this helps but it's a finding that i noticed :)
Do help to advice on this (:
Many many thanks in advance,
Best Regards,
Pravin
praja@dongenergy.dk
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 list
Tiempo transcurrido 00:00:05.76
[Test_MSBUILD] $ cmd /c call C:\Windows\TEMP\jenkins6442795280623445813.bat
C:\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: Fail
Result 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: Fail
Result 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?