Telerik Forums
Test Studio Forum
3 answers
378 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
162 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
184 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
278 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
579 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
224 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
179 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
1 answer
128 views

Hi everyone,

I am newbie, and I am having trouble with syntax. I need help to figure out this step.

In my web application, I have two tables named ItemsTable1 and ItemsTable2. Each table has its own items listed under itself.

Some of these items have an image/icon in column #7 which means the particular item has "workplan" on it.

-If the item has "workplan"(icon in the column #7), I need to click anywhere in the row except the icon.

-My two table (ItemsTable1 and ItemsTable2) will stay on the left hand side and a new table will populate on the right hand side to show item's details.

-I will verify total amount is bigger than $0.00.

-If the item doesn't have icon in the column #7, then jump to next row.

-If tableTable1 doesn't have any item with workplan (icon in the column #7), then go to ItemsTable2 and check each row.

-If there is no item with workplan at all, fail the test with taking screenshot.

 


Elena
Telerik team
 answered on 04 May 2022
1 answer
123 views

Is it possible to perform bulk update for primary target? It looks like same element is not recognized by test with new version of the app, though element is exactly the same.

F.e.

/AppName/AppName_v1.2/WatermarkTextblock  vs /AppName/AppName_v1.3/WatermarkTextblock

manual update of individual element still assumes that test is re-recorded on new version of the app. Or maybe something else can be done to enable test to work between versions?

Plamen | Lead Technical Support
Telerik team
 answered on 27 Apr 2022
1 answer
128 views

I have attempted twice over the last week to the sales team, once to support, plus a phone call to request a demo of Test Studio.  I have checked my junk/clutter email folders, etc. but see nothing.  I'm trying to sell this product to my bosses and this is absolutely not helping.  Can I get a response please? 

Thanks,

adigleria  at cortexmed.com

Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 20 Apr 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?