When trying to verify the text values of both input and selection controls in Edge, it seems to consistently fail/crash. These steps work in Chrome/IE. What's causing these errors?
INPUT:
ExecuteCommand failed!
InError set by the client. Client Error:
Expected ')'
BrowserCommand (Type:'Action',Info:'NotSet',Action:'InvokeJsFunction',Target:'ElementId (tagName: '',occurrenceIndex: '-1')',Data:'document.getElementsByTagName('input')[1].value',ClientId:'8b8a34c7-0309-491e-8aeb-3eee5c6ae6a9',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'Expected ')'')
InnerException: none.
SELECTION:
ArtOfTest.Common.Design.Exceptions.ExecutionException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.SelectVerificationDescriptor.ExtractData(IAutomationHost targetBrowser, DescriptorValueStore dataStore)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
--- End of inner exception stack trace ---
Hi,
I am trying to automate tests for an android hybrid app using Telerik and Ripple Emulator, since Telerik mobile misses many functions we need.
I managed to record a small test, but when I open the test again using 'run to here', the recorder does not open, even though Telerik does say recorder is connected. Just before opening the emulator, it gives a warning.
I have added screenshots an logfile in attachment.
Thank you,
Emine
I'm trialing Test Studio and want to connect to TFS, however that doesn't seem to be an option in the Manage Bug Tracking window. Only TeamPulse Server and Jira are available. How can I add this?
Also any plans on bug tracking integration into any JetBrains suites?
How can we send the '@' sign as in email address, as a keypress event ? here is my code:
if (string.IsNullOrEmpty(searchText)) return;
foreach (var key in searchText)
{
if (key.ToString() == ".")
{
m.Desktop.KeyBoard.KeyPress(Keys.OemPeriod);
}
if (key.ToString() == "@")
{
m.Desktop.KeyBoard.KeyPress(???);
}
Hallo,
i have a problem with Teamcity and tests with coded steps in MSTest.
We use the Telerik Test Studio to write tests with and without coded steps. This Tests will be executed on a Teamcity Buildagent. But the tests with coded steps always fails. The Buildagent can not find the .cs file. The try to add the .cs file to the included assemblies result a error Message that .cs is not a valid test file.
The complier in Telerik Test Studio show no errors.
This ist the Build log from Teamcity:
--Start--
[12:38:54]AMDP - Regression - VGFB - Grundeinstellungen- Kurzbezeichnung
[12:38:54]------------------------------------------------------------
'03.03.2017 12:22:21' - Executing test: 'AMDP - Regression - VGFB - Grundeinstellungen- Kurzbezeichnung', path: 'Startseite\Datenpflege\Artikeldaten\VGFB\Grundeinstellungen\AMDP - Regression - VGFB - Grundeinstellungen- Kurzbezeichnung.tstest.'
'03.03.2017 12:22:21' - Using .Net Runtime version: '4.0.30319.42000' for test execution. Build version is '2017.1.207.0'.
'03.03.2017 12:22:21' - Starting execution....
'03.03.2017 12:22:23' - Detected custom code in test. Locating test assembly: RegressionAmdp.dll.
'03.03.2017 12:22:23' - Failure detected during execution. Details:
------------------------------------------------------------
'03.03.2017 12:22:23' - System.IO.FileNotFoundException: Unable to find the code behind assembly. Please make sure you have compiled your code behind without errors before attempting to execute the test. Looking for: C:\BuildAgent\work\bf1d8a2ab94255f3\afradmin_PCCIS83 2017-03-03 12_04_02\Out\RegressionAmdp.dll bei ArtOfTest.WebAii.Design.Execution.ExecutionUtils.EnsureAssemblyExists(String assembly, String folder) bei ArtOfTest.WebAii.Design.Execution.ExecutionUtils.CreateCodedTestInstance(Test test, TestResult result, String binariesFolder) bei ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult) bei ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command) ------------------------------------------------------------ '03.03.2017 12:22:24' - Test completed!
--End--
Thank for your help.
André
Hello,
I've added the "html" option to the ArtOfTest.Runner command line call, but it is not successfully generating the .html results files. The .html files are being generated - but it is only 1 KB in size, and opens into a blank page. The .aiiresult file is still being generated successfully.
E.g: "C:\Program Files (x86)\Telerik\Test Studio\Bin\ArtOfTest.Runner.exe" list="%WORKSPACE%\acs_web\ACS\TestLists\ACS_%%B_%TestType%.aiilist" out=%WORKSPACE%\output\%Group%%%B html
This is the full contents of the 1 KB "ACS_InternetExplorer_Assessment 131335215157211413.html" for example:
<!DOCTYPE html><html lang="en">
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Telerik Test Studio Results</title>
<style id="test_studio_css_styles" type="text/css">
Any idea why this is happening? I looked at the logs and there are a lot of Exceptions being thrown, most of which are related to invalid filepaths or System.IO.FileNotFoundException. It won't let me attach a .txt file so here's some examples:
[03/09 07:18:16,ArtOfTest.Runner.exe(7676:1),TestStudio] Loader.IndexLoadedSerializationTypes() : EXCEPTION! (see below)
Outer Exception Type: System.Reflection.ReflectionTypeLoadException
Message: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
HRESULT: 0x80131602 (Official ID (if app.) = COR_E_REFLECTIONTYPELOAD, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5634)
Call Stack:
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at ArtOfTest.Common.Design.Loader.IndexLoadedSerializationTypes(Assembly assembly)
LOADER EXCEPTION #1
Outer Exception Type: System.IO.FileNotFoundException
Message: Could not load file or assembly 'IKVM.OpenJDK.XML.API, Version=8.1.5717.0, Culture=neutral, PublicKeyToken=13235d27fcbfff58' or one of its dependencies. The system cannot find the file specified.
HRESULT: 0x80070002 (Official ID (if app.) = 2147942402, Error Bit = FAILED, Facility = FACILITY_WIN32, Code = ERROR_FILE_NOT_FOUND)
...
[03/09 07:19:23,ArtOfTest.Runner.exe(7676:1),TestStudio] AutomationHostState.LoadFailureImageFromDisk() : Invalid file path to load the bitmap from: C:\Users\admin\AppData\Local\Temp\ACS_Chrome_Assessment 131335354773102490_files\AAAS-3626 Verify -Machine Secret Lifetime in Hours-Text Input_0_ImageOnFailure.png
[03/09 07:19:23,ArtOfTest.Runner.exe(7676:1),TestStudio] AutomationHostState.LoadFailureDOMFromDisk() : Invalid file path to load the DOM from: C:\Users\admin\AppData\Local\Temp\ACS_Chrome_Assessment 131335354773102490_files\AAAS-3626 Verify -Machine Secret Lifetime in Hours-Text Input_0_DomTreeOnFailure.txt
[03/09 07:21:29,ArtOfTest.Runner.exe(7676:1),Error] RunResultHtmlExporter.Export() : EXCEPTION! (see below)
Outer Exception Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
HRESULT: 0x80004003 (Official ID (if app.) = E_POINTER, Error Bit = FAILED, Facility = FACILITY_NULL, Code = 16387)
Call Stack:
at ArtOfTest.WebAii.Design.Execution.RunResultHtmlExporter.<LoadExpectedAndOnFailureImages>d__10.MoveNext()
at ArtOfTest.WebAii.Design.Execution.RunResultHtmlExporter.<LoadExpectedAndOnFailureImages>d__10.MoveNext()
at ArtOfTest.WebAii.Design.Execution.RunResultHtmlExporter.<LoadExpectedAndOnFailureImages>d__10.MoveNext()
at ArtOfTest.WebAii.Design.Execution.RunResultHtmlExporter.<LoadExpectedAndOnFailureImages>d__10.MoveNext()
at ArtOfTest.WebAii.Design.Execution.RunResultHtmlExporter.<LoadExpectedAndOnFailureImages>d__10.MoveNext()
at ArtOfTest.WebAii.Design.Execution.RunResultHtmlExporter.WriteImagesToSream(StreamWriter htmlWriter, Dictionary`2 resultsWithPaths)
at ArtOfTest.WebAii.Design.Execution.RunResultHtmlExporter.AddImages(String tempHtmlPath, String htmlFilePath, Dictionary`2 resultsWithPaths)
at ArtOfTest.WebAii.Design.Execution.RunResultHtmlExporter.Export(String filePath, Dictionary`2 resultsWithPaths)
[03/09 07:21:29,ArtOfTest.Runner.exe(7676:1),Uncategorized] CommandLineRunner.Log() : Result saved with path: 'c:\jenkins\workspace\QA_ACS_Telerik\output\Chrome\ACS_Chrome_Assessment 131335354773102490.aiiresult'.
Thanks,
Michael
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'.
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,
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