Telerik Forums
Test Studio Forum
1 answer
67 views
I have 2 login test that are identical, the difference being the credentials used (internal vs external user). I will eventually data drive but for now I am hardcoding the credentials. The problem I am facing is when I update the credentials for one test, the credentials for the other gets updated as well. How do I make my updates applicable to just one test?
JR
Top achievements
Rank 1
Iron
 answered on 22 Feb 2023
0 answers
85 views
I am a Progress employee, in ADP:OpenEdge. I am using the API test studio to create some load tests. I need a license to keep operating. My trial is just about up.
Cameron David
Top achievements
Rank 1
 asked on 20 Feb 2023
1 answer
83 views

I have a scenario where I need to verify data based on timezone selected. For eg:

1) If the timezoneId: 'Europe/Athens' then show Label "A"

2) If the timezoneId: 'Europe/London' then show Label "B"

So let me know how I can change timezoneid from Test Studio itself to verify correct label.

Elena
Telerik team
 answered on 17 Feb 2023
1 answer
119 views
Hi! My team and I are testing our interface in Test Studio through execution engine in the command prompt . Currently, we have a question and we wanted to know if there's a way to change the test executable through the command line. 
We wanted to change some existing parameters in our interface. For example, our_program.exe -testmode
It would be very useful for us if we could do something like this.
We are also having some issues with controls switching places frequently. Suddenly, our test script breaks and the script begins to recognize other controls. Is there an update that fixes this?
Thank you!
Tsvetko
Telerik team
 answered on 15 Feb 2023
0 answers
86 views

Side panel disappearing while recording the scripts.

 

 

Brijesh
Top achievements
Rank 1
 asked on 15 Feb 2023
1 answer
107 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
148 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
122 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
137 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.1K+ 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?