Is there a way in a coded step to accomplish the ELSE clause below?
LOOP (10) Times
IF element not present
Refresh to see if element becomes present
ELSE
Coded step to set for iteration to max so no more loops occur (or break out through other means without erroring)
Is there a way with a coded step to accomplish the ELSE clause above? I would like to fast-forward the LOOP iteration to the end by overriding the current iteration value with 10 once the element exists? Because of the required refresh, I can't just wait for it to exist.
I have workable solutions with both LOOP and WHILE, but both have drawbacks. The FOR doesn't require coded steps (only a simple coded step if the above ELSE is possible) but fills the log with iterations that don't do anything. The WHILE stops once my condition is met and doesn't do the excessive logging but requires far more complicated coded steps. This approach would be hard for me to teach to our test writers who, for the most part, are not code developers.
Thank you.
We have a test developer experiencing an issue where step descriptions are staying static. For example, if a test is recorded that clicks the element "Button A", the step description is "Click on Button A" but if the primary target is changed to "Button B", the description remains "Button A". This seems to be happening for any changes made. Changing to data-driven, for example, doesn't update the step description to show it is data-driven. Renaming an element doesn't update the step description to the new name. Etc.
I sat with this developer and saw this happen with a brand new step, so the problem is not that she had previously customized the description and that stopped the updating.
Any thoughts on why she might be seeing this behavior? Perhaps there is a setting somewhere that was mistakenly changed?
Thank you.
Hello guys,
I didn't found any documentation how to change the Base URL externally in a continous integration process alias:
We want to run our test on different enviroments depending on our Azure Devops Build (Develop, Test / QA, Production).
Is there a way to achieve this behaivor?
I hope you can help me out! Many thanks in advance.
Best regards,
Louis Mehring
Hey guys,
we currently want to achieve that screenshots of failed tests/test steps will be provided in the test results in Azure DevOps pipeline. Is there possible way to achieve this?
Part of our yaml code if needed:
jobs: - job: Test displayName: Testing Application steps: - task: CmdLine@2 inputs: script: | "C:\Program Files (x86)\Progress\Test Studio\Bin\ArtOfTest.Runner.exe" list="$(Build.Repository.LocalPath)\$(testList)" junit out=$(Common.TestResultsDirectory) continueOnError: true condition: ne(variables.testList, '') - task: PublishTestResults@2 inputs: testResultsFormat: 'JUnit' testResultsFiles: '$(Common.TestResultsDirectory)\**.xml' failTaskOnFailedTests: true testRunTitle: 'Acceptance Test' publishRunAttachments: true condition: ne(variables.testList, '')
Thanks and regards,
Daniel
Hey guys,
currently we're trying to integrate our tests in azure devops pipeline. We want to achieve that the testlist we're running will stop on failure. How can we do that?
I've found the documentation here but it only describes the solution for the desktop application. Not if we want to achieve this behavior in Visual Studio or in Azure Devops pipeline.
Thanks and regards,
Daniel
Hey guys,
we facing a problem while setting up our continious integration test using Azure Devops & Test Studio (ArtofTestRunner).
Since we are using mouse events to navigate through the website to test our UI, our testserver screen needs to be unlocked the whole time during the tests, correct? There is no other option (Link here)?
Since it's a virtual machine this isn't possible without connecting via remote session before every build which isnt really practical.
I hope you guys can help us out setting up a test enviroment which works
Best regards,
Daniel
How do I fix it?
The only unusual thing I did was re-boot my testing server (desktop pc)
So I'm trying out Test Studio and it's very nice.
Super easy to create web tests for my Blazor application and apply various checks/validations etc.
But when I checked out the load testing it seems like it is an HTTP load testing tool similar to JMeter where it only makes HTTP calls to the application. I created the profile from my web test which appears to have captured all HTTP traffic.
But Blazor is using SignalR so I'm wondering if I can truly load test my Blazor application using Test Studio?
Thanks,
Ed
Hi
I am trying to make a simple website login test. Everything works fine, but when I am trying to untick SimulateRealTyping it's entering login so quick it disappears and selects 'log in' button straightaway so I am ending up with blank 'login' slot and full 'password' slot on the website?
Hope it makes sense? Sorry, English isn't my native language.
Any help appreciated :)