Hi ppl,
I am currently evaluating the Test Studio including its VS plugin. The usability is very good and the element Mapping (WPF) is awesome. Everyone who has done WPF testing with the MS Framework knows what I am talking about...
However, I ran into some critical issues this morning:
Preconditions
Here is what I need to to:
1) Start IIS Server
2) Load a default Dataset XML into my MSSQL Server
3) Wait for the Process to be finished (Processmonitor)
4) Start my Application
5) Run my Tests
So, I need to ensure that steps 1) - 3) are executed BEFORE EACH test. In NUnit when writing Unittests I solved this problem simply by creating an abstract class, containing all preconditions. This also works using the MS UITesting Framework.
Test Studio always starts with step 4).
Is there...
....any possibility to execute code BEFORE EACH test using Test Studio (plugin)?
....any possibility to execute code BEFORE EACH test using only the pure framework?
This is crucial for my Application Tests, because if I do not reset the Database before a test runs again, it might fail because (for example) it tries to add an element to a list which is already in the list (unique attributes).
"Application"-class
When I am working in Visual Studio, it does not recognize the "Application"-class. It seems to only be available during run-time. So far so good, but how can I address a UI Element via C# code? (Writing "Application." [there is a dot] does not show me any suggestions, which seems absolutely logical, because Application is not recognized)
I don't need a complete tutorial here, but I would be very thankful for any link to a documentation about PURELY coded Tests using the Telerik Testframework.
Thank you a lot in advance!
Stephan
Recently TS start crashing after performance test has ben run and performance test results are been loading. Unexpected error is happening and that's all what i got. No additional info/log is provided, so I have no idea what to tell more to open the support ticket.
I'm running Windows Server 2998 R2, TS version 2015.2.723.0. Tests were ran on IE11 and Chrome 45.0.2454.99 m. Crashes on both as well. Fortunately, no data is lost, and after restarting TS i can get access to results.
Restarting the studio and opening the results takes a long time as well, the results may be loading about 20 minutes or more. Performance is very poor.
Any ideas how to solve this?
So I have something like this:
<div class="X">
<div class="pK">
<div class = "Z">
<i class="Target">
pK is what identifies the whole element, this is the only unique thing and I know it going in but that's all I know except that I want to click on i="Target", child of sibling of parent with div class="pK"
So...
Find.ByExpression("class=X", "with child of", "class=pK", "|", "class=Z", "|", "class=Target" )
I think that's where the piece I am missing would go. Or could I nest them web elements somehow?
Thanks,
Derek
Hello,
I have a couple of questions in regards to scheduling tests and I could not find the answers in other discussions.
I have 4 tests scheduled to run at 8, 9, 10 & 11. If a test starts to run at 8am but isn't finished at 9am, will the test abort and the test scheduled for 9am begin? Or, will it finish running the test and then start the 9am test right after that regardless of time?
Thanks,
Misty
Hi,
I am developing automation Test scripts for a Web Application.Here I need to click on Tab button after entering value in a textbox (HtmlInputText type) .But , I have tried to record the step,but failed.It is not recorded.Can you please guide me that what I need to do , for performing this above operation?Please give me updates , as it is very urgent.