Telerik Forums
Test Studio Forum
1 answer
128 views
Hi,

I am attempting to pass a variable from a function in C# to my Javascript via InvokeScript, with the following code
String name = ".username";
Actions.InvokeScript("buildPath(name)");
however when I investigate the name variable on the javascript side, it is listed as an empty string. I've spent a good amount of time looking but have yet to see any hint that I am doing something wrong.

Any assistance would be highly appreciated.
Boyan Boev
Telerik team
 answered on 26 Feb 2013
5 answers
339 views
Hello,

Am creating a test which will insert records into a web portal using data provided in an excel file. Here is the sequence :
1. log in to the application
2. Search for the record
3. Click on update
loop
4. Insert record
end loop

End.Test
If runs alright on the first loop using the first record in the excel file. The problem is if it loops the second time, it uses the 1st record in the excel file which has already been inserted.
I want it to use the next record each time it loops

kindly asist pls
Boyan Boev
Telerik team
 answered on 25 Feb 2013
1 answer
95 views
Hi,
I am very new to this tool, just learned recording and verification. 
Could you please explain to me the steps to follow if I want to run my test case for multiple browsers?
For example,
I recorded my steps to log into my gmail from IE9. But now I want to log into gmail from firefox and Chrome and Opera using the same recording. Is it possible?

I would also like to know how I can log into multiple portals with the similar test case.
Your help will be really very appreciable.

Plamen
Telerik team
 answered on 21 Feb 2013
1 answer
72 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
92 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
146 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
111 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
162 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
121 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
921 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?