Telerik Forums
Test Studio Forum
0 answers
114 views

Side panel disappearing while recording the scripts.

 

 

Brijesh
Top achievements
Rank 1
 asked on 15 Feb 2023
1 answer
138 views

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!

Tsvetko
Telerik team
 answered on 14 Feb 2023
1 answer
196 views

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:


Shtilianov
Telerik team
 answered on 13 Feb 2023
0 answers
150 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
167 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.4K+ 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
157 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
159 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

1 answer
147 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
116 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?