Telerik Forums
Test Studio Forum
1 answer
85 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
83 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
137 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
357 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
100 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
81 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
55 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
54 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 Mitrev
Telerik team
 answered on 27 Apr 2022
1 answer
64 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
2 answers
527 views

Hello Telerik Team,

 

Some time ago my test lists started failing with no steps being executed at all (0 test steps performed in each script). This only happens in headless mode and everything was working all right until the end of last year. The same tests executed in Chrome (browser) mode is finished correctly.

I've already tried creating a new test list, updating the .net framework and redownloading the repository with the tests, but to no avail. Do you know what might be the culprit here? I can provide more information if necessary.

 

Best regards,

Tomasz

 

Error:

------------------------------------------------------------
'2/28/2022 2:04:17 PM' - Executing test: 'DWOO - Functionality in the Members resources grid(ChromeHeadless)', path: 'Production\DWOO - UI regression\DWOO - Functionality in the Members resources grid.tstest.'
'2/28/2022 2:04:17 PM' - Using .Net Runtime version: '4.0.30319.42000' for test execution. Build version is '2022.1.215.0'.
'2/28/2022 2:04:17 PM' - Starting execution....
'2/28/2022 2:04:18 PM' - Failure detected during execution. Details:
------------------------------------------------------------
'2/28/2022 2:04:18 PM' - System.ServiceModel.FaultException: The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.

Server stack trace: 
   at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
   at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Telerik.TestingFramework.Hosts.Common.IBrowserLauncher.LaunchBrowser(ILauncherOptions launchOptions)
   at ArtOfTest.WebAii.Messaging.Process.HostsProxy.LaunchBrowser(ILauncherOptions launcherOptions)
   at ArtOfTest.WebAii.BrowserSpecialized.Chrome.ChromeActions.LaunchCDPManagedBrowser(String startUrl, BrowserType browserType, Boolean windowVisible)
   at ArtOfTest.WebAii.BrowserSpecialized.Chrome.ChromeActions.LaunchNewCDPManagedBrowser(Manager manager, Boolean windowVisible)
   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InitializeWeb(ExecutionEngineCreateParams initParams)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.CreateAndInitializeEngine(Test test, ExecutionEngineCreateParams cp)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)
------------------------------------------------------------
'2/28/2022 2:04:28 PM' - Test completed!

 

 

Stephen
Top achievements
Rank 1
Iron
 answered on 19 Apr 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Patrick
Top achievements
Rank 1
Iron
Iron
Iron
MIS
Top achievements
Rank 1
Ross
Top achievements
Rank 1
Marcin
Top achievements
Rank 1
Iron
Iron
Sean
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Patrick
Top achievements
Rank 1
Iron
Iron
Iron
MIS
Top achievements
Rank 1
Ross
Top achievements
Rank 1
Marcin
Top achievements
Rank 1
Iron
Iron
Sean
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?