Telerik Forums
Test Studio Forum
7 answers
161 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
86 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
137 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
77 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
467 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
265 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
84 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
10 answers
194 views
I have set up my scheduling server and set up my execution server on my virtual machine exactly as described in the video tutorial. However, when I connect my project successfully I then attempt to shcedule the test list and on clicking 'Done' Test Studio stops working. Please see attached. I have unregistered and re-registered everything but still no luck.
Also when I set the execution server up and set the test execution folder of the client machine (which I assume is the folder of the project) I get error Could not find a part of the path N:\Projects\eSight\Testing Folder\AutomatedTests\TelerikTestStudio\eSight_2011.1.005
My scheduling server is CAM-PC-OLD\SQLEXPRESS and my execution server is CAM-DEV-TEST, both machines have access to the shared folder for my projects/tests.
Thank you
Anthony
Telerik team
 answered on 19 Jan 2012
12 answers
177 views
Hi,

We are having an issue with automated testing of file upload file (this works perfectly in Windows XP). We are using

asp

 

 

:FileUpload control. In IE, the windows explorer dialog opens up to select the file and then it hangs. In Firefox, the dialog doesn't open at all.

Is this issue already noted? Is there any workaround? Is the support for Windows 7 available now?

Cheers,
Souvika

Ganga
Top achievements
Rank 1
 answered on 17 Jan 2012
1 answer
94 views
Hi Team,

We have a situation where 2 dialog windows pop-up one after the other.

Problem is that when we click 'ok' button of dialog-1 then dialog-2 and a new browser window is opened up at the same time.

Now the issue here is that the confirm dialog code does not effectively handle the 2nd dialog instead clicks 'Enter' key on the browser window due to which script fails.

Kindly provide us your feedback ASAP. A Sample code to resolve this issue will be helpful for us.

Thanks,
Devender
Cody
Telerik team
 answered on 16 Jan 2012
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?