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
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 ?
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.
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.
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.
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
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?
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