Telerik Forums
Test Studio Forum
10 answers
204 views
In my software application we have drop down menus that only show on mouseover.  These items navigate to other pages.  I am having difficulty getting the test to see the drop down menus to execute the click function when I rerun the test.  How can I go about forcing the test to display the drop down menu to allow for the program to execute properly?
Boyan Boev
Telerik team
 answered on 29 Mar 2016
3 answers
155 views

Suddenly I have encountered a compile failed error on remote execution. I got the following error under results:

 

Compile failed: c:\Users\Administrator\AppData\Local\Temp\2\Projects\172eb586-88ca-49d8-ba54-77c7a827f982\Trunk\Pages.g.cs(8826,39) : error CS1519: Invalid token '' in class, struct, or interface member declaration

 

Local execution is working OK. What could be the reason for such behaviour?

 

 

Elena
Telerik team
 answered on 29 Mar 2016
1 answer
159 views

When building a verification step using Step Builder for a WPF test, the TextBox targets are incorrect for some TextBox elements, even though the Find Expression on each different TextBox is similar. As you can see in the attached images, the targets of the Verification Step in Step Builder are different even when both have XamlTag = TextBox as part of the Find Expression. These images also only show part of the issue, since sometimes no element-specific verification targets (e.g. TextBox, TextBlock) show up at all when selecting a TextBox element. We have tried a number of changes to see if we can alter the inconsistent behavior, such as relocating the element and altering the Find Expression afterward, restarting Test Studio, and manually changing XamlTag to see if the Verification Step targets change, however, the inconsistency persists. This makes it impossible to create a verification step to ensure the TextBox has the correct text value.

How can we work around this problem?

 

 

Elena
Telerik team
 answered on 28 Mar 2016
5 answers
158 views

Greetings -

I've reviewed the help document "Merge Page Nodes" in order to merge elements in our WPF tests. After reproducing the behavior therein for Web tests, I'm at a loss as to how to apply this to WPF tests, since "Compare Mode" doesn't exist for WPF pages.

What I want to do is to merge all the elements which have the same Find Expression across all our WPF tests in the same project. How is this possible?

Elena
Telerik team
 answered on 28 Mar 2016
1 answer
110 views
I need to test how long it takes for a page to render in the different browsers.  The challenge is that its password protected.  Now I recorded the scripts and it plays back just fine but when I do the performance test it lists the steps of the login and authentication but does not show me when the page I intended to go to start loading.  SO I'eas?m guessing here because it looks to lump the authentication and loading of the page I intended to go to together.  Any ideas?
Nikolay Petrov
Telerik team
 answered on 28 Mar 2016
6 answers
245 views

I have a Test Studio Standalone project with a database Data Source. I've written a coded step that inserts test data directly into the database, since this particular data cannot be created directly from the UI with a recorded step. Currently, the DB ConnectionString is hard-coded in this step's code, but I would like it to be dynamic by using the same ConnectionString as the existing Data Source. Is this possible?

I've tried binding the Data Source to the coded step then using Reflection to find the connection strings in the current configuration, but the ConnectionString from the Data Source was not in there. Probably because it only works from an explicit app.config file (in Visual Studio project), which I do not have.

Is there a way to programmatically retrieve the connection string, or do I need to take another approach?

Perhaps my best option is to have a utility class to store connection strings globally accessible to all coded steps? If I do this, is there a way to programmatically retrieve the BaseURL setting for it to determine which connection string is appropriate based on which machine/environment the tests are running in?

Thanks for any input and suggestions.

Boyan Boev
Telerik team
 answered on 28 Mar 2016
4 answers
123 views

Hi, 

In one of the sites that I'm testing, for the dropdowns is used transForm jQuery plugin.

With Telerik Test Studio I can't find a way to record a selected item from this dropdown.

When I record the step were I select a item form the dropdown the studio does not recognize that this control is a dropdown and record Click 'Span' step.

Here is the site with example for such a dropdown.

Can you give a solution for this?

Thanks,
Boris

Boyan Boev
Telerik team
 answered on 25 Mar 2016
9 answers
207 views
Telerik Test studio is not able to identify controls from already opened browser window. i've tried it with the connect browser option but it is giving exception. please find attached snap shot of exception for additional details.
Tim
Top achievements
Rank 1
 answered on 25 Mar 2016
3 answers
135 views

Hello,

I have a problem finding specific tag, which occurs only once. For example:

HTML code excerpt:

<table class="table" id="users-table">
<tbody>
<tr class="ng-scope" ng-click="user.id" ng-repeat="user in vm">
</tr>
</tbody>
</table>

 

Coded step used on HTML code above:

Manager.ActiveBrowser.RefreshDomTree();        
IList<HtmlControl> allUsers = Find.AllByXPath<HtmlControl>("table[@id='users-table']/tbody/tr");
int maxCount = allUsers.Count;
Log.WriteLine("Found: " + maxCount.ToString() + " elements.");

 

Problem that I'm facing:

If I run above coded step it returns maxCount = 0! Instead it should return 1, because one tr tag is available and can be found. If I use online XPATH validators they all return one result (one example of such validator http://codebeautify.org/Xpath-Tester). Let me know why this is happening and how can I solve this? If you have another idea how to solve my problem, please do let me know.

 

BR, Jurij

Ivaylo
Telerik team
 answered on 25 Mar 2016
2 answers
49 views

Hi,

I am new to telerik. I am doing an web automation. I recorded a web page in telerik test studio. I want to execute the recorded steps without using telerik. Is it possible to compile the recorded steps into .exe format or any formats? So that I can run it without using telerik.

 

Thanks in advance.

Anusha
Top achievements
Rank 1
 answered on 24 Mar 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?