I’m trying to test different Users using different cert to login an application. For example: user1 has certA, user2 has certB, ect….
When the Window Security dialog displays, I can see different certificates (certA, certB, ect…) that I can select. For example, I used User2 and selected certB and clicked the OK button. The Window Security dialog closes and then a Password dialog of my application displayed.
When I played back, it seemed to select the one in the first row; which is certA
When I looked at the step in this test, it displays the “Handle ‘Generic’ dialog”. I can’t seem to manipulate this line so that it can pick the correct certificate for my test. I even used the up and down keys on the keyboard when I re-record the step and it still didn’t work.
Could someone help?
I’m running stand-alone Test studio.
Thanks,
Mindy
<
d2p1:string
>C:\Users\David Adams\Documents\Visual Studio 2010\Projects\vergeautomationtools\vergeautomationtools\bin\Debug\vergeautomationtools.dll</
d2p1:string
>
from<
CurrentReferences
xmlns:d2p1
=
"http://schemas.microsoft.com/2003/10/Serialization/Arrays"
>
<
d2p1:string
>System</
d2p1:string
>
<
d2p1:string
>System.Core</
d2p1:string
>
<
d2p1:string
>ArtOfTest.WebAii, Version=2011.2.1506.0, Culture=neutral, PublicKeyToken=4fd5f65be123776c</
d2p1:string
>
<
d2p1:string
>ArtOfTest.WebAii.Design, Version=2011.2.1506.0, Culture=neutral, PublicKeyToken=4fc62bbc3827ab1d</
d2p1:string
>
<
d2p1:string
>Telerik.WebAii.Controls.Html, Version=2011.2.1506.0, Culture=neutral, PublicKeyToken=528163f3e645de45</
d2p1:string
>
<
d2p1:string
>Telerik.WebAii.Controls.Xaml, Version=2011.2.1506.0, Culture=neutral, PublicKeyToken=528163f3e645de45</
d2p1:string
>
<
d2p1:string
>Telerik.WebAii.Controls.Xaml.Wpf, Version=2011.2.1506.0, Culture=neutral, PublicKeyToken=528163f3e645de45</
d2p1:string
>
<
d2p1:string
>System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</
d2p1:string
>
:
:
:
<
d2p1:string
>C:\Users\David Adams\Documents\Visual Studio 2010\Projects\vergeautomationtools\vergeautomationtools\bin\Debug\vergeautomationtools.dll</
d2p1:string
>
</
CurrentReferences
>
C:\Users\David Adams\Documents\Visual Studio 2010\Projects\vergeautomationtools\vergeautomationtools\bin\Debug\vergeautomationtools.dll"
on the build server. I have come to find that there are security issues with that and that path still cannot be found when executing my test on the build server.Failure Information: ~~~~~~~~~~~~~~~
Timed out waiting '25000' msec. for download dialog to be handled.
InnerException:System.TimeoutException: Timed out waiting '25000' msec. for download dialog to be handled. at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.DownloadDialogHandlerDescriptor.Execute(Browser browser) at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.DialogHandlerDescriptor.Execute(IAutomationHost browser) at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)------------------------------------------------------------'6/5/2012 1:05:26 PM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.------------------------------------------------------------'6/5/2012 1:05:26 PM' - Overall Result: Fail'6/5/2012 1:05:26 PM' - Duration: [2 min: 17 sec: 274 msec]------------------------------------------------------------'6/5/2012 1:05:35 PM' - Test completed!
Hi Telerik Team,
In one of my test, I want to wait till the button gets disabled. So I am using the step as:
‘Wait for ‘btnSave’ is disabed’ and I have set the Wait timeout for the step to ‘120000’.
But surprisingly the step is failing without waiting for 2 minutes. Below is log extract for the failure.
I am expecting that if the button is enabled, the “Wait for 'btnSave' is disabled” step will wait till button gets disabled or till max Wait timeout which I have set to 2 minutes. Please let me know if I am using it correctly or do I need to modify the code.
Note: I have attached a screenshot for the step properties.
Thanks.
Log Extract:
'6/7/2012 2:26:22 PM' - 'Pass' : 24. Wait for ExistsNot 'Table'
‘6/7/2012 2:28:23 PM' - 'Fail' : 25. Wait for 'btnSave' is disabled
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Element enabled state didn't match expected value. Expected: False Actual: True
------------------------------------------------------------
'6/7/2012 2:28:23 PM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'6/7/2012 2:28:23 PM' - Overall Result: Fail
'6/7/2012 2:28:23 PM' - Duration: [2 min: 40 sec: 343 msec]
------------------------------------------------------------
------------------------------------------------------------
'6/7/2012 2:28:23 PM' - Overall Result: Fail
'6/7/2012 2:28:23 PM' - Duration: [2 min: 40 sec: 343 msec]