Telerik Forums
Test Studio Forum
0 answers
135 views

OS : Windows11

Telerik 버전 : 2023.3.1011.1

Test Target : WPF

 

I implemented deleting values with keyboard using Test Studio.
There is no problem if you run it with Test Studio.


> ArtOfTest.Runner.exe list=.\TestLists\Delete.aiilist
Compile Successful:
Executing test: 'Delete_StartDate'
Overall Result: Fail
Result saved with path: '.\Results\Delete 133458704024418978.aiiresult'

You can check the video at the following link.

Issue Video

 

I created some example code for you.

 

 

 

 

0 answers
124 views

OS : Windows11

Telerik 버전 : 2023.3.1011.1

Test Target : WPF

I implemented deleting values with keyboard using Test Studio.
There is no problem if you run it with Test Studio.

 

However, when I run Testlist with ArtOfTest.Runner.exe I get the following error:


> ArtOfTest.Runner.exe list=.\TestLists\Delete.aiilist
Compile Successful:
Executing test: 'Delete_StartDate'
Overall Result: Fail
Result saved with path: '.\Results\Delete 133458704024418978.aiiresult'

 

I think ArtOfTest.Runner.exe can't find the C# code.

 

 

Yeongseok
Top achievements
Rank 1
Iron
Iron
 updated question on 01 Dec 2023
1 answer
166 views

I use telerik test studio Runtime Edition. Can't it run in non-interactive mode on a regular PC??

OS : Windows 10

CI/CD : Gitlab Runner

 

 

Elena
Telerik team
 answered on 28 Nov 2023
0 answers
157 views

I have a Get query that when I run in Postman with the correct security token, returns:

(*** is redacted)

Get https://***/?q=SELECT Id, Portfolio_Status__c, Open_for_Submissions__c FROM Teaching_Portfolio__c WHERE id = '***'

"totalSize"1,
    "done"true,
    "records": [
        {
            "attributes": {
                "type""Teaching_Portfolio__c",
                "url""***"
            },
            "Id""***",
            "Portfolio_Status__c""Invitation Sent",
            "Open_for_Submissions__c""Yes"
        }
    ]

 

I am currently designing a test in Test Studio that will check to see if "Open for Submissions__C" is Yes or No. 

If No, I will run a Patch API Call that changes the value to Yes, and then a Get to verify that the data has been changed. 

If Yes, Test Passed.

Question 1 - I started with an If statement in Test Studio, but the API call I wrote does not appear in the drop down menu as a verification option. Should I instead just have my test run an API Test, and put the If/Then statement in the API test? 

Question 2 - I am having a hard time recreating the API call within Test Studio. For my first step I made an HTTP Request with the above Get call, the security token as Authorization in the body tab, and in the Verification Tab - Source:Body,  is equal to 'Yes'

I do not know what to put in the JSONPath to find that Yes or No value from my API Call. Overall I'm not sure this is the best way to get the information I want. Should I be using a Verification API test instead of HTTP? 

Any help is much appreciated, I'm a bit lost.  

Brian
Top achievements
Rank 1
 asked on 25 Nov 2023
2 answers
489 views

I’m evaluating Test Studio internally at the moment for a WPF application we are writing. Given that I have full control over the WPF App and can make any changes I need; are there any best practices I can implement in WPF to facilitate Test Studio when it is recording testing steps? 

e.g. Control Names, a helper package for exposing the WPF structure to Test Studio?

Any suggestions on what I can do to make the generated steps more readable would be greatly appreciated.

Thanks,
Richard

Elena
Telerik team
 answered on 22 Nov 2023
2 answers
285 views

In a WPF test, how do I wait for a button that is disabled due to an async save in progress to complete and become enabled before continuing the next step in the test? 

Thanks,
Richard

Elena
Telerik team
 answered on 22 Nov 2023
1 answer
142 views

Hello,

I'm automating some components of a web page that's part of an application.  When I navigate to this page, however, I'm not able to see the DOM tree.

Is there a setting in Telerik that I need to configure (or re-configure)?

Thank you for your help.

Alexander
Telerik team
 answered on 15 Nov 2023
1 answer
191 views

It seems like you've created a test project targeting .NET Framework 4.8 using xUnit in Visual Studio 2022, and the tests run successfully within the IDE, but you encounter errors when using dotnet test command.


> dotnet test

D:\Workspace\Project\DataManager_Repositories\DM-Foundry\Test_Client\Foundry\Foundry.csproj(145,3): error MSB4019: Imported project "C:\ProgramFiles\dotnet\sdk\7.0.400\Telerik\WebUITestStudio\Telerik .WebUITestStudio.targets" not found. Make sure the expression in the import declaration "C:\Program Files\dotnet\sdk\7.0.400\\Telerik\WebUITestStudio\Telerik.WebUITestStudio.targets" is correct and the file exists on disk.

Elena
Telerik team
 answered on 15 Nov 2023
1 answer
130 views
I'd like to create an automated test which requires either dragging and dropping a local file, or opening Windows Explorer and choosing a local file.
Can this be done in Test Studio?
Elena
Telerik team
 answered on 08 Nov 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
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?