Telerik Forums
Test Studio Forum
3 answers
103 views

Hi,

    I am facing issue while recording scripts , when i start recording and type anything it's taking time to type and to record the steps in chrome browser.

Can you suggest me how to solve this issue?

 

Thanks 

Vimala Padakanti

Elena
Telerik team
 answered on 19 Oct 2018
13 answers
276 views

Yesterday I was able to bind a excel table to a test but now I'm not able to do that anymore since I can not select the table. See the attached screenshot for that.

This probably happened due to the update of Microsoft Office yesterday since I did not do anything else in between. I just started Telerik and couldn't change the table anymore.

 

Elena
Telerik team
 answered on 18 Oct 2018
1 answer
135 views

Hi,

Got an element to click on, element located inside iframe , click confirm action and close iframe

Recorded action:

 

Click performed successful , iframe closed but click step fails with error:

System.TimeoutException: Wait for condition has timed out

 

Coded step :

Browser myFrame = ActiveBrowser.Frames["sb-player"]

Element xpath = myFrame.Find.ByXPath("//input[@id='submitRFPProcurementButton']");

 myFrame.Actions.Click(xpath);

Same behavior, log output :

'10/16/2018 8:50:20 PM' - 'Fail' : 44. Click 'MapProperty'
------------------------------------------------------------
Failure Information: 
~~~~~~~~~~~~~~~
Exception thrown executing coded step: 'Click 'MapProperty''.
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](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.WebAii.Core.Browser.WaitUntilReady()
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
   at ArtOfTest.WebAii.Core.Actions.Click(Element targetElement)
   at teststudio.RFP_Creation.RFP_Creation_CodedStep1() in c:\Users\Oleg\Documents\C360-Main-WebApp\e2e_tests_ts\tests\Global Regression Suite\
------------------------------------------------------------
 

Nikolai
Telerik team
 answered on 16 Oct 2018
3 answers
136 views

Hello,

 My test scripts are running successfully in chrome browser but same scripts are failing in edge browser.

         when run the scripts in edge able to login fine but it's failing at top menu buttons. actually in the log it is showing as Clicked on 'InvoiceSpan' but form is not opening.click event happening on the just above to the button.

 Please find the logs attachment.

 

Thanks,

Pranavi

Konstantin Adamu
Telerik team
 answered on 15 Oct 2018
10 answers
331 views
Our app has many objects that change ID based on user or sometimes session.
One of these is a Submit button:
ctl00_ctl00_mastercontent_ContentPlaceHolder1_MainTemplate1_RadDock3664_C_3664_btnnewresource_input
The numbers that typically get changed are "3664".

In the Elements list I right clicked and selected Edit Element. 
Find Element is opened after selecting to locate element without connecting.
In the ID row I changed "is exactly" to "matches this regular expression"

? - Should I just replace "3664" with "*" to except multiple characters within the string like this:
ctl00_ctl00_mastercontent_ContentPlaceHolder1_MainTemplate1_RadDock3664_C_3664_btnnewresource_input
ctl00_ctl00_mastercontent_ContentPlaceHolder1_MainTemplate1_RadDock*_C_*_btnnewresource_input
Can the "?" be used in a string to accept 1 character?  Do I need to insert the wildcards in brackets?

Find Expressions were also listed in the documentation but their use is a little unclear.

Thanks,
Chris
Elena
Telerik team
 answered on 15 Oct 2018
1 answer
246 views

Hi!

 

I'm new to Test Studio and C#, but I have experience with Codeception and other Webdriver based frameworks (Python based).

I already learned how to write coded steps and use custom cs files. What I cannot crack, is if I can use any NuGet packages from NuGet repo with Test Studio.

Can you provide some `hello world` configuration for dummies? My goal is to have helper files, that may be reused by Coded Steps. I use VS 2017 community edition.

 

Best Regards,

J.

Missing User
 answered on 12 Oct 2018
13 answers
977 views
Hi,
I am a newcomer to Test Studio, still in the trial period.  I hope I am posting to the write forum. 

I need to write a debug line to the log so I can trace failures.

I have an Excel data source with multiple columns and multiple rows.  My scripts parse the data fine, and tell me there has been a failure, but the log does not make it easy to see in which iteration the failure occurred.

One of the columns in my data is a row counter.  How can I read the value in this counter (the column name is Iteration)?  I assumed I could simply bind the value to a comment with $(Iteration), but this does not appear possible.

I tried putting a VB "log.writeline($(Iteration))" expression in the code-behind window but this just failed (I am far from an expert in VB).

Any advice would be appreciated.

Thanks,
Nigel.
Elena
Telerik team
 answered on 08 Oct 2018
1 answer
162 views

Hi,
We have been using Telerik Test Studio and Telerik Test Studio Runtime for a long time ( over a year).
We have installed Telerik Runtime Product Version: 173.12.6.0 and for the moment we are not considering in updating it... just for the moment.

With regards to the issue we are facing, I believe is more related to Mongo DB but as this is used by the Runtime and filled with Runtime data this is why I'm asking here.
Our Mongo DB installation is taking 75GB of space and we are close to taking all the space on that machine.
c:\mongo\db --> 75GB
Mainly the contents of this folder are files like these:
- TSStorageData.22

- mongo-server.log.2017-10-25T14-57-27

My question is if I can delete these files directly from the File Explorer without worrying if this will impact on the current execution of the Runtime or if there is any other way to clean this up as is taking most of the space on that machine.

Regards,
Sebastian

Missing User
 answered on 05 Oct 2018
4 answers
146 views

Hi All,

I have downloaded the trial version of telerik few days ago. Now only 2 days left for the trial version to expire.The Product Version I am using is 2016.1.330.0. From yesterday onwards I am not able to execute my tests. After clicking on the "Run Test" option, nothing is happening. Please help me how to solve it.

 

Regards,

Sherin

 

nuthan
Top achievements
Rank 1
 answered on 05 Oct 2018
19 answers
155 views

The application under test uses quite a number of HTML pop up windows, and the tests frequently encounter problems when taking an action that closes a pop up window.

Specifically, the test I'm writing now navigates to a page, clicks a link that opens an HTML pop up window, clicks another link that opens a second HTML pop up window, enters values into the second pop up, and clicks a button that closes the second popup. The test then fails with an error saying that "This client ... is not connected to remote to be able to process command." 

 

Details in case it helps troubleshooting:

Test Studio version 2018.1.418.0

Test running against IE11

The second pop up is a search window. The action being taken that closes the window is selecting a search result which also sends data back to the server. I know the data successfully sends to the server, because the initial pop up window updates to reflect the selected search result. 

The test only fails intermittently with no apparent pattern to when it will fail, suggesting possibly a race condition?

 

Stack trace:

Failure Information: 
~~~~~~~~~~~~~~~
ExecuteCommand failed!
BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'Client_e66ee583-28c5-4e43-918d-aa7f6a236a37',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'False',Response:'')
InnerException: ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'Client_e66ee583-28c5-4e43-918d-aa7f6a236a37',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'False',Response:'')
InnerException: System.InvalidOperationException: This client 'Client_e66ee583-28c5-4e43-918d-aa7f6a236a37' is not connected to remote to be able to process command.
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
 ---> System.InvalidOperationException: This client 'Client_e66ee583-28c5-4e43-918d-aa7f6a236a37' is not connected to remote to be able to process command.
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
   --- End of inner exception stack trace ---
   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()

