Telerik Forums
Test Studio Forum
1 answer
44 views
When changing the location of the scheduling connection, it does not update the connection. I have to kill the test runner (agent) first before I can actually change it to another url.
Ivaylo
Telerik team
 answered on 06 Dec 2013
1 answer
90 views
Hi,

I have experienced this problem multiple time and i cant seem to find a solution, i will insert the error message and log below, as you can see i have tried adding 'wait for *time' steps and also 'wait for *visible' but neither seem to make any difference, this problem is not consistent, it only happens occasionally but the test will fail none the less, i have watched the test and the chosen value is selected correctly and then the step fails.

Any help on this would be great

Jo

*******
'03/12/2013 14:27:36' - 'NotRun' : 16. Wait for '650' msec.
'03/12/2013 14:27:36' - 'Fail' : 17. Select 'ByValue' option 'CLA' on 'ContentPlaceHolder1DdlAssignmentTypeSelect'
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
ExecuteCommand failed!
InError set by the client. Client Error:
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
   at mshtml.HTMLSelectElementClass.IHTMLElement3_FireEvent(String bstrEventName, Object& pvarEventObject)
   at ArtOfTest.InternetExplorer.IECommandProcessor.InvokeEvent(IHTMLElement target, String data)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Action',Info:'NotSet',Action:'InvokeEvent',Target:'ElementId (tagName: 'select',occurrenceIndex: '0')',Data:'onchange--@@--null',ClientId:'Client_7791f341-32cc-42dd-a113-20f964d35ad7',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
   at mshtml.HTMLSelectElementClass.IHTMLElement3_FireEvent(String bstrEventName, Object& pvarEventObject)
   at ArtOfTest.InternetExplorer.IECommandProcessor.InvokeEvent(IHTMLElement target, String data)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
InnerException: none.

InnerException:
ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
InError set by the client. Client Error:
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
   at mshtml.HTMLSelectElementClass.IHTMLElement3_FireEvent(String bstrEventName, Object& pvarEventObject)
   at ArtOfTest.InternetExplorer.IECommandProcessor.InvokeEvent(IHTMLElement target, String data)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Action',Info:'NotSet',Action:'InvokeEvent',Target:'ElementId (tagName: 'select',occurrenceIndex: '0')',Data:'onchange--@@--null',ClientId:'Client_7791f341-32cc-42dd-a113-20f964d35ad7',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
   at mshtml.HTMLSelectElementClass.IHTMLElement3_FireEvent(String bstrEventName, Object& pvarEventObject)
   at ArtOfTest.InternetExplorer.IECommandProcessor.InvokeEvent(IHTMLElement target, String data)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
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.ExecuteCommand(BrowserCommand request)
   at ArtOfTest.WebAii.Core.Actions.InvokeEvent(Element targetElement, ScriptEventType eventType)
   at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.InvokeEvent(ScriptEventType eventType)
   at ArtOfTest.WebAii.Controls.HtmlControls.HtmlSelect.InvokeOnChange()
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.SelectDropDownActionDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
------------------------------------------------------------
'03/12/2013 14:27:36' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'03/12/2013 14:27:36' - Overall Result: Fail
'03/12/2013 14:27:36' - Duration: [0 min: 0 sec: 484 msec]
------------------------------------------------------------
'03/12/2013 14:27:36' - Test completed!
Ivaylo
Telerik team
 answered on 06 Dec 2013
1 answer
53 views
Good day,

I am having an issue where I have made changes to a test that requires me to get latest.  The Merge Reviewer will display the code lines, but they are blank

Please see picture

Thank you,
Rob Bricker 
Cody
Telerik team
 answered on 06 Dec 2013
5 answers
172 views
Hi there -
I created a project in Visual Studio using Telerik's plugin for VS - everything works great when I run the tests in VS.  However, I wanted to take advantage of the reporting capabilities of Test Studio, so I tried to load my project in Test Studio - however, I cannot load my tests because it tells me the code-behind file is missing.  When I am asked if I want to search for the code-behind file, I am only given the option of searching for tstest.vb files.  All of my code-behind files are in C#, and thus are tstest.cs files.  I am currently using Test Studio 2012.2.1527.0

Is there a bug that prevents me from opening projects with tstest.cs code-behind files, or is there a setting that I can change that will allow Test Studio to recognize these files?  Thanks!
 - Jeanie

