This is a migrated thread and some comments may be shown as answers.

Build one big test from others

3 Answers 9 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Elena
Top achievements
Rank 1
Elena asked on 11 Apr 2014, 09:09 AM
I want build one big test from others.
Can I insert some block from one test into another .

3 Answers, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 11 Apr 2014, 01:00 PM
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
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
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]

».
0
Boyan Boev
Telerik team
answered on 16 Apr 2014, 07:52 AM
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
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Elena
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Elena
Top achievements
Rank 1
Share this question
or