Telerik Forums
Test Studio Forum
1 answer
109 views
is this tools can be used also to test software created in flash? I hope somebody can help me about this. thanks in advance! 
Plamen
Telerik team
 answered on 24 Jan 2012
1 answer
115 views
Hello,

I have some Web UI tests set up where there is a list of links in a Telerik MVC grid all with the same name 'Edit', that point to different URLs. 

The test must always click the top 'Edit' link, but it will fail because the top 'Edit' link URL is always changing.

How would I set it up so that It will always click the top link in a grid? 

Cheers, 
Stoich
Telerik team
 answered on 23 Jan 2012
2 answers
105 views
I need to check page status by if...else statement.
I use following way:http://screencast.com/t/Lgs2YIJlg2l
If "logout" link is visible I click it to logout user.
But if "logout" is absent I shouldn't do anything, but this test is failed
Unable to locate element. Details: Attempting to find [Html] element using
Find logic
 (Html): [id 'Exact' header_0_ctl00_ctl02_logout] AND [tagname 'Exact' a]
 
Unable to locate element. Search failed!
algot
Top achievements
Rank 1
 answered on 23 Jan 2012
7 answers
171 views

Hi,

I was trying WebUi for a few months and our company has a license for WebUi, but I do not understood, why the behavior of this tool always is the same when a release or promotion is executed on the application.

Sometimes I have a Test Cases that works correctly, but then, when the application has a release or promotion, then some steps that run previously then do not work, so I have to record again the steps.

Why sometimes Webui lost this information over the steps?

For example, now I'm trying to record a steps,one is clicking on a button, this button is read in other pages, but not is this specific page. I tryied to record using the highlights, all the possibilities, I tryied to add a verification step before.. but during the run, nothing WebUi do not execute this step, looks like do not exist, and take me away the test, even the step is recorded.


Thanks,
Karla
Top achievements
Rank 1
 answered on 20 Jan 2012
1 answer
105 views
My situation is as follows:

I have a grid of text blocks which are supposed to be ordered in alphabetical order, like say:

A00000
A00001
A00002
B00001

and I'd like to write a test case to verify this.

The issues I have are two fold:

How do I do a comparison check between rows? As in check if row 2 is greater than row 1, then check if row 3 is greater than row 2, so on and so forth. I know I can do tests for the values in a single row but not sure how I'm supposed to tell the program to keep going down new rows programatically.

My other somewhat more pressing problem is that I've found text blocks do not have greater than/less than comparisons. A number based property such as 'ActualHeight' does have such comparisons and it seems strange text blocks do not considering C# does have gerater than and less than operations you can carry out on strings (and this is how the grid we're using orders data).


So any ideas on what I should do to achieve this? I'm using silverlight.    
Anthony
Telerik team
 answered on 20 Jan 2012
1 answer
151 views
I have a DropDownExtender that is an ajax postback control.  I believe my script is breaking because the import has not finished and waiting for the first element does not seem to work.  I have found this link:

http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/code-samples/html/ajax-postback.aspx

From that link I tried entering the following line of code in an existing function by Customizing step in code:

public bool ActiveAjaxConnections()
{
    return Actions.InvokeScript<bool>("Sys.WebForms.PageRequestManager.getInstance().get_isInAsyncPostBack()");
}


However, I get the following errors:
 Line 107: (BC30205) End of statement expected.
 Line 108: (BC30035) Syntax error.
 Line 109: (BC30647) 'Return' statement in a Sub or a Set cannot return a value.
 Line 109: (BC30037) Character is not valid.
 Line 110: (BC30035) Syntax error.
 Line 113: (BC30429) 'End Sub' must be preceded by a matching 'Sub'.


Here is the code in view class:

  <CodedStep("Wait for Ajax")> Public Sub WaitAjax()
public bool ActiveAjaxConnections()
{
    return Actions.InvokeScript<bool>("Sys.WebForms.PageRequestManager.getInstance().get_isInAsyncPostBack()");
}
End Sub

What am I doing wrong?
Anthony
Telerik team
 answered on 20 Jan 2012
1 answer
88 views
How can I create a WPF test, I am doing the same that is mentioned in the documentation but it is doing nothing. I am your paid user please reply me ASAP.
Cody
Telerik team
 answered on 20 Jan 2012
5 answers
513 views
Hello Support,

How to use Regular Expressions (RegEx) in building a Find logic?
If you could have any tutorial/videos, it will really helpful.

Thanks,
Madhu.
Anthony
Telerik team
 answered on 20 Jan 2012
5 answers
305 views
I use following code to open my site:
[CodedStep(@"Navigation to Form")]
public void NavigationToForm()
{
  ActiveBrowser.NavigateTo((string)Data["ContributorPath"]);
  ActiveBrowser.Window.Maximize();
}
Sometimes site can't be opened fast so test is failed with timeout error.
I try to add Wait action, but test is failed on first step.
[CodedStep(@"Wait for url")]
   public void WaitForUrl()
   {
     // Wait for url
     ActiveBrowser.WaitForUrl((string)Data["ContributorPath"], true, 60000);
   }
How I should do it?
Plamen
Telerik team
 answered on 20 Jan 2012
1 answer
100 views
Hi,

      I am using silverlight 4.0 and telerik Q2 version in my application, My question is : i want to lock a entire row based on particular condition, for acheive this i used 'isreadonlybinding' property.  It locks the row but some of the controls are not locked.
( I am using radgridview, RadMaskedNumericInput and raddatepicker are placed inside the radgridview, only these controls are not locked).

thanks

Jaleel
Jaleel
Top achievements
Rank 1
 answered on 19 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?