ArtOfTest.Runner.exe Error absolute path information is required

0 Answers 52 Views
Coded Steps Test Execution Test Recording Test Results WPF Testing
Yeongseok
Top achievements
Rank 1
Iron
Iron
Yeongseok asked on 01 Dec 2023, 02:22 AM | edited on 01 Dec 2023, 04:43 AM

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.

 

 

Elena
Telerik team
commented on 01 Dec 2023, 10:03 AM

Hi Yeongseok, 

Please, share the exact command you use for the ArtOfTest.Runner.exe. The list option accepts full pathto the test list file to execute and this may be the cause of the error you see. 

Regards,
Elena

Yeongseok
Top achievements
Rank 1
Iron
Iron
commented on 04 Dec 2023, 05:44 AM | edited

These are all commands in the text.

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

 

https://youtu.be/4stSZAAOvQA

 

 

 

Elena
Telerik team
commented on 06 Dec 2023, 03:24 PM

Hi Yeongseok, 

Thank you for sharing the sample project.

I managed to reproduce the error only with the sample project you shared, but everything worked as expected with another project from my end. Anyways, I will continue working on that to find out what goes wrong. 

In the meantime you can use full path to the test list - I verified this and it worked fine for me. Please, give it a try and let me know if you still have any troubles.

Regards,
Elena

Yeongseok
Top achievements
Rank 1
Iron
Iron
commented on 06 Dec 2023, 10:58 PM

Did you add a coded step?
Please add a working sample
Elena
Telerik team
commented on 07 Dec 2023, 12:12 PM

Hi Yeongseok, 

I am sorry if I didn't explain my suggestion well.

What I'm saying is that the command for the Test Studio CLI runner you used to trigger the test list execution is not working as you expect it. And since I am able to reproduce the misbehavior I will continue investigating what might be going wrong. 

In the meantime you can run the test list from cmd using a command like this:

working folder> ArtOfTest.Runner.exe list="D:\<fullPathToTheProjectRoot>\TestLists\Delete_Test.aiilist"

 

I am using full path to the ArtOfTest.Runner.exe because it is not added as environmental variable on my end. 

I hope this example will be useful for you. 

Regards, 
Elena

Yeongseok
Top achievements
Rank 1
Iron
Iron
commented on 07 Dec 2023, 10:54 PM

It's working for the full path. Thank you.

Elena
Telerik team
commented on 08 Dec 2023, 08:22 AM

Hi Yeongseok, 

I am glad to know the execution runs fine now. Thank you for your cooperation!

No answers yet. Maybe you can help?

Tags
Coded Steps Test Execution Test Recording Test Results WPF Testing
Asked by
Yeongseok
Top achievements
Rank 1
Iron
Iron
Share this question
or