Telerik Forums
Test Studio Forum
1 answer
158 views

Is anyone else experiencing this issue when attempting to configure an Android phone with the automatic configuration tool?


[INFO] Loading android manifest xml ...

[ERROR] Unable to create APK: C:\Users\Loc\AppData\Local\Temp\b1c354bq.pah\dump\res\values-v24\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.OptionsPanel'.

C:\Users\Loc\AppData\Local\Temp\b1c354bq.pah\dump\res\values-v24\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.LockScreen'.

Shtilianov
Telerik team
 answered on 10 Mar 2017
1 answer
85 views

Hello guys!
I'm try to extract a little part of a Header but i don't know how... Can help me?
I attached the example... I need to extract "392" in other variable!

Regards,

Oleg
Telerik team
 answered on 09 Mar 2017
1 answer
147 views

Hi

I have the following markup...

<p>
<span>Some fixed text</span>
<span>Some random text</span>
<span>Some more fixed text</span>
</p>

I would like to extract either Some random text (which will be different every time) or all the inner text from the <p>, whichever's easier.

Is there a way I can do this? I can find the two fixed text spans easily, but can't see how to extract the random text from between them.

Thanks

Mike

 

Nikolay Petrov
Telerik team
 answered on 03 Mar 2017
4 answers
91 views

Hello,

I have trouble highlighting existing element from the Element Explorer in the page displayed in the browser (the red box/go to DOM).

 

