Telerik Forums
Test Studio Forum
3 answers
320 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
113 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
190 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
262 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
122 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
130 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
241 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
2 answers
120 views
Hi,

I cant seem to get WebUI Test Studio to record rightclicks. I have teleriks grids with rightclick-contextmenus in the application I am evaluating WebUI against.

Is there any way to record these kinds of steps?

Thank you.

/Joppen
QA
Top achievements
Rank 1
 answered on 04 Apr 2011
3 answers
122 views
I am using the trial version of WebUI and the application that I test uses quite a bit of vb.net.  So far, I have not been able to access the msgbox type dialog boxes.  When I click on the msgbox, that action is not recorded as a step, when I use the hover over highlighting it does not access that element and when I use the different dialogs listed under "Handlers" button this did not work either. . When I added the Alert type dialog and selected the “NO” option for the HandleButton, I get a message from the WebUI application saying that “Alert dialog can only be dismissed using an OK or CLOSE button”.

 

Another issue that I am having is being able to access calendar date pickers written in vb.

Any help with these scenarios would be appreciated.
Cody
Telerik team
 answered on 02 Apr 2011
6 answers
204 views
Hi,
 I have recorded a test and have more than 20 steps. I have few verification points and many times validations are gone for failure due to timeout issue.. How can I set timeout option properly after clicking a link or button in popup or dialogbox?

I'm using the internal build 2010.2.927

Thanks,
Palani.
mrngo
Top achievements
Rank 1
 answered on 01 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?