Telerik Forums
Test Studio Forum
5 answers
2.5K+ views
Hi,
I'm seeing this "you are using unsupported command line flag --disable web security" error message in Chrome (Version 46.0.2490.86 m)​, which appears to be coming from Test Studio plugins, as I don't see it when those are disabled.
Is there a way to get rid of that error message?
Thanks,
Nikolay Petrov
Telerik team
 answered on 21 Nov 2016
1 answer
67 views

Hi,

I am testing an on a web application which Create a Purchase Order. I have successfully recorded a test which login, adds some value to the Purchase Order, complete the Purchase Order and logout.

I can re-run that test perfectly.  The browser spins up and I see the various steps occur and then I see the new order under Purchase Order

I have now used that test for a Load Test but I am not getting what I expected, and I think perhaps what I need and what's being provided are not the same.  I need to simulate 10 concurrent users processing that Purchase Order. I need that test run in 10 separate threads in one go.  What I get though is no browsers popping up and no new sales being created in the database.

There is no indication of failure, but nothing seems to be "happening"

So, can someone explain if what I expect of Load Test and what it does are actually not the same?  I would have expected 10 new Purchase Order in the database, but what I get instead is nothing.  The "steps" appear to have been reduced to a series of HTTP requests of traffic.

Please help

Kind regards,
Shawn

Elena
Telerik team
 answered on 18 Nov 2016
26 answers
540 views

Hi,

 

I’m using trail version of QA edition Q3 release. I want to know is there any feature which will helps me writing data to excel sheet?

More clear; in my Silverlight web application I created some data, I want to store that data in excel spread sheet using this Web UI QA tool.

 

Help is appreciated.

 

Thanks & Regards,

 

Madhu Tekmal

Elena
Telerik team
 answered on 17 Nov 2016
34 answers
348 views
We recently upgraded our test studio project and run time edition to the most recent version.  Our builds are now failing with the following error.

c:\Windows\Microsoft.NET\assembly\GAC_MSIL\ArtOfTest.WebAii.Design\v4.0_2013.1.806.0__4fc62bbc3827ab1d\ArtOfTest.WebAii.Design.dll: Assembly 'ArtOfTest.WebAii.Design, Version=2013.1.806.0, Culture=neutral, PublicKeyToken=4fc62bbc3827ab1d' uses 'ArtOfTest.WebAii, Version=2013.1.806.0, Culture=neutral, PublicKeyToken=4fd5f65be123776c' which has a higher version than referenced assembly 'ArtOfTest.WebAii, Version=2012.2.1420.0, Culture=neutral, PublicKeyToken=4fd5f65be123776c'

Where is this conflicting reference coming from?  We have done searches for this reference to see if there are any old files somewhere but do not see any.  Has anyone else encountered this issue?

Thanks

*****UPDATE*****
It seems that creating a brand new project/solution picks up the correct references and we were able to see our tests run against the agent.  This seems to be a work-around, and not the solution.  Still looking into a possible solution.
*********************
Elena
Telerik team
 answered on 17 Nov 2016
1 answer
124 views

I am getting the below error in the coded step when i compile 

 

 

Error:error CS1705: Assembly 'ArtOfTest.WebAii.Design, Version=2016.3.928.0, Culture=neutral, PublicKeyToken=4fc62bbc3827ab1d' uses 'Telerik.TestStudio.Interfaces, Version=2016.3.928.0, Culture=neutral, PublicKeyToken=b9f4c4e36181b3de' which has a higher version than referenced assembly 'Telerik.TestStudio.Interfaces, Version=2013.1.1002.0, Culture=neutral, PublicKeyToken=b9f4c4e36181b3de'

 

 

 

The code i am using is please help

 

using Telerik.TestingFramework.Controls.KendoUI;
using Telerik.WebAii.Controls.Html;
using Telerik.WebAii.Controls.Xaml;
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;

using ArtOfTest.Common.UnitTesting;
using ArtOfTest.WebAii.Core;
using ArtOfTest.WebAii.Controls.HtmlControls;
using ArtOfTest.WebAii.Controls.HtmlControls.HtmlAsserts;
using ArtOfTest.WebAii.Design;
using ArtOfTest.WebAii.Design.Execution;
using ArtOfTest.WebAii.ObjectModel;
using ArtOfTest.WebAii.Silverlight;
using ArtOfTest.WebAii.Silverlight.UI;

namespace EBS_ITSM
{

    public class Write_to_Excelsheet : BaseWebAiiTest
    {
        #region [ Dynamic Pages Reference ]

        private Pages _pages;

