Telerik Forums
Test Studio Forum
1 answer
107 views
Hi

When I record WPF TEST. I noticed that no step was added to the test ,I do as follow link

thank you for you help
Boyan Boev
Telerik team
 answered on 21 Feb 2013
2 answers
128 views
Hi

I want to keep my browser window open after completion of test. Currently, Test Studio closes the browser windows as soon it is finished with the test. Also, I wan to verify the data I have entered in different fields of a form that whether correct data has been entered and saved in the respective field as supplied from a CSV file i.e. I want to use some checkpoints so How can I do the same also?
Plamen
Telerik team
 answered on 20 Feb 2013
4 answers
187 views
I am not able to get the row counts in the grid, I have tried the following code

    SilverlightApp app = ActiveBrowser.SilverlightApps()[0];  

    DataGrid grid = app.Find.ByName<DataGrid>("Root");  

    Log.WriteLine(T_Grid.RowElements.Count.ToString());

   
Got the following error,

 

Exception thrown executing coded step: '[SampleTest_CodedStep] : To Add WorkPapers'.InnerException:System.InvalidOperationException: Unable to find DataGrid rows container! Please override the .RowContainer property for custom DataGrid template. at ArtOfTest.WebAii.Silverlight.UI.DataGrid.get_RowElements() at TestProject1.SampleTest.SampleTest_CodedStep()

 

 

I have attached images which shows the table and also the DOM structure, Also let me know how to loop through each cells text block,Please reply as soon as possible

 

 

Boyan Boev
Telerik team
 answered on 20 Feb 2013
1 answer
158 views
Hi

I am using Telerik test studio for evaluating the same on one of my application using Telerik rad controls. Application is also using Telerik modal pop-up in almost every page of the application. Test studio records the actions performed over the modal pop-up but it is not able to playback the same in any manner.

Please let me know how modal pop-ups and there actions can be handled using Telerik test studio as this is the last pt. pending for the final evaluation of the tool over the application.

Thanks,

Arvind Dhiman
Boyan Boev
Telerik team
 answered on 20 Feb 2013
16 answers
249 views
I have been searching the internet and the only information on RadGridView's i can find with Test Studio are those that pertain to Silverlight.

I have a problem with a potentially pretty simple solution I just cant find a KB on it.

I have a RadGridView in my web app

In Code i need to bind that RadGridView, Iterate through the rows, Find the row where the third column cell equals the variable I have saved in my DataBinding ie
orderid.Equals(row.Cells[2].Text)


Then the column that has that orderid, I need to perform a click the first cell.

Problems I am running into is binding the RadGridView, the ID for it is "WideContent_DashboardGrid" 

Any help is much appreciated.
Tanu
Top achievements
Rank 1
 answered on 20 Feb 2013
5 answers
179 views
We have recently started to see how we might be able to utilize the load testing features, and we are running into some issues with our multifactor aspects on the webpage. It uses guids and cookies and when you capture that traffic it doesn't recognize(it doesn't pass the multifactor check) it when you play it back. So all the load tests just hit the login page , then the challenge page over and over, and don't ever reach the main site. Normal tests we are able to bypass it by running a database command to set the challenge code to a known code. We could put code to bypas our multifactor in order to test, but we really don't like that idea. What are some of the approaches that others have used to load test websites with multifactor.
Thanks
John
Cody
Telerik team
 answered on 19 Feb 2013
26 answers
1.0K+ views
Hello,
Sometimes I get "time out" error on execution test's step which was successfully performed (as I can see from screenshot and directly in browser)

Error log:
ArtOfTest.Common.Design.Exceptions.ExecutionException: Wait for condition has timed out ---> System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
   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.Click(Element targetElement)
   at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.Click()
   at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.Click(Boolean isClosing)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.ClickActionDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
   --- End of inner exception stack trace ---

Step:
Click 'BtnLoginSubmit'

How could I avoid this error?




Plamen
Telerik team
 answered on 19 Feb 2013
5 answers
311 views
Sorry new to all this automation so forgive my noobness.

I have bound a csv file to my test plan which contains first names, last names, phone numbers and email addresses.  There is approximately 300000 records in the csv.  I have since created a data driven test case which requires a first name be entered into a text field.  Our system does existence checks on names numbers and email so I would like to increment the data used each time I run the test so I do not repeat names numbers and email. 

Example:

Test 1 pulls first name from row 2 (row one is header)
Test 2 pulls first name from row 3
and so forth

Is there a way to do this. I would also be interested in just generating dummy data on the fly that gets entered in the fields. 
Carl
Top achievements
Rank 1
 answered on 19 Feb 2013
2 answers
117 views
In my test, i have to click on a submit button on a pop up window which closes the pop-up window. I noticed that the button is being clicked but for some reason, Test Studio is still searching to click the button. I modified the waitonstepinterval to 30,000 millisecs but that doesn't work either. I toggled the step to continue on failure and the next step continues successfully. It looks like the control is not being returned to the application under test. How do i fix that?
Cody
Telerik team
 answered on 18 Feb 2013
1 answer
160 views
Hello,

I would like to be able to create a test project that contains a number of common tests, such as logging into our server, logging out, etc.  I'm currently calling external test code like this:
ArtOfTest.WebAii.Design.Execution.RunHelper.Test(@"c:\TestProjectDir\InvalidDataInput.tstest", @"c:\TestProjectDir\bin\debug\TestProject.dll")

So far, this works.  However, I have a few questions I need answered before I can make the most out of this functionality.

1. Calling external test code launches the test in a new browser window.  Is there a way to make external test code act within the same browser as the test that called it?

2. Can arguments be passed to an external test?

Thanks!

Nikolai
Telerik team
 answered on 18 Feb 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?