There is a code that clicks left mouse button 500 times on the specific control on the web page, approximately after 300 clicks, out of memory exception is been thrown.
Code is:
for (int i = 0; i<500; i++ ){
Pages.Journey2.ITag.MouseClick(ArtOfTest.WebAii.Core.MouseClickType.LeftClick, 0, 0, ArtOfTest.Common.OffsetReference.AbsoluteCenter);
CommonUtilities.sleep(100);
Assert.IsTrue(ArtOfTest.Common.CompareUtils.StringCompare(Pages.Journey2.WeightValue.Value, ""+(396+(i+1)), ArtOfTest.Common.StringCompareType.Exact));
}
Getting Telerik.TEstingFramework.Hosts.Manager has stopped working
Unexpected Exception: System.OutOfMemoryException
Unhandled Exception: OutOfMemoryException.
Any Ideas? suggestions?
PFB the steps I followed.
1. Log into the application using correct credentials
2. Clicking one web button after logging in
3. Performing some validations after clicking the button
After login to application, application thrown an error, but the execution of steps still showing and also the showed marked as pass in the tool which is not expected.
After some 508 Compliance work we recently performed on our
site, I found that a majority of my previously working scripts had started to
fail when attempting to click certain elements.
Most tests include clicking Checkboxes by clicking either
the control OR the label (clicking
both would essentially leave the control state unchanged)
Most test include clicking Radio Buttons by clicking the
control AND the label (clicking both
does not change state, which at the end is: selected)
What we see now is that clicking the label of a radio button
changes the state of the first checkbox preceding the radio button.
I've attached a graphic showing what's happening.
If this occurred within the same control type (i.e.,
checkboxes or radio buttons), my first thought would be that the elements in my
script were out of order.
The fact that clicking the label of a radio button changes
the state of a checkbox indicates that something else is at play here.
When I brought this to my DEV’s attention, she said that this
is occurring only in areas where the 508 Compliance work was completed, but
when I brought this to our DEV’s attention, should didn’t see anything in the
DOM that would account for this behavior.
I’m currently using version 2016.3.928.0, and have not
updated my client in many months.
I looked through the Form and couldn't find anything reported similar to this.
Thanks for any help you might be able to provide,
Dan
Hi,
While creating a new script where the controls are all on
the same page and identical in basic functionality, I found an element in the
script that was simply ignored, while all others were worked as expected.
I asked the DEV to look into the issue and she indicated
that the title property was null.
After
she fixed that, I found that my script still did not execute a click event.
I unchecked the line from my script and re-added the
element, and now the click event works like the others.
On the face of it, the change (adding a title property value) doesn’t seem significant enough to break my original command.
Here are the original and updated lines from the DOM
Original: <a title=""
href="https://someURL.com/resources/3077">FAQ</a>
Updated: <a
title="FAQ" href="https://someURL.com/resources/3077">FAQ</a>
To get a better understanding of what’s happening (and so
that I can convey this to my DEVs), my questions are:
1. Are
script elements:
--Static
(i.e., once an element has been created, any DOM changes require a new
element to be added to replace the original element) OR
--Dynamic
(i.e., the script command still points to the correct element and
automatically picks up any changes)
2. Does
changing a property (adding a value, e.g., “FAQ”) break an existing element
or its script line?
3. Does
re-ordering an elements properties render the existing script command
obsolete (i.e., the underlying metadata (signature) no longer matches with
the original command or element)?
4. Is
there anyway of inspecting the element to see its properties (I’ve
selected the element, rt-clicked, and selected Properties, but nothing
happened.):
--If
so, is there any way to edit these elements in-line, without the need for
manually re-adding the element?
Thanks much,
Dan
Trying to evaluate test studio, a long term telerik customer
I have a asp.net/mvc/knockout.js solution that first presents the user with a login page that then routes to the main page on successful log in
I am trying a simple test of logging in and running one of our options, so I recorded this and tried to play it back
Issue I am having is that I am getting a log in failure message from our solution when we try to log in
I added a wait for exists as the next step and while its waiting if I then type the exact same username and password it then logs in and runs the rest of the script
Am I missing something?
The problem: How to run different test lists at the same time on the specific execution machine?
If you are using Telerik.TestStudio.CommandLineClient.exe to start test lists, you can define scheduler -u and -d switch to distribute tests among execution machines.
If you have chained tests (test must be executed in the exact running order) on the test list -d switch is not an option. Is there to specify on which execution machine a test list will be executed?
Is it possible to have two scheduling servers connected to a single storage server? If so, then you can use -u switch to define a scheduler which is linked with the specific execution machine?
BR,
Uroš
The App i am testing have a login part which every test has to start with.
Is there a way to run this login sequence at the start of every test without adding it manuely?
I think its called "test as step", but i couldn't find it in the IOS project.
Is this feature available?
Is it possible to simulate this feature with a Coded step?
Thanks