Hello,
I would like to install the Telerik Testing Framework on a PC without internet connection,
but I cannot find an offline installer.
Can anyone help me please?
Greets
Andreas
Using Telerik Test Framework 2015.1.319.0
I have a wpf application to test which opens windows in a list-> detail paradigm.
Each detail window opens a new wpf window which can be wrapped by WpfApplication.WaitForWindow(caption, windowTimeout).
Each window is closed using:
WpfWindow.Window.DetachWrappedWindow();
WpfWindow.Window.Close();
Using a 32 bit test application this will open and close about 50 windows before terminating with an out of memory exception.
Using editbin /LARGEADDRESSAWARE $(TargetPath) to increase accessible memory allows about 250 iterations before the exception.
On examination it seems that the telerik test framework is not releasing resources when a WaitforWindow wpfWindow is closed.
If the (detail) wpfwindow does not do any RefreshVisualTrees() or any .Find() operations then the resources do not run out.
The more complex the detail window, the more resources are lost.
I have attached a sample application which uses a similar model - showing the resources not being released. If you run the application (without debugger!) and simultaneously run perfmon looking at working set and working set peek - you can see it inexorably creeping up. With such a small application you wont actually get the out of memory condition. However this is preventing some important test scenarios for my clients.
Please can you advise?
Regards
Hello, I'm struggling with a problem that doesn't make sense to me.
I'm writing some tests (I'm totally new to the testing framework), the first of which consists on login to the site.
So I'm doing this:
myManager.ActiveBrowser.NavigateTo(site.LoginURL);
myManager.ActiveBrowser.WaitUntilReady();
Thread.Sleep(5000);
//Find username control
HtmlInputText usernameControl = myManager.ActiveBrowser.Find.ById<HtmlInputText>("email");
usernameControl.MouseClick();
myManager.Desktop.KeyBoard.TypeText(site.DefaultUser.Username);
//Find password control
HtmlInputPassword passwordControl = myManager.ActiveBrowser.Find.ById<HtmlInputPassword>("password");
passwordControl.MouseClick();
myManager.Desktop.KeyBoard.TypeText(site.DefaultUser.Password);
Element loginBtn = myManager.ActiveBrowser.Find.ById("loginBtn");
myManager.ActiveBrowser.Actions.Click(loginBtn);
I had to use html elements for the imput boxes because the site is made using ember.js and looks like it requires "real typing".
The problem is that if I run this against a local testing site it works perfectly. However if I try to run it against a site (an identical copy) on a remote server, the framework can't find the controls and I get a null reference exception because the object "usernameControl" is null.
I can warranty that the site hosted on the remote server contains those controls, and that's why this doesn't make sense to me.
Am I missing something? Any help will be appreciated.
Thanks in advance,
Gonzalo
1.
myManager.ActiveBrowser.NavigateTo(
"https://agenziaentrate.gov.it/Service/DownloadFile.do?tipo=/T/TM/SUOP_"
);
2.
string
saveLocation = System.IO.Path.Combine(
"C:\\Users\\Developer\\Downloads"
,
"DownloadedFile_1.zip"
);
3.
DownloadDialogsHandler handler =
new
DownloadDialogsHandler(myManager.ActiveBrowser, DialogButton.SAVE, saveLocation, myManager.Desktop);
4.
Element downloadBtn = myManager.ActiveBrowser.Find.ByExpression(
new
HtmlFindExpression(
"type=submit"
,
"value=download"
,
"name=m"
));
5.
myManager.ActiveBrowser.Actions.Click(downloadBtn);
6.
handler.WaitUntilHandled();
7.
myManager.ActiveBrowser.NavigateTo(
"https://agenziaentrate.gov.it/CloseSessions"
);
public
static
void
SelectItemByText(
this
ComboBox comboBox,
string
itemValue)
{
comboBox.User.Click();
comboBox.SelectItemByText(
true
, itemValue);
}
I have a framework used across multiple teams in my project. We reference the same Test Studio/ TelerikFramework version (2015.1.319.0).
We have a new machine to setup, and it needs to reflect the same version.
Since Test Framework has upgraded, we are unable to use the older version.
Upgrading would mean changes made across all the teams and build agents.
So could you direct me on how I could install version 2015.1.319.0 specifically?
i want to find an element based on its hierarchy. so i am using the AddHierarchyConstraint method of HtmlFindExpression as follows:
HtmlFindExpression oldExpr = new HtmlFindExpression("TagName=table" class ="xmlMenuCellSpacing");
HtmlFindExpression expr = new HtmlFindExpression("TagName=td");
expr.AddHierarchyConstraint(new HierarchyConstraint(new HtmlFindExpression("TagName=a", "TextContent="+item.ToClauseString()), 1));
oldExpr .AppendChain(expr);
But when i am appending the hierarchy constraints exprression to some old expression chain. The new expression lost the hierarchy constraint after AppendChain() call. I need a long chain of expression with hierarchy constraints .
Should it be a bug or you only allow hierarchy constraints in a single expression not in a chained expression.
I have attached the scenario i am working on . There i need to find a cell(td) which have <a> anchor tag with text content as "Layout" whose parent(grandparent or so on..) is a cell (td) which have <a> anchor tag with text content as "Window" which have a parent (grant parent or so on..) is a table (table) with class =xmlMenuCellSpacing.
Please let me know what are the possible way of achieving the above said scenario.
I'm writing custom classes to handle common test steps and was wondering how to utilize the ArtOfTest logging so that when a code step calls one of the classes, the class can log messages to the test log so that all the log information is available.
I've tried adding Manager and setting the createlog to true - but I'm not seeing log output to the test log.