Telerik Forums
Test Studio Forum
1 answer
254 views

When I try and navigate away from a particular page on my site I get the following error as it thinks I have made a change but haven't;

"Leave site?

Changes that you made may not be saved."

2 options (buttons) "Leave" and "Cancel"

I want to click "Leave" but Test Studio does allow me to identify the leave button.

Any ideas how I get around this?

Thanks

Adrian

Elena
Telerik team
 answered on 07 Jun 2022
1 answer
145 views
I have already compiled my tests, and all the binaries are in an out_binaries directory, along with the test scripts which were copied to the the output directory during the build.  Is there a way I can run the runner without it also compiling?  I have a program that uses the calling executable to get a path for some directories, but when ArtOfTest.Runner compiles, it creates another bin directory below the directory I am running in, so my pathing fails. 
Elena
Telerik team
 answered on 31 May 2022
1 answer
669 views

Hi here,
Running the test list on Remote VMs & its failing, the message 'SendInput: Failed. Win32Error:' is shown as result !

Is there any way to fix the issue ?

Elena
Telerik team
 answered on 27 May 2022
3 answers
340 views

Hi,

Click() event do not work when test is runned on scheduler or when i minimize the remote desktop window(where the connection to the machine with test studio is).

If i'm leaving the window open and i run the test, everything works smooth.

I've enabled SimulateRealClick, still no changes.

The errors at log is next:

System.ComponentModel.Win32Exception (0x80004005): SendInput: Failed. Win32Error: 
   at ArtOfTest.WebAii.Win32.Win32NativeMethods.SendInputInternal(Input[] inputData)
   at ArtOfTest.WebAii.Win32.Mouse.Click(MouseClickType clickType, Int32 x, Int32 y, Int32 wheelDelta)
   at ArtOfTest.WebAii.Win32.Mouse.Click(MouseClickType clickType, Int32 x, Int32 y, Int32 wheelDelta)
   at ArtOfTest.WebAii.Win32.Mouse.Click(MouseClickType clickType, Point pointToClick)
   at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.MouseClick()
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.ClickActionDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)

 

 

PLEASE help.

Elena
Telerik team
 answered on 27 May 2022
1 answer
124 views

I am using WPF application and facing issue when i run tests in the test list.
If I run the tests individually, the tests are running successfully and result is pass.
when I add them in the testlist and run, it is failing particularly on one step on exporting the audit report.


In our application, there is an option to export Audit report.
When i click export audit report, it opens Report viewer window, in that there will be a save dropdown button. Clicking on save button it give 2 options to select CSV or PDF. the teststudio tool is failing to open the save button dropdown.

I am using this code in the multiple tests. same piece of code is running successfully in one test but it is failing on other tests.

I have attached Screenshot and Test log.

 

Elena
Telerik team
 answered on 26 May 2022
1 answer
143 views

Currently condition steps only allow choices of verifications or extractions.  It would be nice to be able to use a data binding as a condition. 

 

Elena
Telerik team
 answered on 25 May 2022
3 answers
217 views

Hi guys, 

Is it possible to export a list ofthe testcases you made for a particular project? 
Listing the sub folder, testcases and the test steps within them?

Per example:
Project New customer

    Login  (sub folder)
        Login w correct Uname and Pword     (testcase1)
             Navigate to www.xxxxxx.com                (test step)
             Enter bob as Username in TbxUname  (test step)
             Enter marley as Pword in TbxPword     (test step)
             Click submit button to login                   (test step)

        Login w incorrect Uname and Pword   (testcase2)
      
So I can export file and share with team in stead of them having to login to Test Studio and checking out the test cases and steps.

Thanks in advance
 

John
Top achievements
Rank 1
Iron
 updated answer on 24 May 2022
2 answers
530 views

I am testing a WPF application that needs to open after services are started.  I have written another application that starts the services and then the WPF application (application under test) and I used this launcher as my startup application.  The problem is, that my tests fail because the WPF MainWindow window is yet available.  Does this WPF MainWindow need to be a child of the startup application?  Is there a way to make the test application wait for the MainWindow to launch?   

The reason why I am doing it this way, is that I need to restart the services and application after each test, and not just the wpf test.  Any suggestions?

 

 

Emma
Top achievements
Rank 1
Iron
 answered on 19 May 2022
0 answers
173 views

HI,

I have data binded an excel spreadsheet with a field called 'URL'.  It contains completely different URL's to the Base URL set for the project.

When I run a step 'Navigate to : " - DataDriven: [$(URL)]" it still takes me to the Base URL set for the project.

I don't want to remove the Base URL for the project as all tests rely on this.

How do I resolve this?

Cheers

 

 

Adrian
Top achievements
Rank 2
Iron
Iron
Iron
 asked on 12 May 2022
0 answers
128 views
Basically as the title states, I haven't recorded tests for a month or two, and I came back and noticed test studio had to be updated. I updated the software and when I loaded my application, certain buttons were no longer picked up by the recorder. I had encountered this issue about 10 months ago but I simply used an older version to fix that issue. I tried installing that same version today but I could not. Any assistance with this would be greatly appreciated.
Daniel
Top achievements
Rank 1
Iron
Iron
 asked on 11 May 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?