ps. I'd like to also note the following in my Settings.aiis file, which seems to indicate everything is set properly:
<ProjectLanguage Type="ArtOfTest.Common.Design.CodeGeneration.CodeGenerationLanguage">CSharp</ProjectLanguage>
Rodney
Telerik team
 answered on 05 Dec 2013
4 answers
106 views
Periodically the computer running my tests (scheduled and executed from a single machine) gets restarted during maintenance. When that happens, my scheduled tests don't run. Starting Test Studio from the command line is easy enough, but how do I get it to open to a specific project? I'd like to schedule a simple script to check if Test Studio is running. If not, start it and open the appropriate project. It's the project part that I'm hung up on.
Rodney
Telerik team
 answered on 05 Dec 2013
1 answer
65 views
Hi,

Right Now I am working with WPF Application and I spent a lot of time to do some verification, but no success. Help me to do Automation with WPF Application. Our application is not Silverlight it's WPF Application.

Manual testing steps Are:
1) Take value of CurMktVal of one Perticular Fund. 
2) then Enter Value to Proposed alloc Amt ,say $ 50000.
3) Now Value of CurMktVal should be = Value from step 1 + Value From Step 2.
4) Also Want to check for footer Value as well.
5) Compare value of New CurMktVal and New Footer value


Code I tried for step 2 is:

 Telerik.WebAii.Controls.Xaml.Wpf.GridViewCell gCell = ActiveApplication.MainWindow.Find.ByAutomationId<CellElement65Textbox>("CellElement65Textbox");
            gCell.SetFocus();
            gCell.User.Click(MouseClickType.LeftDoubleClick);            
            var PropAlloc = "50000";
            Assert.AreEqual(PropAlloc,gCell.Text);
            gCell.Text = PropAlloc;

Let me know how Should I perform all these Actions. 


Please help me soon, So I can start working on this. I am stuck here.






































Rodney
Telerik team
 answered on 05 Dec 2013
2 answers
138 views
Hi,

A client of mine has an application that uses the Telerik WinForms controls and has asked for help with test automation.  They have HP UFT (QTP) and ALM (QC).  All the controls show up as "WinObject" so a little digging turned up the fact that they don't work with Telerik controls and recommend writing an extension.  I told them it was probably best to use the Telerik Test Studio instead of UFT, only to discover that neither the Telerik Testing Framework nor the Test Studio works with the Telerik WinForms controls!  

First of all, I would really like to know from someone at Telerik why this is so, and also if another tool can be recommended.  I did investigate Test Complete and found out that it is "almost" acceptable - support for the grid view is good, but the list box control does not even expose the objects in the list - only clicks using X Y coordinates.  

Any advice or pointers would be most welcome!

Thanks!
Randy
Top achievements
Rank 1
 answered on 04 Dec 2013
12 answers
192 views
Hi,
I was wondering if there exists a possibility to create load-tests using WebUI test studio?
I mean launching n-number of instances at the same time to create reality-like load for the web application/server?

Thanks in advance,
Helen
Cody
Telerik team
 answered on 04 Dec 2013
1 answer
51 views
Hello, I am having an issue where the merge tool does not return any code, it is blank.  Not sure if it is my configuration or an issue. 

Repro:

App set up connected to TFS for repository and source control

1. User One checks out a test
2. User Two opens same test, makes a change and checks back in
3. User One checks in (Recieves message that file has been updated)
4. User One get latest (Merge tool opens)

** Merge tool opens, shows line numbers, but lines are blank (See attached pic)

 Thank you for your assistance.
Cody
Telerik team
 answered on 03 Dec 2013
2 answers
92 views
Hi Telerik Team,

We have been evalauating the Telerik Test Studio. So far the testing is going fine. I find the tool user friendly . I have had some some support from the Telerik Team as well ,so thank you for that.

I have two questions regarding Telerik Test Studio.

(1) Can scripts written in QTP be imported in Tekerik Test Studio ?
(2) If the above can be done. Would major modifications be required in the script in order to run it? I have used input data from the DataTable of QTP. I have used connection to DB and getting data from there and using in my QTP script. Used some VB Scripting, functions. What will happen to all this? How would I be able to import it here and make sure it works?

Currently we are using QTP and we are in the process of making a deision to switch to another tool (Preferably Telerik Test Studio). Management has asked me to confirm if I will be able to import the QTP scripts to Telerik Test Studio and run them. Please help!

Regards,

Vaishali
Vaishali
Top achievements
Rank 1
 answered on 03 Dec 2013
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?