Telerik Forums
Test Studio Forum
2 answers
535 views

I currently have various tests, some of them use the login step where you can check encrypt and it will protect the password of the user used. I also have tests that are coded steps and I code the user and password to deal with the login. I would prefer to have a configuration file where I do the username and password as a configuration property that would be used to in the coded steps so that in the event of needing to change the user used for testing I wouldn't have to change it for all the steps. 

 

First off I found the C:\Program Files (x86)\Telerik\Test Studio\Bin config file and I put the following in the configuration tags: 

 <configSections>
<section name="users" type="[namespaceNameHere].UserConfigSection" />
  </configSections>
  <users>
    <add id="1" name="Automated Testing User" username="jessica.gonzales" password="AxkrhLLZjmWbai/5hpEJ6w==" />
<!--<add id="2" name="[Username Description]" username="[username]" password="[safe password]"/>-->
  </users>

Jessica
Top achievements
Rank 1
 answered on 31 Oct 2017
9 answers
246 views
Hi,

I'm currently evaluating the Test Studio tool. In this process I have found that selecting a dropdown value fails during execution. The tool doesn't throw an error message but just doesn't select the value during execution. I had no issues while recording. Please find the attached screenshot.

Below are the events that took place while recording:

1) Select the dropdown box
2)List of values appear
3)Select a value, the value displays in the field after selecting

Regards,
SP
Elena
Telerik team
 answered on 31 Oct 2017
1 answer
223 views

Hello,

 

I can connect to TFS to see my projects (1st image).

 

When i choose one and click "OK", it can't connect to source control (2nd image).

But i can connect by Web, Visual Studio.

 

Thanks for answers

regards

Elena
Telerik team
 answered on 31 Oct 2017
5 answers
219 views

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? 

Elena
Telerik team
 answered on 30 Oct 2017
3 answers
142 views

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.

 

 

Elena
Telerik team
 answered on 30 Oct 2017
2 answers
187 views

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

 

Dan
Top achievements
Rank 1
 answered on 26 Oct 2017
1 answer
121 views
Are there any sizing recommendations available for the amount of space needed to support MongoDB for the Storage Server?  For example, X amount of tests with X amount of steps requires X amount of space.  Also, for the test results, how long are the results kept for and is this customizable?
Nikolay Petrov
Telerik team
 answered on 26 Oct 2017
1 answer
145 views

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

Elena
Telerik team
 answered on 26 Oct 2017
11 answers
483 views
Hi,

We just procured the telerik test studio automation tool for my company. I have some questions regarding the setup and installation.
 Do we have to install the tool on each machine? or can we install the tool on a server machine and have users access it simultaneously. We have 5 core licenses and 10 run time licenses.

Please advise.

Thanks,
Chandrasekar
Elena
Telerik team
 answered on 26 Oct 2017
2 answers
167 views
Does Test Studio support the latest version of MongoDB, (3.4.9)?  If not, are there plans to do so and what is the current max supported version?  The previous release installs version 3.0.6.  We are required to install MongoDB manually in our environment and would appreciate more details regarding MongoDB versions with each release. 
Diane
Top achievements
Rank 1
 answered on 25 Oct 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?