Telerik Forums
Test Studio Forum
1 answer
243 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
106 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
110 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
219 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
106 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
99 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
178 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
2 answers
105 views
Hi

My test studio stopped running test lists recently. It advises to check the log:


[9:29 AM] - LogMessage: [9:29:31 AM] - WebUI Test Studio (version:2010.3.1421.0) started.
    ======  ======
    Title: Initiate log
    Message:
    Title: Initiate InternalManager
    Message: Trying to Validate License
    Title: Requesting EVT
    Message: EVTP
    Title: Requesting Validation
    Message: ILMValidate
    Title: ILMValidate action
    Message: Set PC
    Title: ILMValidate action
    Message: Check for VL
    Title: Requesting Validation
    Message: ILMValidate True
    Title: Requesting Validation
    Message: ILMValidate True NotTrial
    [9:29 AM] - LogMessage: [9:29:43 AM] - Active Project is : 'TestProject2'
    [9:29 AM] - LogMessage: [9:29:43 AM] - Project 'TestProject2' Ready.

I also get "Compile failed:: Error CS2008: No inputs specified" in the execution(test runner) window

Is this a known error?
Why would it stop running the lists that were running before? The tests run perfectly one buy one.

Thanks a lot for your help

Best wishes
Helen
Olena
Top achievements
Rank 1
 answered on 31 Mar 2011
2 answers
115 views

Hi

i have a case that tries to verify if a cell is hidden but the verification step says that it is visible even thou IE8 do not render the cell

the table code is as follows.

<table style="empty-cells: hide">
<tr>
<td aut="cell1">some text so this cell is visible</td>
<td aut="cell2"></td>
</tr>
</table>

is there a way to detect that cell2 is hidden and not wrongly detected as "visible" ?

Regards

Ben

Benjamin
Top achievements
Rank 1
 answered on 31 Mar 2011
13 answers
280 views
Does the ELSE need to used?
In the IF part, does the verify that gets attached to the IF need to be set as wait Verify?
Can you change the verify to Wait Verify after it is pulled in to the IF?

I keep getting triangles on the IF THEN step, why?
I do not have any of the steps set to continue on fail.
The test runs through to the end and I get triangles on all steps, why?
Everything looks good during execution.

It seem to me in general that any test can have only so many triangles.
Once it hit a certain amount of triangles, the whole thing is triangles.

Anthony
Telerik team
 answered on 30 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?