        /// <summary>
        /// Gets the Pages object that has references
        /// to all the elements, frames or regions
        /// in this project.
        /// </summary>
        public Pages Pages
        {
            get
            {
                if (_pages == null)
                {
                    _pages = new Pages(Manager.Current);
                }
                return _pages;
            }
        }

        #endregion
        
        // Add your test methods here...
    
        [CodedStep(@"New Coded Step")]
        public void Write_to_Excelsheet_CodedStep()
        {
            string Result = "D:\\Bad Resume\\EBS_ITSM-POC\\EBS_ITSM\\EBS_ITSM\\Data\\ITSM_Data_Sheet";
string cur_dir = this.ExecutionContext.DeploymentDirectory; 
// Directory form which the code is executed
string file_name = this.ExecutionContext.Test.DataInfo.DataProvider; 
// The name of the Excel file
string data_table = this.ExecutionContext.Test.DataInfo.DataTable; // Sheet name in the Excel file that is bound
int data_iteration = Convert.ToInt16(Data["Sl_No"]) + 1;    
string column_name = "Change_ID";                 
Utility.Write_Results_To_Excel(cur_dir,file_name, data_table, column_name, Result, data_iteration);

        }
    }
}

Boyan Boev
Telerik team
 answered on 16 Nov 2016
1 answer
91 views

Hi,

I have been using the current version of Test Studio(2016.3.928.5) since 3 weeks now. This is some weird issue I am facing since few days only. After editing and saving the existing scripts when I open them next, changes are not saved. The scripts show last updated time correctly in the properties. This doesn't happen all the time. So I have to exit Test Studio every few hours and when I open the project again, changes may or may not be saved. Has anybody else faced similar issue?

Elena
Telerik team
 answered on 16 Nov 2016
1 answer
140 views

Doing a test where a text entered needs to be the same as text appeared on the screen, in a span, like one of those 'human checking' type things when creating an account.  is there a way to get this span and convert it into a string or something tangible that telerik can then put into a textbox.

 

thanks

-m

Max
Top achievements
Rank 1
 answered on 10 Nov 2016
5 answers
291 views

Good afternoon.

We use CKEditor in our application extensively and have not been able to record adding text to the editor. We are able to select the buttons on the header bar of the editor. Any action inside the text area is not registered by the recorder. 

If we look at the code we see that the text are is found inside an IFrame, while the header section is outside the IFRAME.

We only use the recoder. 

Any help on how to record adding text into the editor would be highly appreciated.

 <div class="cke-notes form-row">

<label>

<span class="field-title" data-bind="text: lang.planner.notes.label">Card Notes</span>
<textarea data-bind="ckeditor: notes, value: card.notes" style="visibility: hidden; display: none;"></textarea>
<div id="cke_editor1" class="cke_54 cke cke_reset cke_chrome cke_editor_editor1 cke_ltr cke_browser_gecko" lang="en" role="application" dir="ltr">
<div class="cke_inner cke_reset" role="presentation">
<span id="cke_54_top" class="cke_top cke_reset_all" style="height: auto; -moz-user-select: none;" role="presentation">
<div id="cke_54_contents" class="cke_contents cke_reset" role="presentation" style="height: 200px;">
<iframe class="cke_wysiwyg_frame cke_reset" frameborder="0" src="" style="width: 100%; height: 100%;" tabindex="0" allowtransparency="true">
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<body class="cke_editable cke_editable_themed cke_contents_ltr cke_show_borders" contenteditable="true" spellcheck="false">
</html>
</iframe>
</div>
</div>
</div>
</label>
</div>

Best regards,

Carlos

Elena
Telerik team
 answered on 10 Nov 2016
1 answer
57 views

Hey all, I'm a new user and I'm trying Telerik Test Studio for Automated Mobile Testing.

I downloaded an APK to my Android Galaxy S6 Device (Telerik Examples APK from Google Store) and started recording some simple tests that included just a simple tap or two taps on an element. 

I'm running into this error any time I run a test with a 'Tap' action. I've attempted to add wait steps before and in between my actions and still run into this issue. Any ideas?

ERROR: "android.app.Contextlmpl cannot be cast to android.appActivity" 

 

I'm not sure what additional files would help to debug this issue. Please just let me know if there is anything else I can provide. Thank you!

Elena
Telerik team
 answered on 09 Nov 2016
1 answer
142 views

II am having some issues while automating a Kendo UI Datepicker with Telerik test studio. Attached is the recording steps screenshots & the failure log.

The date is selecting while recording the test but when I played it back , It is showing 'unable to fine the element' when reached to the date selection step and the test went failed.

Nikolay Petrov
Telerik team
 answered on 09 Nov 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?