Telerik Forums
Test Studio Forum
1 answer
116 views

Hello,

We're currently evaluation Test Studio, but are getting the following error on configuration:

"Android build tools not found"

Is there a simple fix for this?

Thanks

Nikolay Petrov
Telerik team
 answered on 06 Oct 2016
1 answer
114 views

I'm attempting to test drag and drop functionality on an Angular page.

I identified a List Item element with dynamicid by it's unique InnerText, and have a step to drag and drop this record to another row. No problems here.

In the below example, how can I perform a verification test to see that Cat1 Tag1 element has moved from row 1 in the unorderedlist to row 2?

 

The element Property AbsoluteSiblingTagIndex shows the index information that I need, but not sure how I can utilize this in a step. Is a coded step required? If so, idea on an approach for this?

I suppose I could create a new element with same innertext and include the new xpath location on it, but this seems more brittle to me. And I really wanted the index location as part of the verification and not the element itself.

Nikolay Petrov
Telerik team
 answered on 05 Oct 2016
10 answers
189 views

I have the need to test an inbox message count and verify that when a message is read, the count is reduced by 1.  I am at a loss for how to accomplish this.  We use a class within a span to define the message count integer.  We are displaying it like "Inbox (10)" and after opening and reading an item, i want to verify that the count has been reduced by 1.

Here is the span in use where the number in the ( ) is the message count.

<span class="unreadNum ng-binding">(12)</span>

Boyan Boev
Telerik team
 answered on 05 Oct 2016
2 answers
176 views

Hello,

I am using Test Studio to develop automated tests for a complex WPF application.

I am wondering: Is there any API calls I can make in a coded step that allows me to disable specific steps from being run during test execution? 

 

For example:

if (some condition)

{

  disable steps 2-4 of this test

}

else

{

  execute all steps of this test

}

 

I want to have the condition be the value of an environmental variable on the computer where the test will be ran. (Will be ran on multiple different computers with the same environmental variable set to different values).

 

Let me know if there are any methods out there I could use.

 

Thanks,

Jon

Jon
Top achievements
Rank 2
 answered on 04 Oct 2016
3 answers
126 views
We are on version 49.0.1 of Firefox and plug-in are unavailable for Test Studio.  Why?  On an existing test server the plug-in show disabled now, why when they were enabled before. 
Nikolay Petrov
Telerik team
 answered on 04 Oct 2016
23 answers
183 views

Hi,

 

I am creating Global function for Login which can be executed for different user types. I have added UserName & Password input field under required pages which I can see in Elements treeview. Now I am trying to use them in Utility class to input username & password and it is not working. I have added using ProjectName; and tried as per this article but my elements doesn't appear for page. It only shows three properties like Equals, ExpressionDefinitions and ReferenceEqual. 

 

Can some one help me on this ?

 

Thanks,

Chandresh

Elena
Telerik team
 answered on 03 Oct 2016
11 answers
1.0K+ views
I have a common tstest class that houses global logic used throughout all my tests.  I'm attempting to call a actionLogin method that runs a Test As Step from another test.  If I call this actionLogin() method from within the common tstest class, OR if I just copy/paste the code into the outside tstest class, the test runs as expected.  If I call this Common.actionLogin() method from outside of this particular common tsttest class, the following error is triggered:

The ExecutionContext is null. Initialize has not been called yet or it failed.

Sample of code from the common tstest class:
public void actionLogin()
{
     //other code
     this.ExecuteTest("Actions\\acLogin.tstest");
     //other code
}

Sample of code from the outside tstest class:
Common.actionLogin();
Boyan Boev
Telerik team
 answered on 03 Oct 2016
3 answers
158 views

Hi Team,

 

I have tried below code but it isn't working

using System.Runtime.Serialization;

 

Log.WriteLine(this.ExecutionContext.Test.Name.ToString());

 

Below is the error i am getting after compiling above code

 

d:\Financials Panel\fgdg.tstest.cs(87,49) : error CS0012: The type 'System.Runtime.Serialization.IExtensibleDataObject' is 
defined in an assembly that is not referenced. 
You must add a reference to assembly 'System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.


d:\Financials Panel\fgdg.tstest.cs(87,49) : error CS0012: The type 'Telerik.TestStudio.Interfaces.Storage.IDataTransport' is 
defined in an assembly that is not referenced. 
You must add a reference to assembly 'Telerik.TestStudio.Interfaces, Version=2016.2.630.0, Culture=neutral, PublicKeyToken=b9f4c4e36181b3de'.

 

Thanks

Abdul

Elena
Telerik team
 answered on 30 Sep 2016
7 answers
97 views

Hello,

I am evaluating this product for one of my clients. Although the record stuff seems to work nice, highlighting does not. On a high-dpi window (Surface Pro, Macbooks, etc), the highlighting is off. It should translate the coordinates based on the DPI settings of the system.

Can you please add support for any dpi?

Boyan Boev
Telerik team
 answered on 30 Sep 2016
1 answer
65 views

Hi,

Our Quality Center config requires a Test ID value when creating a test case. Attempts to sync my Test Studio scripts to QC fails because a Test ID is not defined. Is the mapping to QC configurable? The script's UniqueID or a fixed value would suffice as the required Test ID.

Any suggestions for a workaround? I'd be surprised if I'm the first one to have this issue.

 

Thanks,

Dan

Elena
Telerik team
 answered on 29 Sep 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?