This is a migrated thread and some comments may be shown as answers.

TestStudio support for desktop application

3 Answers 193 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Palani
Top achievements
Rank 1
Palani asked on 07 Jul 2016, 05:24 PM

Hi All,

We have few desktop applications, which has developed using .NET technologies and Java as well. I tried recording script using Test Studio and it was rejected as the application is not WPF app.

Is there any way to automate these non-WPF based applications?

 

Thanks,

Palani

3 Answers, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 12 Jul 2016, 08:21 AM
Hello Palani,

Thank you for contacting us.

Test Studio supports only WPF base applications, unfortunately there is no way to automate a non WPF application.

Thank you for your understandings.

Regards,
Boyan Boev
Telerik by Progress
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Gift
Top achievements
Rank 1
answered on 04 Jul 2018, 04:41 AM

Good Day

i have run the web the test for testing studio but is failing with following error

Failure Information: 
~~~~~~~~~~~~~~~
Unable to locate element. Details: Attempting to find [Html] element using 
Find logic 
 (Html): [id 'Exact' ctl00_cntMain_gdvCompanyList_ctl02_imgARStatus] AND [tagname 'Exact' img]

Unable to locate element. Search failed!

Learn more about finding elements here:
http://docs.telerik.com/teststudio/troubleshooting-guide/test-execution-problems-tg/unable-to-locate-element
------------------------------------------------------------
'6/28/2018 5:25:34 AM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'6/28/2018 5:25:34 AM' - Overall Result: Fail
'6/28/2018 5:25:34 AM' - Duration: [0 min: 18 sec: 40 msec]
------------------------------------------------------------
'6/28/2018 5:25:35 AM' - Test completed!

0
Elena
Telerik team
answered on 04 Jul 2018, 01:38 PM
Hello Gift,

Thank you for reaching us out, 

As far as I could see from the shared failure details it seems the test wasn't able to log in to the application under test and expected the target element from the next page will not be available. Therefore you first need to ensure the login screen is successfully handled by the test - enter username and password, enter Captcha image information (which probably should be done manually), then click on Submit. 

You might need to include wait steps and/or execution delays to control the speed of execution, enable real user actions for the click and type steps if necessary (please see the screenshots attached). To be able to better see what might be going wrong during execution you could enable the annotations during the run (please see point 5. in this article) which will highlight the target element of each step and will ease you analyze what should be updated. 

In addition you could change the elements' find expressions if necessary - although the recorded expression from you current test seems to be a proper one which will uniquely identify the element. 

Also here you could find useful advice how to configure a Test Studio project so that you could maintain it seamlessly. 

I hope the above shared information will be helpful to you to adjust your test. 

Thank you for your cooperation in advance!

Regards,
Elena Tsvetkova
Progress Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Palani
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Gift
Top achievements
Rank 1
Elena
Telerik team
Share this question
or