Telerik Forums
Test Studio Forum
0 answers
196 views

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.

Todd
Top achievements
Rank 1
Iron
 asked on 27 Jan 2023
1 answer
200 views

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

Elena
Telerik team
 answered on 16 Jan 2023
2 answers
1.5K+ views

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

Elena
Telerik team
 answered on 16 Jan 2023
1 answer
180 views
Has anyone seen this error?  What has been the issue or remediation on it? (Have you contacted support and what did they say?).

Fred Zimmerman
Lead Test Automation Engineer
Owens & Minor
Elena
Telerik team
 answered on 16 Jan 2023
2 answers
199 views

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

Stoyan
Telerik team
 answered on 12 Jan 2023
1 answer
180 views

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

Elena
Telerik team
 answered on 11 Jan 2023
0 answers
144 views

How do I fix it?

The only unusual thing I did was re-boot my testing server (desktop pc)

Jim
Top achievements
Rank 1
Iron
 updated question on 08 Dec 2022
1 answer
701 views

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

Elena
Telerik team
 answered on 05 Dec 2022
1 answer
179 views

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 :) 

Plamen | Lead Technical Support
Telerik team
 answered on 30 Nov 2022
1 answer
203 views

Hi Everyone,

I had installed previous version of test studio and then updated to its latest version 2022.3.1013.2 but after updating to its latest version when i am trying to add Microsoft.Office.Interop.Excel.dll through script tab of settings dialog in test studio, it's not reflecting/adding in reference.

Please let me know if anyone faced same issue or you know any resolution to fix this issue.

Plamen | Lead Technical Support
Telerik team
 answered on 22 Nov 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?