3 Answers, 1 is accepted
0
Hello Elena,
Yes, you can simply copy some steps from one test and paste it in another.
Note that the steps should be logically connected (i.e. the test will fail if the first step is navigating to bing.com and the second verifies something on google.com).
Hope this helps.
Regards,
Boyan Boev
Telerik
Yes, you can simply copy some steps from one test and paste it in another.
Note that the steps should be logically connected (i.e. the test will fail if the first step is navigating to bing.com and the second verifies something on google.com).
Hope this helps.
Regards,
Boyan Boev
Telerik
0
Elena
Top achievements
Rank 1
answered on 15 Apr 2014, 05:09 AM
I worked in trial- version.
It did just that in the test. Moreover, trying to perform the same action twice (in the figure). When you replay a mistake (see screen).
After some time, the test terminates with an error.
Log:
«'11.04.2014 12:38:23' -
Overall Result: Fail'11.04.2014 12:38:23' - Duration: [1 min: 4 sec: 126
msec]------------------------------------------------------------<<<
Test-as-Step 'Test_Facility_small\OC_.tstest' log
ends.InnerException:System.TimeoutException: Wait for condition has timed
out at
ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo,
Object target) at
ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean
invertCondition, Int32 timeout, WaitResultType errorResultType) at ArtOfTest.Common.WaitSync.For[T](Predicate`1
predicate, T target, Boolean invertCondition, Int32 timeout) at
ArtOfTest.WebAii.Silverlight.VisualWait.ForVisible(Int32 timeout) at
ArtOfTest.WebAii.Silverlight.VisualWait.ForNoMotion(Int32 initialWait, Int32
motionCheckInterval, Int32 timeout) at
ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForNoMotionIfNeeded(AutomationDescriptor
descriptor, Int32 timeout) at
ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForAllElements(IAutomationHost
host, AutomationDescriptor descriptor, Int32 timeout) at
ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32
order)------------------------------------------------------------'11.04.2014
12:38:23' - Detected a failure. Step is marked 'ContinueOnFailure=False'
aborting test
execution.------------------------------------------------------------'11.04.2014
12:38:23' - Overall Result: Fail'11.04.2014 12:38:23' - Duration: [2 min: 49
sec: 207 msec]
».
It did just that in the test. Moreover, trying to perform the same action twice (in the figure). When you replay a mistake (see screen).
After some time, the test terminates with an error.
Log:
«'11.04.2014 12:38:23' -
Overall Result: Fail'11.04.2014 12:38:23' - Duration: [1 min: 4 sec: 126
msec]------------------------------------------------------------<<<
Test-as-Step 'Test_Facility_small\OC_.tstest' log
ends.InnerException:System.TimeoutException: Wait for condition has timed
out at
ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo,
Object target) at
ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean
invertCondition, Int32 timeout, WaitResultType errorResultType) at ArtOfTest.Common.WaitSync.For[T](Predicate`1
predicate, T target, Boolean invertCondition, Int32 timeout) at
ArtOfTest.WebAii.Silverlight.VisualWait.ForVisible(Int32 timeout) at
ArtOfTest.WebAii.Silverlight.VisualWait.ForNoMotion(Int32 initialWait, Int32
motionCheckInterval, Int32 timeout) at
ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForNoMotionIfNeeded(AutomationDescriptor
descriptor, Int32 timeout) at
ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForAllElements(IAutomationHost
host, AutomationDescriptor descriptor, Int32 timeout) at
ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32
order)------------------------------------------------------------'11.04.2014
12:38:23' - Detected a failure. Step is marked 'ContinueOnFailure=False'
aborting test
execution.------------------------------------------------------------'11.04.2014
12:38:23' - Overall Result: Fail'11.04.2014 12:38:23' - Duration: [2 min: 49
sec: 207 msec]
».
0
Hello Elena,
Thank you for the clarification.
Please delete the third step and add the test again from the button test as step. What happens?
Please record a short video how exactly you reproduce this behavior. Jing is great for this.
Looking forward to hearing from you.
Regards,
Boyan Boev
Telerik
Thank you for the clarification.
Please delete the third step and add the test again from the button test as step. What happens?
Please record a short video how exactly you reproduce this behavior. Jing is great for this.
Looking forward to hearing from you.
Regards,
Boyan Boev
Telerik