Telerik Forums
Test Studio Forum
1 answer
87 views

If I am the developer of the script and developed the complete suite and then create a package and handed over to someone to execute the same.Is it possible?

Does that another person need to have license to run the same?

Plamen Mitrev
Telerik team
 answered on 19 Nov 2019
1 answer
77 views

Is it possible to develope script from scartch with recording it?

Also how can we skip the recorded script data while running it?(I have already tried by giving the test data but it first try to execute with the data which was given at the time of recording)


Plamen Mitrev
Telerik team
 answered on 19 Nov 2019
11 answers
98 views
I'm currently executing test list "remotely" on the same physical machine where TS is installed.  If I want to switch to REAL remote execution on a different physical machine does that require a "separate" licensed copy of either TS or the Runtime?  In other words I can't use a single TS license to develop test on one machine but have them run on a different one?
Elena
Telerik team
 answered on 15 Nov 2019
4 answers
117 views

Hi all,

I am currently facing issue to automate selecting drop down option after entering text into Kendo drop down filter for ASP.NET MVC and jQuery.

In recording the test case, I successfully entered text into the drop down list filter and select filtered option accordingly.

However, when I executed the test case, the options will not be filtered based on the entry and the option is not selected as per recorded.

So I tried to turn on the "SimulateRealTyping" setting in the test step.

When I executed the test case again, there were no texts entered into the drop down filter at all.

The problem is found in AUT. To reproduce the issue, I tried it on the Kendo Demo page.

 

Please find in the attachment is the recorded test case with the following scenarios:

1. Click on drop down list and enter "chang" into the filter with NO "SimulateRealTyping"

2. Click on drop down list and enter "aniseed syrup" into the filter WITH "SimulateRealTyping"

 

I tried to see if I do keypress "Down" after entering text into filter will help to select filtered option correctly, but it still failed to do so.

Is this issue related to the translators available in Test Studio at the moment?

Can anyone help to solve or advise on this issue?

Thank you in advance.

Regards,

Yan Jun

Plamen Mitrev
Telerik team
 answered on 08 Nov 2019
3 answers
198 views

waitforexists is a void method, not a boolean one, so how can I do an if statement on it via the codeless steps? 

 

Also its super annoying to have an else after every if. Sometimes I just want the if, and if the if isn't true to continue execution. 

Plamen Mitrev
Telerik team
 answered on 08 Nov 2019
2 answers
97 views

Hi Team, 

 

I am trying to the get the current Url of the active page and  tried  this. But in the Log View i am not able to see the URL. As after fetching the URL I need to split the URL.   

 var URL = this.ActiveBrowser.Url.ToString();
 Log.WriteLine(URL); 

 

Elena
Telerik team
 answered on 07 Nov 2019
1 answer
63 views

We have a web application with a Kendo Dropdown list box and want to compare the list of items in the UI to what the list should be in SQL.  Does anyone have a good solution for this or can point me in the right location/forum?

 

Thanks so much!

Elena
Telerik team
 answered on 06 Nov 2019
7 answers
99 views

Hello,
sometimes I have "System.Reflection.TargetException: Object does not match target type." exception in HtmlInputCheckBox.Check() method.
Can anybody say what happens? And fix it.

The stackTrace is below.

Exception thrown executing coded step: 'Configure 'Repeat on' days'.
InnerException:
ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
InError set by the client. Client Error:
System.Reflection.TargetException: Object does not match target type.
   at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
   at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
   at CallSite.Target(Closure , CallSite , Object , String , BindingFlags , Object , Object , Object )
   at System.Dynamic.UpdateDelegates.UpdateAndExecute6[T0,T1,T2,T3,T4,T5,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5)
   at CallSite.Target(Closure , CallSite , Object , String , BindingFlags , Object , Object , Object )
   at ArtOfTest.InternetExplorer.IECommandProcessor.InvokeFunction(String functionCall, Boolean useEval, Boolean returnJson, IHTMLDocument2 doc)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommandInternal(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Action',Info:'NotSet',Action:'InvokeJsFunction',Target:'ElementId (tagName: '',occurrenceIndex: '-1')',Data:'document.getElementsByTagName('input')[14].checked',ClientId:'Client_9419ea84-45a6-4dde-b63a-243e6f22aa03',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.Reflection.TargetException: Object does not match target type.
   at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
   at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
   at CallSite.Target(Closure , CallSite , Object , String , BindingFlags , Object , Object , Object )
   at System.Dynamic.UpdateDelegates.UpdateAndExecute6[T0,T1,T2,T3,T4,T5,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5)
   at CallSite.Target(Closure , CallSite , Object , String , BindingFlags , Object , Object , Object )
   at ArtOfTest.InternetExplorer.IECommandProcessor.InvokeFunction(String functionCall, Boolean useEval, Boolean returnJson, IHTMLDocument2 doc)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommandInternal(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.Actions.InvokeScript(String script, Boolean refreshDom)
   at ArtOfTest.WebAii.ObjectModel.Element.GetValue[T](String propertyName, T defaultValue)
   at ArtOfTest.WebAii.ObjectModel.Element.GetValue[T](String propertyName)
   at ArtOfTest.WebAii.Controls.HtmlControls.HtmlRadioCheckboxControl.get_Checked()
   at ArtOfTest.WebAii.Controls.HtmlControls.HtmlRadioCheckboxControl.Check(Boolean isChecked)

Elena
Telerik team
 answered on 06 Nov 2019
3 answers
79 views

     Hello,

 

we are doing web testing using Telerik Test Studio. On our main test machine everything was working fine until recently. For no obvious reason Google Chrome stopped responding and can no longer be calibrated.

 

Clicking the "Calibrate" button just gives an entry into the log. The log from Test Runner shows this error:

Telerik.TestStudio.Scheduling.Client.exe(7412:15),TestStudio] ChromeConfiguration.GetBrowserConfigurationStatus() : Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.
Parameter name: input

 

We did not alter anything on the machine, there are scheduled runs on every hour. First few runs went through fine that day and then Chrome stopped responding. Any idea on how we can solve this?

 

Thank you, best regards.

Aleksandar

 

Elena
Telerik team
 answered on 04 Nov 2019
10 answers
135 views

I was trying to run a test to see the performance results when users log in to our University's portal and click on our Office 365 icon. However, I get an "Exception occurred waiting for the new browser to connect" error. I believe this is due to the fact that there are multiple redirects taking place once the icon is clicked and Test Studio can't capture each of them. These redirects are part of the process we have in place so that the user won't have to login to office 365 again. So is there anyway to capture multiple redirects? 

The test is basically as follows:

1. User navigates to our portal.

2. User enters their username and password

3. User signs in to Portal

4. User clicks on Office 365 icon.

5. Pop up window appears. (SSO and redirects occur in this step). 

6. User lands in Office 365 homepage

Elena
Telerik team
 answered on 31 Oct 2019
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?