Telerik Forums
Test Studio Forum
1 answer
84 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
139 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
93 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
838 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
173 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
57 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
94 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
1 answer
401 views
How to Set and Get values for text boxes, check boxes, radio buttons and  Labels...

Scenario 01:-
 Need to ask very basic question. Assume in my web page there are Text boxes,Check boxes, Radio buttons and  Labels. In my code level I need to Set some values to these components. Refer the following example. I am using TestStudio Project and hope to implement code in the ''New Coded Step'' area. Please guide through code how to SET values to following fields. I do not need a Enumeration examples.
  ex: -
     TextBoxA = 'Obama'
     TextBoxB = 'Sanath'
     TextBoxC = 'Mike'   
     RadioButtonA = true
     CheckBoxA = true
     LableA = 'This is February'

Scenario 02:-
I need to GET values of above components which user is inserted.Consider this is as a different case. I am using TestStudio Project and hope to implement code in the ''New Coded Step'' area. Please guide through code how to GET values to following fields. I do not need a Enumeration examples. Please refer attached screenshot. That is the form which I need to GET values..


 
Boyan Boev
Telerik team
 answered on 15 Feb 2013
3 answers
92 views
Using http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/code-samples/html/dynamic-grid.aspx i tried to automate a grid with code

HtmlTableRow containerRow =

 

null;

 

foreach

 

 

(HtmlTableRow r in Pages.EndpointClinicalPulse.LandingPageTable.AllRows)

 

{

 

 

foreach(HtmlTableCell c in r.Cells)

 

{

Log.WriteLine(

 

"Cell Found.TextContent:"+c.InnerText);

 

 

 

if(c.InnerText.Equals("Messaging_Test_Study"))

 

{

containerRow = c.Parent<HtmlTableRow>();

}

}

}

HtmlTableCell cbutton = containerRow.Cells[

 

6];

 

Log.WriteLine(cbutton.InnerText);

cbutton.ScrollToVisible();

cbutton.Click();

Issue is...cells[6] is in another table. Grid is like as shown

A B C D E F button
A1 B1 C1 D1 E1 F1 button
A2 B2 C2 D2 E2 F2 button

above is a grid which contains a table. Also "button" is further in another table

 

 

I am able to read the content of cells[6](ie text "button" is getting printed in log) but unable to click the button in cells[6]

 

Plamen
Telerik team
 answered on 14 Feb 2013
10 answers
213 views
Hi Telerik Team,

I have implemented an automated test ready, that AutomationID used to find UI elements. The test was always successful. I have the new version of Telerik test studio instaled.And now, these UI elements based on the AutomationIDs can no longer be found ( see figure). The neu Version is the Latest internal builds (2012.2.1317i). What is the Solution? can u help me please.

Thanks & Greetings
Mostafa
Boyan Boev
Telerik team
 answered on 13 Feb 2013
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?