Telerik Forums
Test Studio Forum
2 answers
441 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
125 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
98 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
68 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
73 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
80 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
553 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
1 answer
166 views

In my example the string below is in a single element in my web page. When i use the "extract" step, it extracts the entire string, however, i want to be able to extract or use only the reference in this string. How is that achieved?

See Bargain Reference of BBSTI22DF9504388


Note, this reference is different each time. 

Elena
Telerik team
 answered on 13 Apr 2022
1 answer
97 views

Hi,

I have a project targeted to .NET 5 and try to add a reference to it from Telerik Test Studio project (targeted to .NET Framework). Looks like I cannot manually retarget the testing project because of some used ArtOfTest.* and other libraries build for .NET Framework and so cannot add the reference to my project which uses netstandart 2.1 features (like System.Runtime.IAsyncDisposable).

Is there any way to reference to my project?

Thanks,

Nikolay

Elena
Telerik team
 answered on 13 Apr 2022
1 answer
102 views

Hello,

I need to click a link that is off the screen to the right.  Is within a frame within the main browser.

Test identifies the element as it waits for it to exist but refuses to click it.

Is there any way to do this?

Thanks

Adrian

Adrian
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 11 Apr 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?