Telerik Forums
Test Studio Forum
1 answer
38 views

Hi All,

Our application has windows forms and embedded browser components. 

Read a post in another forum - http://www.telerik.com/forums/windows-forms-application-automation

I would like to know, whether Test studio supports these kind of applications? Need your inputs.

 

Thanks,

Palani

Boyan Boev
Telerik team
 answered on 13 Jul 2016
1 answer
126 views

Hi,

Below is an issue I've been getting for about a day now. I've searched through the forums and see similar issues but none of those answers are helping me. Below is the error I'm getting. I'm just trying to enter some text in a text box through the record feature. I have downloaded the error report with the DOM in it if that helps but I didnt want to attach it here would rather send it to an admin directly for help. Any idea what I need to change to make this work?

Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame '[Frame:name=Frame_2,src=https://devwebtest.mapcom.com/M4Inventory/,UseQuery:False]' timed out. Error: Wait for condition has timed out
Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame '[Frame:name=Frame_2,src=https://devwebtest.mapcom.com/M4Inventory/,UseQuery:False]' timed out. Error: Wait for condition has timed out

 

 

Elena
Telerik team
 answered on 12 Jul 2016
1 answer
167 views

Hi All,

While starting VS using telerik template, got the message as it supports only web based application. Would like to hear from the experts, whether using C# code with Test Studio template, can I automate desktop (non-web) applications?

Thanks,

Palani

Boyan Boev
Telerik team
 answered on 12 Jul 2016
1 answer
89 views

How to trigger a Rest Service from Telerik Test Studio tool?

Pease let me know If there is a way by connecting it to FIDDLER

John
Telerik team
 answered on 08 Jul 2016
1 answer
86 views

I am working on getting CI setup.  One of those steps is to allow execution of regression tests.  It is a web browser based application.  I am using TeamCity to call a ArtOfTestRunner from the command line with a settings file.  It is executing an aiilist file composed of several tstest files.  When the command is run through TeamCity the output appears as if no tests have been run and the step fails.  The exact same command when executed from a from a cmd prompt window executes as I would expect.  I am not really sure what I am doing wrong at this point.  I am keeping a desktop user logged into the machine.  I have given the TeamCity build agent access to interact with the desktop.  Any suggestions would be helpful.

I've attached the team city and command line results files.

Elena
Telerik team
 answered on 06 Jul 2016
1 answer
109 views
Hello, I want to test when all data are loaded in Kendo-a line-charts components.
I have a large amount of line chart components and I need to know when they are loaded (lines are drawn), but is hard to find way to do this.
The goal is to find the last one that has been loaded.
Do you have any ideas how to handle this with Test Studio?
Elena
Telerik team
 answered on 06 Jul 2016
3 answers
134 views

OS: Windows 10

Firefox Version 47.0

TTS version 2016.1.330.0

Hi,

Am using above configurations for automation.

In my application, there is  an iframe.

Problem is - could not access elements in this  using chrome browser.

The Same code is working in Firefox but not in Chrome.

Below is my code:

ActiveBrowser.WaitForFrame(new FrameInfo("creditCardComponent", "", "~/creditcard.jsp", "", 0, false, false, ""), 20000);
Browser ccframeinfoo = ActiveBrowser.Frames.ById("creditCardComponent");
HtmlInputText ccno1 = ccframeinfoo.Find.ById<HtmlInputText>("ccno1-inputEl"); ccno1.Text = "xxxx";
HtmlInputText ccno2 = ccframeinfoo.Find.ById<HtmlInputText>("ccno2-inputEl"); ccno2.Text = "xxxx";
HtmlInputText ccno3 = ccframeinfoo.Find.ById<HtmlInputText>("ccno3-inputEl"); ccno3.Text = "xxxx";
HtmlInputText ccno4 = ccframeinfoo.Find.ById<HtmlInputText>("ccno4-inputEl"); ccno4.Text = "xxxx";

Error: Exception executing coded step: 'Enter the card number'.

InnerException:
System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo, Object target)
   at ArtOfTest.Common.WaitSync.For[T,V](Func`3 func, T target, V custom, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.Common.WaitSync.For[T,V](Func`3 func, T target, V custom, Int32 timeout)
   at ArtOfTest.WebAii.Core.Browser.WaitForFrame(FrameInfo frameInfo, Int32 timeout)

FYI- used ActiveBrowser.WaitUntilReady(); and  ActiveBrowser.RefreshDomTree(); but did not solve my issue.

Can you please help me on this issue.

Thanks in Advance!

Elena
Telerik team
 answered on 05 Jul 2016
1 answer
89 views

Hello! I have a test that uses both "Wait for exists" and "Wait for existsNot". This test work flawlessly for IE but when executed on firefox the "Wait for exists" actions fails 50% of the time and the "Wait for existsNot" fails 100% of the time. I have tried searching on the forums for a solution on the forums, but a delay execution action in this case simply will not do because the loading times are very variable and I want to emphasize efficiency on my test. If any solutions are available or more information on my problem is needed, please let me know, thanks!

Unexpected error while waiting on condition. Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'68776d95-33de-47f2-856c-028f02d34f3b',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'False',Response:'')
InnerException: ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
InError set by the client. Client Error:
mozCommandProcessor: ProcessInformationCommand(): Document is not ready to retrieve its markup.
BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'68776d95-33de-47f2-856c-028f02d34f3b',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'mozCommandProcessor: ProcessInformationCommand(): Document is not ready to retrieve its markup.')
InnerException: none.
 
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
   at ArtOfTest.WebAii.Core.Browser.RefreshDomTree()
 ---> ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
InError set by the client. Client Error:
mozCommandProcessor: ProcessInformationCommand(): Document is not ready to retrieve its markup.
BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'68776d95-33de-47f2-856c-028f02d34f3b',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'mozCommandProcessor: ProcessInformationCommand(): Document is not ready to retrieve its markup.')
InnerException: none.
 
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
   at ArtOfTest.WebAii.Core.Browser.RefreshDomTree()
   --- End of inner exception stack trace ---
   at ArtOfTest.WebAii.Core.Browser.RefreshDomTree()
   at ArtOfTest.WebAii.Core.Browser.ArtOfTest.Common.IAutomationHost.EnsureStateIsCurrent()
   at ArtOfTest.Common.Design.Extensibility.Descriptors.VerificationDescriptor.<PerformWait>b__f(IAutomationHost hst, DescriptorValueStore values)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at ArtOfTest.Common.WaitAsync._worker_DoWork[T,V](Object waitParam)

Elena
Telerik team
 answered on 05 Jul 2016
1 answer
43 views
I am testing this application and unable to use firefox v47 to capture. Thanks
Nikolay Petrov
Telerik team
 answered on 05 Jul 2016
3 answers
71 views

Just a quick question......

http://docs.telerik.com/teststudio/features/test-runners/integrate-task-scheduler-with-artoftest

Using the method as outlined in the link above, if I wanted to run multiple tests, would it be necessary for me to manually wait in between different tests? Or would it be possible for me to copy that line over multiple times to run my test lists, and they'll just run one of the next until they're finished?

Boyan Boev
Telerik team
 answered on 05 Jul 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?