Telerik Forums
Test Studio Forum
9 answers
234 views
hello,
it's been one year that I work on your tool of the autommatisation tests (Web UI test Studio), and I see the benefits and inconvénnients, but it has a major inconvennient of execution on remote server that prevents us from planning the execution of autommatic tests, ie tests that do not run in a way on a remote server when the server session is not open or if it is idle.

in other words, when we plan a job who must crawl one page, and , if we got a Jascaript window.confirm box, Telerik is not able to fired the click on this box if the screensaver is enable or when the remote session is diconnected.


So, I would like to know if you can find me a sollution for this prebleme before renew  of my license ?

best Regards
samir
Plamen
Telerik team
 answered on 29 Apr 2013
1 answer
105 views

Hello,

I am using WatiN to run some UI automated tests on my application.  I have been able to interact with most of telerik controls, except RadAsyncUpload.

Currently I am unable to upload a file using WatiN.  I understand that telerik uses another testing platform, but I am looking to see if maybe someone in your team can help me figure out how to use WatiN to uplad a file via the RadAsynUpload control.

<telerik:RadAsyncUpload ID="upAttachment" runat="server" AllowedFileExtensions=".pdf,.jpg,.jpeg,.gif,.png,.bmp" TabIndex="9">    

<Localization Select="Select File" />

</telerik:RadAsyncUpload>


Cody
Telerik team
 answered on 29 Apr 2013
1 answer
71 views
Is there such a process for Test Studio feature requests?

I would like to submit that the Run-time have the configure browsers option like we see in the Project settings in the Test Studio IDE.

Thanks.
Boyan Boev
Telerik team
 answered on 29 Apr 2013
3 answers
187 views
We are testing an application that uses the Telerik.Windows.Controls.RadGridView registers.

I want to retrieve the values in the column headers.  Presumably I iterate through the gridview in some way getting the values.  I have tried a number of different methods with no luck.

In the tree I can see that there is a GridViewHeaderRow and within that a Selective Scrolling Grid.  Then below that is a DataCellsPresenter wiht a number of Grid View Cells in a panel - the text value of hte headers are within these GridViewCells.

I am struggling to work on the correct object in order to get the column header texts.  The objects I have attempted to use throw an error in the foreach statement to say that getenumerator has not been exposed.

Has anyone successfully iterated through a selective scrolling grid?

thanks


[CodedStep(

 

@"readHeaders")]

 

 

 

public void requisitionScreen_CodedStep()

 

{

 

 

// read through the grid

 

WpfApplication app = Manager.ActiveApplication;

Assert.IsNotNull(app);

 

Telerik.Windows.Controls.GridView.GridView grid = app.MainWindow.Find.ByName<Telerik.Windows.Controls.GridView.GridView>(

 

"GridView");

 

 

Telerik.Windows.Controls.GridViewHeaderRow row = grid.HeaderRow;

 

 

int index=row.HeaderCells.Count;

 

Log.WriteLine(

 

"count "+index.ToString());

 

 

 

 

for (int i=0;i<index;i++){

 

row.HeaderCells[i].ToString();

 

}

 

Plamen
Telerik team
 answered on 29 Apr 2013
4 answers
444 views
Hey there,

Let's say I have two sites...

http://shopping.mycompany.com/ - Shopping Site
http://admin.mycompany.com/ - Administers Shopping Site

And I have many environments...

http://devshopping.mycompany.com - Developer
http://uatshopping.mycompany.com - UAT
http://shopping.mycompany.com - Released

I want to schedule a test list on a remote machine for the DEV environment to run every night.
I want to schedule the same test list on the local machine for the RELEASE environment to run every night.

Obviously, I want to avoid copy pasting each test for each environment. I created a step to extract text from an input box (either dev, uat, or nothing) and run coded navigation steps. Thus, I must change a test step in this "Environment" test each time I want to run my tests in a different environment. The issue is that I can not simultaneously run my tests at night in multiple environments.

This sounds like a great job for the Base URL option. I'll create a test list for each build and set a different base URL each time. However, i'm experiencing an issue with Base URL.

The base URL for my dev test list is "http://dev" for example. I expect this to then append to "~shopping.mycompany.com" to create... "http://devshopping.mycompany.com". Instead, it attempts to navigate to "http://dev/shopping.mycompany.com", adding a slash.

Is there a way to get rid of that slash?
Rodney
Telerik team
 answered on 26 Apr 2013
3 answers
97 views
Does anyone know a way of exporting a test or a number of tests in order to create Test documentation.
I'm preferably looking for a way to create Test plans from an existing test in Microsoft Word format. I know rival products have this functionality.
Thanks.
Cody
Telerik team
 answered on 26 Apr 2013
4 answers
84 views
Exception thrown executing coded step: '[Test_Product_Overwiew_Complete_Check_Paging_Buttons_Enabled] : Check Paging Buttons disabled or enabled'.
InnerException:
When trying to get the selected value, i often (not always) get this error.
i used the selectedoption value and i run the the options collection. in both cases i often get this error

We are geting more and more frustrated!!

System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo, Object target)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.WebAii.Core.Browser.WaitUntilReady()
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
   at ArtOfTest.WebAii.Core.Actions.InvokeScript(String script)
   at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.InvokeScript(String script)
   at ArtOfTest.WebAii.ObjectModel.Element.GetValue[T](String propertyName, T defaultValue)
   at ArtOfTest.WebAii.ObjectModel.Element.GetValue[T](String propertyName)
   at ArtOfTest.WebAii.Controls.HtmlControls.HtmlOption.get_Selected()
   at _
Plamen
Telerik team
 answered on 26 Apr 2013
1 answer
104 views
Hi Telerik Team,

we have the following error in a Silverlight web application:

There was an error deserializing the object of type ArtOfTest.WebAii.Silverlight.SilverlightResponse. The token '"' was expected but found 'Ã'.

We need a hint, where we should look for to find the error.
I tested the Testxml like the hint in :http://www.telerik.com/automated-testing-tools/community/forums/test-studio/general-discussions/runtime---name-cannot-begin-with.aspx#2429462

But did not find an answer for my case, it seems everything is fine.
Do you have something information for me?

Best regards
Adriane
Plamen
Telerik team
 answered on 26 Apr 2013
1 answer
95 views
please provide code sample to access radmultipage and radpageview using test framework.
Mario
Telerik team
 answered on 25 Apr 2013
1 answer
83 views
Hi, I have a number of type-ahead fields within the application I am testing and test studio struggles with these. I am entering a value and using keypress "Tab" which should poulate a grid below. When doing this maually it works, however, the tab keypress step doesnt operate as it should if pressed manually.
Any advice?
Plamen
Telerik team
 answered on 25 Apr 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?