Telerik Forums
Test Studio Forum
1 answer
146 views
I must be missing something - I need to update columns in my bound csv file with extracted variable data. It needs to be in the file, and not the log, so that it can be used for various reporting methods. Can this be done?
Cody
Telerik team
 answered on 07 Apr 2011
1 answer
86 views
Hello
I was wondering if there is any example of using the test studio to start and automate multiple browser simultaneously. I want to simulate large number of users and look at performances index.

I've been able to start n browsers from one manager object but then I'm stuck at sending information to each browsers. I can't seem to find the "page" object from my current browser. Before I "try and try".  perhaps you guys already have a "best practice" sample for me.

I looked into the forums without any luck.

Thanks
Louis
Cody
Telerik team
 answered on 07 Apr 2011
11 answers
125 views
When I try to view the videos on http://www.telerik.com/automated-testing-tools/support/videos/getting-started/webui-test-studio-qa-edition---creating-your-first-project.aspx, I receive the error, "Failed to open media."

What can I troubleshoot to resolved this?

Video failed to load in IE8 and Firefox 4.
Cody
Telerik team
 answered on 07 Apr 2011
3 answers
308 views
Hello Telerik Team,

I am using classic RadControls.  Can you please help me to provide some help on how to get the items count of the items in Radcombox with in the code.

I am trying the following code and getting error:
RadComboBox box = Find.ById<RadComboBox>("cboReqProviderID");

Exception thrown executing coded step: '[New_Test_CodedStep] : My test'.
InnerException:
System.NullReferenceException: Object reference not set to an instance of an object.

Can you please help me with the following:

1) Show in code how to get the items count of Radcombobox
2) Provide me with some documentation on how to debug code in WEBUI test studio QA edition
3) Log.WriteLine doesnot  write anything in the Log file.
Thanks,
Anju
Stoich
Telerik team
 answered on 07 Apr 2011
1 answer
96 views
Hello!
I am trying the Telerik QA Edition (trial) very much new at this. I recorded some tests. And every test includes some frame type elements. What I want is to change a property value for all frames. Like I want replace src, baseURL or friendly name of all frames with something else. In sort I want to change the frameinfo for all frames of my recorded test in one go. So is there any easy way to find and replace them in one go except changing each of them manually?

May be it's a very easy thing but I can't find it out.

Thanx for helping...
Anthony
Telerik team
 answered on 06 Apr 2011
6 answers
177 views

Hi,

Our team is evaluating WebUI Test studio QA Edition (Trial version, version: 2010.3.1421.0).

Now we are facing a problem during recording operations on Modal Popup. We have already gone through the thread How to handle modal popup dialogs?

As per above thread, a prompt should appear for non-modal popups which are also appearing in our end as expected. But for modal popup recording the operations are not recording which should be done automatically.

The scenario is straight forward: We have a link clicking on which a modal dialog appears (more specifically we are using ShowModal() function to open the modal popup).
However one of our colleagues able to record modal popup only once.

So are we missing anything? Do we need to do any extra configuration to enable modal popup recording?

Please respond asap.

Anthony
Telerik team
 answered on 06 Apr 2011
1 answer
245 views
I have some code that attempts to launch an IE browser. This code is integrated with NUnit and launched via TeamCity and the NUnit plugins they bundle with their continuous integration build solution. Launching a Firefox browser works fine.

System:
  • Windows 7
  • IE 8
  • WebAii 2010.3.1213.0

Things I have tried already:
  • ensured I am launching the 32bit version of IE8
  • no other IE add-ons are running
  • 'Allow active content to run in files on My Computer' is enabled
  • set TeamCity's NUnit plugins to always run as Admin
  • ensured the TeamCity login user is an Admin

Stacktrace:
Test(s) failed. 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.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
   at OrcaJSAutomation.When_running_qunit_art_of_test_browser_tests.GetTestReport(BrowserType browserToLaunch) in c:\QA\OrcaJSAutomation\OrcaJSAutomation\When_running_qunit_art_of_test_browser_tests.cs:line 86
   at OrcaJSAutomation.When_running_qunit_art_of_test_browser_tests.RunAndReport(BrowserType browserType) in c:\QA\OrcaJSAutomation\OrcaJSAutomation\When_running_qunit_art_of_test_browser_tests.cs:line 46
   at OrcaJSAutomation.When_running_qunit_art_of_test_browser_tests.Passes_qunit_internet_explorer_tests() in c:\QA\OrcaJSAutomation\OrcaJSAutomation\When_running_qunit_art_of_test_browser_tests.cs:line 41
------- Stdout: -------
[9:41 AM] - Using: ArtOfTest.Common, Version=2010.3.1213.0, Culture=neutral, PublicKeyToken=14a0200bfcbb7b62
[9:41 AM] - OS: Microsoft Windows NT 6.1.7601 Service Pack 1
[9:41 AM] - Locating ArtOfTest.Connector.dll
[9:41 AM] - Loading C:\Program Files (x86)\Telerik\WebAii Testing Framework 2010.3\Bin\ArtOfTest.Connector.dll
[9:41 AM] - Loading _HookProc@12
[9:41 AM] - Hooking window 56230192
[9:41 AM] - Starting up the .NET runtime
[9:41 AM] - ------- Function Start 'InternetExplorerActions.InjectCode' -------
[9:41 AM] - Connection string: C:\Windows\assembly\GAC_MSIL\ArtOfTest.InternetExplorer\2010.3.1213.0__5339893a7cefe4d6\ArtOfTest.InternetExplorer.dll?ArtOfTest.InternetExplorer.ArtOfTestPluginEntryPoint?11808
[9:41 AM] - Attempting to get document from window handle
[9:41 AM] - ------- Function End 'InternetExplorerActions.InjectCode' -------


Do you guys have any other suggestions on things I might try?

Thanks a lot!
Kevin
Stoich
Telerik team
 answered on 06 Apr 2011
5 answers
108 views
Hello,

I am using Classic Rad Controls for Asp.net. and trail version of WebUI test studio QA edition. I am trying to set the value of a RadDatePicker2 by extracting the value from RadDatePicker1.
When the test executes, I see the date being set but again it is cleared.


'03/29/2011 11:20:21 AM' - 'Pass' : 5. Extract textbox 'RadDatePickerSegStartDateDateInputTextBoxText' content into DataBindVariable $(SegmentDate).
'03/29/2011 11:20:21 AM' - 'Pass' : 6. Set 'RaddatepickerSegEndDateDateInputTextBoxText' text to '  /  /    ' - DataDriven: [$(SegmentDate)]

Can you please help me with this?

Thanks,
Anju
Pavel
Telerik team
 answered on 06 Apr 2011
2 answers
112 views
Hello,

Maybe I didnt look enough but I couldnt locate info on how to do a data driven test. Maybe my test does not require it and there is another way.

Here is the test condition.

I open a broswer, load my application. I click on "Load File"... which opens up a Windows "Open" window, where you can navigate to your C: drive and select a folder, then select an XML file that contains that data that will display my chart.

I am able to capture all the way to the point that I click on "Load File". How do i make my test use the xml file for continuing testing.

Do I add it to Data Source? Then what? How do I connect it to my test step itself.

Thanks,
QA.
QA
Top achievements
Rank 1
 answered on 05 Apr 2011
10 answers
224 views
I get this error:
LOG: Unexpected dialog encountered. Taking no action.

It works outside of the IF...ELSE.  Has anybody seen this?
Cody
Telerik team
 answered on 04 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?