Side panel disappearing while recording the scripts.
We are facing some issues, some of them are: in our interface, there is a DataGrid with multiple rows. When this DataGrid passes a certain number "x" of rows (we haven't figured out the number yet), the TestStudio takes a long time to become "ready to record" and frequently identifies the wrong control. Another issue: Telerik recognizes controls that do not match the parameters inserted in the script as correct. For example, a "Quantity" field recognized in a "X" field as correct.
What is the criteria for the fields? What could be the reason for this failure to be recorded as correct in the script?
Thanks!
private void SearchText(string itemText)
{
m_RadComboBox.Text = itemText;
m_OwnerBrowser.Actions.InvokeScript($"(function() {{ $telerik.$(\"#{m_RadComboBox.ID}\").trigger(\"keyup\") }})()");
WaitForDropDownWithText(itemText);
m_RadComboBox.Refresh();
}
We use this code to trigger keyup event after setting the "Text" field of a RadComboBox and it does not seem to work with Google Chrome.
We are using version 2022.3.1201.2
When we type in the RadComboBox the list is filtered as expected, the searched item is found and we get the exception below:
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.
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