Telerik Forums
Test Studio Forum
1 answer
85 views
Hi,
I am new to telerik. I am doing a web automation now. In the web page there is a browse button, when I click it, a pop-up window appears. After that code is getting stopped. I am not able to proceed further. Actually I want to give a path in that pop-up window that appears, but I am not able to.
Could you please help me to solve this issue.
Thanks in advance :)
Elena
Telerik team
 answered on 24 Mar 2016
2 answers
55 views

Hi there, was trying to record a step to login to Sitefinity back-end 

 

1) Enter the URL to record (eg: xxx.com/sitefinity) 

2) ASP.NET error showed access denied error 

A quick respond will help alot in us evaluating the test studio to be used. 

Sam
Top achievements
Rank 1
 answered on 24 Mar 2016
3 answers
102 views
I need to record some tests for android built-in Browser but I don't know how to obtain it's id. I've tried com.android.Browser and Browser without success. 
Boyan Boev
Telerik team
 answered on 22 Mar 2016
1 answer
80 views
I made a simple WPF app and recorded a test where I right click and choose paste. However when i play the test it doesnt work. Please look at the attached video.
I tried highlight the paste option and add it to the DOM but the element cannot be found.
Boyan Boev
Telerik team
 answered on 22 Mar 2016
3 answers
109 views

Hi ,

How do we use 'find by expression' code on Kendo UI elements in test studio.

Example: I have 'KendoMenuItem'  which I want to click by using the code .

I want to later turn it into a reusable ​test and be able to click different menu items each time by passing the 'innertext' as variable/parameter.

On recording the properties of one such element look like this -

ControlType: Telerik.TestingFramework.Controls.KendoUI.KendoMenuItem

Expression: data-role=menu,role=menubar,|,TagName=li,InnerText=^Sales

cam you please help me write a code to get this element clicked.

 Best Regards,

Sprithi  HK

Boyan Boev
Telerik team
 answered on 21 Mar 2016
9 answers
294 views
My folders are currently organized in this manner:

Project -> Tests + (Folders  -> Tests )

In a test under the folder, i have a coded step to run a test based on an IF Condition but i am getting an error

Exception thrown executing coded step: '[Forms_Selection] : Selection'.
InnerException:
System.IO.FileNotFoundException: Unable to find test 'C:\Program Files (x86)\Telerik\Test Studio Projects\MPL_Project\..\PL 0001A 0909'
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteTestInCurrentContext(String relativeTestPath)
   at ArtOfTest.WebAii.Design.BaseWebAiiTest.ExecuteTest(String relativeTestPath)
   at Forms_Selection.Forms_Selection() in C:\Program Files (x86)\Telerik\Test Studio Projects\MPL_Project\Forms\Forms_Selection.tstest.vb:line 80

The test as step does not seem to find the file in the folder structure.

Konstantin Petkov
Telerik team
 answered on 18 Mar 2016
1 answer
97 views

Hi ,

I have an element with following properties

Name= TestMenuMnActiveListItem  (element added by highlighting and using option Add to Elements)     

ControlType = Telerik.TestingFrameworks.Controls.KendoUI.KendoMenuite

Expression : "data-role=menu,|,TagName=li,InnerText=^Sales,class=k-item k-state-default rootMenuItem"

When I run the recorded step  'Click  TestMenuMnActiveListItem' it works ok. 

But I want to find this element through code and then click it so as to be able to make a reusable test for multiple menu items.

I used the below code but it doesn't recognize the element. Can you please help me in fixing this.

Dim MenuExpr as New HtmlFindExpression("data-role=menu","|","TagName=li","InnerText=^Sales","class=k-item k-state-default rootMenuItem")                                         
  
Dim MenuItem as KendoMenuItem = Pages.HttpsWwwRambase1.Find.ByExpression(of KendoMenuItem)(MenuExpr )
  
MenuItem .Click

 

Thanks,

Sprithi

 

Ivaylo
Telerik team
 answered on 18 Mar 2016
3 answers
136 views
Is there a way to automatically pubilsh (or share) performance results of scheduled test lists? Auto-email? Dump in a file in a shared location? Publish to TFS?

I've seen where and how I can do this with simple pass/fail results, but I'm concerned with the performance metrics of scheduled performance test runs that I setup.
Elena
Telerik team
 answered on 16 Mar 2016
1 answer
92 views

Hi, i have a question. I want to create a test that is "dynamic" meaning, when the test has finished to run, it will go back to the beginning take another url, and will run again on the new url. what i need is a loop test that will receive different parameters in each run, but the test steps are the same.

Is that possible in test studio?

Thanks for any help.

Boyan Boev
Telerik team
 answered on 16 Mar 2016
2 answers
157 views

Hello,

I have a problem with extracting a value form Kendo Grid.
The table is with three columns and I want to extract the text in second column of the first row. The second column cointains a full name of person.
Every time I run the test the full name in second column is different and I want to get this full name and use it for later.
I do the extraction with Quick Tasks.

Example:
Extract-kednoGrid:[2, 0] Cell text is "FirstName SecondName LastName"

and I change only the DataBindVirableName to FullNameTableCell (for example)

But when I run the test gives me the following error:

Value cannot be null.
Parameter name: key
InnerException:
System.ArgumentNullException: Value cannot be null.
Parameter name: key
   at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at ArtOfTest.Common.Design.Extensibility.ExtractionDataStore.AddToStore(VerificationDescriptor descriptor, DescriptorValueStore values)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)

Boyan Boev
Telerik team
 answered on 16 Mar 2016
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?