Telerik Forums
Test Studio Forum
1 answer
103 views

Hi

Could you please clarify the following queries
- Can we automate apple ios devices from windows OS?
- Test Studio is compatible only with windows OS for desktop applications, but does it provides full support with MAC OS for mobile testing?
- Safari browser has limitations with windows OS. Would there be any execution issues with Safari using Test Studio Desktop?

Thanks

Basha

Nikolay Petrov
Telerik team
 answered on 07 Oct 2016
2 answers
30 views

After updating the API Test Tool to build 2016.3.928.0

 

ERROR
Unable to open project: 'PATH\PROJECT'!
Object reference not set to an instance of an object.
OK

Boyan Boev
Telerik team
 answered on 06 Oct 2016
1 answer
86 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
64 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
122 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
124 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
82 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
134 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
810 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
112 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?