I have tried (from http://docs.telerik.com/teststudio/features/elements-explorer/overview )

> Enable/Disable Highlighting - control the highlighting of elements on the recording surface as they are selected in the tree view. When enabled, an element highlighted in the Elements pane will also be highlighted in the active browser.

It seems that this button is no longer present in the version 2017.1.207.0. There is no button between "Refresh" and "Expand/Collapse button".

> Locate in DOM - jump to this element's position in the DOM when the recording window is loaded.

That doesn't do anything, as far as I can tell. I have opened recording window, it is recording and "Highlight element" button in recording window is toggled on.

 

I can find the element in the DOM explorer in the "Find Element" window (through Edit Element context menu) using Validate button, but even if I find and select it there, it is not highlighted on the loaded page.

 

Thank you for your assistance.

Elena
Telerik team
 answered on 03 Mar 2017
2 answers
111 views
hi~ I am Chinese, I am an engineer, has been using Fiddler robot for automated testing, automated testing tools at the fiddler out, want to try to use, but not to do the translation, I do not know where to start ~help!!! 
Nikolay Petrov
Telerik team
 answered on 02 Mar 2017
5 answers
144 views

Hello,

I noticed that in Angular 2 the recording of elements is not ideal. Always something like tagindex:23 etc.

I know that you can add in the "Find Logic (Html)" element names but it seems that the Angular 2 elements are still not located and used to determine the best element selection. 

I added the following elements:

  • formcontrolname
  • formarrayname

Is there anything I can do to improve it or make it work?

Thanks,
Bjorn

Nikolay Petrov
Telerik team
 answered on 02 Mar 2017
3 answers
776 views

Hi there,

This issue is currently starting across a lot of my tests. Some tests are data driven, but most are just standard recorded steps, with maybe 1 or 2 very basic coded steps. Does anyone have any idea on how to stop this from happening?

Im current recording a test, and it breaks with the exception below. I disable that step, then it breaks with the same exception on the step below the disabled step.

Failure Information: 
~~~~~~~~~~~~~~~
Exception thrown while finding elements for the following descriptor 'Verify element 'DepositIcon' 'is' visible.'. Exception 'System.ArgumentException: An item with the same key has already been added.
   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.FindTargets(IAutomationHost targetHost, AutomationDescriptor baseDescriptor)'Learn more about finding elements here:
http://docs.telerik.com/teststudio/troubleshooting-guide/test-execution-problems-tg/unable-to-locate-element

Im using Test Studio version 2016.3.928.0.

Any assistance will be greatly appreciated.

Thanks

David

Elena
Telerik team
 answered on 01 Mar 2017
3 answers
158 views

Hi there,

In Chrome, when we download file, it will save the file to user's download profile directory by default.

In this situation, after file is successfully downloaded, a banner, or a dialog will appear in the bottom of Chrome(like the attached screen shot).

I want to know, how could I recognize and handle this dialog?

Background: when I download In chrome, our application does not give a generating or downloading message, thus, I am not able to wait until this message gone, so i am not bale to tell when it's finished. I have to keep eyes open for this bottom dialog. When this dialog appears, code would know download is finished. And I don't like to wait for a hard coded time...which is pretty bad, because sometimes the file is big, hard coded time may not enough.

Thanks.

Nikolay Petrov
Telerik team
 answered on 01 Mar 2017
3 answers
188 views
Hello everyone!

I'm having trouble closing a browser popup window that points to a pdf file. I'm trying to connect to it using the "Manager.WaitForNewBrowserConnect" method but it keeps timing out.

Can anyone help please?

EDIT: Due to company policy, I can't help with the sample URL but how would you close this page, for example: http://tobi.oetiker.ch/lshort/lshort.pdf ?

EDIT 2: I'm running this on IE and I need to close the "Current Tab". I've tried using "ActiveBrowser.Close" and that returns me the default popup asking "Close All tabs" or "Current tab". Is there any way to just "Close the current tab".

Best regards,
Ricardo
Elena
Telerik team
 answered on 28 Feb 2017
1 answer
154 views

Trying to launch a desktop web recording in IE 11 and I'm getting an "Unable to launch recorder" message.  Test Studio launches the website just fine but doesn't start the recording.  I'm currently VPNed into a network with a proxy server connection set for it in IE 11.  Test Studio is installed on Windows 10 running on a VM.  I've posted the log file below:

 

[02/22 12:39:45,Telerik.TestStudio.Desktop.exe(4984:1),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[02/22 12:39:57,Telerik.TestStudio.Desktop.exe(4984:1),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[02/22 12:40:03,Telerik.TestStudio.Desktop.exe(4984:14),Framework] InternetExplorerActions.LaunchNewBrowserInstance() : Process launched (ID=1824, Path="C:\Program Files\Internet Explorer\iexplore.exe", Arguments="-nomerge http://192.168.177.22/").
[02/22 12:40:03,Telerik.TestStudio.Desktop.exe(4984:1),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[02/22 12:40:03,Telerik.TestStudio.Desktop.exe(4984:14),Framework] InternetExplorerActions.LaunchNewBrowserInstance() : Attempting to attach on IE frame (HWND=852048)...
[02/22 12:40:04,Telerik.TestStudio.Desktop.exe(4984:1),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[02/22 12:40:04,Telerik.TestStudio.Desktop.exe(4984:14),Framework] Connector.Start() : Process launched (ID=5812, Path="C:\Windows\SysWOW64\rundll32.exe", Arguments=""C:\Program Files (x86)\Telerik\Test Studio\Bin\ArtOfTest.Connector.dll",AttachToWindowEntryPoint 1508484").
[02/22 12:40:04,Telerik.TestStudio.Desktop.exe(4984:14),Framework] Connector.Start() : Process exited (ID=5812, ExitCode=0, Path="C:\Windows\SysWOW64\rundll32.exe", Arguments=""C:\Program Files (x86)\Telerik\Test Studio\Bin\ArtOfTest.Connector.dll",AttachToWindowEntryPoint 1508484").
[02/22 12:40:04,Telerik.TestStudio.Desktop.exe(4984:14),Framework] InternetExplorerActions.LaunchNewBrowserInstance() : Process "Telerik.TestStudio.Desktop" (ID=4984) is assumed to host the controller.
[02/22 12:40:04,Telerik.TestStudio.Desktop.exe(4984:14),Framework] Connector.InjectCode() : ------- Function Start -------
[02/22 12:40:04,Telerik.TestStudio.Desktop.exe(4984:14),Framework] Connector.InjectCode() : Connection string: C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\ArtOfTest.InternetExplorer\v4.0_2017.1.207.0__5339893a7cefe4d6\ArtOfTest.InternetExplorer.dll?ArtOfTest.InternetExplorer.ArtOfTestPluginEntryPoint?4984
[02/22 12:40:04,Telerik.TestStudio.Desktop.exe(4984:14),Framework] InternetExplorerActions.WaitForDocument() : Attempting to get IHTMLDocument2 from Internet Explorer HWND 1508484 on another thread...
[02/22 12:40:04,Telerik.TestStudio.Desktop.exe(4984:16)] First trace message from pool thread "WaitAsync polling wait worker" (managed ID = 16, native ID = 2792).

(Repeats Several Times)
[02/22 12:40:04,Telerik.TestStudio.Desktop.exe(4984:16),Framework] <>c__DisplayClass25_3.<WaitForDocument>b__1() : Attempting to get document from window handle
[02/22 12:40:04,Telerik.TestStudio.Desktop.exe(4984:16),Error] <>c__DisplayClass25_3.<WaitForDocument>b__1() : EXCEPTION! (see below)
     Situation: Internet Explorer Window handle (1508484) has not initialized its document
     Outer Exception Type: System.ArgumentNullException
     Message: Value cannot be null.
          Parameter name: Unable to find the 'Internet Explorer Server' window under the provided hwnd '1508484'
     HRESULT: 0x80004003 (Official ID (if app.) = E_POINTER, Error Bit = FAILED, Facility = FACILITY_NULL, Code = 16387)
     Call Stack:
          at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.GetDocumentFromHwnd(IntPtr hwnd)
          at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.<>c__DisplayClass25_3.<WaitForDocument>b__1(Object o)

(Repeats Several Times)

[02/22 12:41:04,Telerik.TestStudio.Desktop.exe(4984:14),Recording] IERecorderManager.LaunchNewRecorder() : EXCEPTION! (see below)
     Outer Exception Type: System.ApplicationException
     Message: Exception thrown attempting to launch Internet Explorer. Please make sure Internet Explorer is properly installed and you are able to launch it.
     HRESULT: 0x80131600 (Official ID (if app.) = COR_E_APPLICATION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5632)
     Call Stack:
          at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename, String url)
          at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
          at Telerik.TestStudio.Web.IERecorder.IERecorderManager.LaunchNewRecorder(Action`2 asyncCallback, FloatingUIMode mode, BrowserType browserType, String arguments)
     Inner Exception Type: System.TimeoutException
     Message: Wait for condition has timed out
     HRESULT: 0x80131505 (Official ID (if app.) = COR_E_TIMEOUT, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5381)
     Call Stack:
          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.Common.WaitSync.For[T](Predicate`1 predicate, T target, Int32 timeout)
          at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.WaitForDocument(IntPtr hwnd, Int32 waitTimeout)
          at ArtOfTest.Common.Win32.Connector.InjectCode(IntPtr handle, String assemblyAndClass, String pipename, String pid, Boolean waitForDocument, Int32 waitForDocumentTimeout, String navigateUrl)
          at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename, String url)
[02/22 12:41:18,Telerik.TestStudio.Desktop.exe(4984:1),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[02/22 12:42:56,Telerik.TestStudio.Desktop.exe(4984:1),Error] FireFoxInstallation.EnumFireFoxInstallations() : No Firefox installation registry keys were found in HKEY_LOCAL_MACHINE.
[02/22 12:42:56,Telerik.TestStudio.Desktop.exe(4984:1),Error] FireFoxInstallation.EnumFireFoxInstallations() : No Firefox installation registry keys were found in HKEY_LOCAL_MACHINE.
[02/22 12:42:56,Telerik.TestStudio.Desktop.exe(4984:1),Error] FireFoxInstallation.EnumFireFoxInstallations() : No Firefox installation registry keys were found in HKEY_LOCAL_MACHINE.
[02/22 12:42:56,Telerik.TestStudio.Desktop.exe(4984:1),Error] FireFoxInstallation.EnumFireFoxInstallations() : No Firefox installation registry keys were found in HKEY_LOCAL_MACHINE.
[02/22 12:42:56,Telerik.TestStudio.Desktop.exe(4984:1),Error] FireFoxInstallation.EnumFireFoxInstallations() : No Firefox installation registry keys were found in HKEY_LOCAL_MACHINE.
[02/22 12:42:56,Telerik.TestStudio.Desktop.exe(4984:1),Error] FireFoxInstallation.EnumFireFoxInstallations() : No Firefox installation registry keys were found in HKEY_LOCAL_MACHINE.
[02/22 12:42:56,Telerik.TestStudio.Desktop.exe(4984:1),Error] FireFoxInstallation.EnumFireFoxInstallations() : No Firefox installation registry keys were found in HKEY_LOCAL_MACHINE.
[02/22 12:42:56,Telerik.TestStudio.Desktop.exe(4984:1),Error] FireFoxInstallation.EnumFireFoxInstallations() : No Firefox installation registry keys were found in HKEY_LOCAL_MACHINE.
[02/22 12:42:56,Telerik.TestStudio.Desktop.exe(4984:1),Error] FireFoxInstallation.EnumFireFoxInstallations() : No Firefox installation registry keys were found in HKEY_LOCAL_MACHINE.
[02/22 12:42:56,Telerik.TestStudio.Desktop.exe(4984:1),Error] FireFoxInstallation.EnumFireFoxInstallations() : No Firefox installation registry keys were found in HKEY_LOCAL_MACHINE.
[02/22 12:42:56,Telerik.TestStudio.Desktop.exe(4984:1),Error] FireFoxInstallation.EnumFireFoxInstallations() : No Firefox installation registry keys were found in HKEY_LOCAL_MACHINE.
[02/22 12:43:15,Telerik.TestStudio.Desktop.exe(4984:1),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.


Elena
Telerik team
 answered on 24 Feb 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?