InnerException:
ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'Client_e66ee583-28c5-4e43-918d-aa7f6a236a37',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'False',Response:'')
InnerException: ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'Client_e66ee583-28c5-4e43-918d-aa7f6a236a37',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'False',Response:'')
InnerException: System.InvalidOperationException: This client 'Client_e66ee583-28c5-4e43-918d-aa7f6a236a37' is not connected to remote to be able to process command.
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
 ---> System.InvalidOperationException: This client 'Client_e66ee583-28c5-4e43-918d-aa7f6a236a37' is not connected to remote to be able to process command.
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
   --- End of inner exception stack trace ---
   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!
BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'Client_e66ee583-28c5-4e43-918d-aa7f6a236a37',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'False',Response:'')
InnerException: System.InvalidOperationException: This client 'Client_e66ee583-28c5-4e43-918d-aa7f6a236a37' is not connected to remote to be able to process command.
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
 ---> System.InvalidOperationException: This client 'Client_e66ee583-28c5-4e43-918d-aa7f6a236a37' is not connected to remote to be able to process command.
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
   --- End of inner exception stack trace ---
   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.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
   at ArtOfTest.WebAii.Core.Actions.Click(Element targetElement)
   at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.Click()
   at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.Click(Boolean isClosing)
   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)
------------------------------------------------------------
'8/21/2018 10:50:49 AM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.

 

Elena
Telerik team
 answered on 02 Oct 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?