Telerik Forums
Test Studio Forum
3 answers
631 views

Hi team,

The kendo angular dropdown is working in some places and not working in some places. 
 
I have kendoangularautocomplete step in 2 places, In one place it is working fine but in other place it is not working,  it seems like the step is passing but not taking the value from drop down.
 
Previously it is recorded with field ID(from html Id), 
but now when try to record the same step it is recording with some other id(like guid). 
attached screenshots for previous recorded and new recorded.

I am using  30 days trial version, and there is no changes in developing side,

So, can you please help me on this issue

 

Thanks & Regards

Srilatha

Elena
Telerik team
 answered on 06 Nov 2020
5 answers
327 views

We have created UI tests using the DEV plugin.

The Project code gets committed to SVN and then the Test is executed via Bamboo as a task using ArtofTest.Runner:

C:\Program Files (x86)\Progress\Test Studio\Bin>ArtOfTest.Runner list="D:\Bamboo
_Home\xml-data\build-dir\FLON-FLOM-JOB1\src\TestStudioProject\TestLists\TestList
2.aiilist"

 

The test execution does start and the tests gets executed but once the browser is openend , there is an error message : Localhost refused to connect.

 

TestStudio_Runtime_2020_2_0910_1 is installed and configured on the machine that execute the test.

 

Please see attached screengrab.

Thanks

 

 

 

 

Elena
Telerik team
 answered on 26 Oct 2020
1 answer
171 views

Hi, 

I don't have much idea about the Devops integration. I am trying to learn about this. So, please help me:)

I read the below link and I have a question if the Devops integration is only possible for "Telerik test studio- Dev Edition" ? or is it possible for Standalone also  ?

https://docs.telerik.com/teststudio/system-requirements#test-studio-vs-plugin

 

 

Regards,

Nithya A.

Elena
Telerik team
 answered on 16 Oct 2020
2 answers
154 views

I have a line of code to combine two variables:

string expectedValue = $"{testVariable1}-{testVariable2}";

This works fine when I execute this from Visual Studio plug-in but I get an compile error in Test Studio with a message, ": error CS1056: Unexpected character '$'".  Is this a known issue?

 

Thanks,

-Jiyoon

Elena
Telerik team
 answered on 16 Oct 2020
9 answers
301 views

Hello, 

 

What is the best way to verify the filename set with the download dialog that opens during a test? I tried to edit in code but didn't have the option on that step. Thanks in advance!

Plamen Mitrev
Telerik team
 answered on 16 Oct 2020
2 answers
166 views

I have a Test As Step that does a simple login.

I use this test in another test that does work.

How do I databind the Test-As-Step inside another test that uses it as a Test-As-Step?

The goal is to run my main test many times, signing in each iteration base don a databinding of username/passwords.

 

 

 

Elena
Telerik team
 answered on 25 Sep 2020
8 answers
272 views
Hi,

I need to test the ability for a web application to draw a box(using drag and drop).  My script needs to be able to draw a box in a unique location every time i run it.  So i need to randomize where the boxes are drawn AND make sure that boxes are not drawn in areas where there is already a box.  Is there an easy solution for this using a coded step or using the Telerik UI itself?  Any help is much appreciated!

Thanks,
Dan
Elena
Telerik team
 answered on 21 Sep 2020
7 answers
1.4K+ views

Hi,

It is possible to automate a test which selects a file from your computer and upload it online? I tried to scan the windows of my computer which show when you click the upload button online but it seems it is not possible.

Thank You

kosmiktechnologies.com

Elena
Telerik team
 answered on 21 Sep 2020
1 answer
191 views

Hi,

I was trying to look for a Kendo Menu to click on using C# code but I keep hitting error "System.NullReferenceException: Object reference not set to an instance of an object."

The DOM where the element is located is as per the attached image.

I tried using the element reference from Element Repository to perform actions but I keep hitting error:

1.Pages.Home.Menu_Setup.MouseHover(0, 0, ArtOfTest.Common.OffsetReference.AbsoluteCenter);
2.Pages.Home.Menu_Setup_Contract.MouseHover(0, 0, ArtOfTest.Common.OffsetReference.AbsoluteCenter);
3.Pages.Home.Menu_Setup_Contract_MasterPriceList.Click(false);

 

Failure Information:
~~~~~~~~~~~~~~~
Exception thrown executing coded step: '[Coded_Master_Price_List_CodedStep1] : Master Price List Entry'.
InnerException:
System.ArgumentException: Invalid tag name 'span' for this control. Control was expecting 'li'

 

Then the code is amended based on the documentation here to try looking for the element's parents and perform clicking:

1.IList<KendoMenuItem> itemList = ActiveBrowser.Find.AllByAttributes<KendoMenuItem>("role=menuitem");
2.HtmlFindExpression li = new HtmlFindExpression("title=SETUP","innertext=~Setup");
3.li.AddHierarchyConstraint(new HierarchyConstraint(new HtmlFindExpression("role=menuitem"), -1));
4.KendoMenuItem menuSetup = Find.ByExpression<KendoMenuItem>(li);
5.menuSetup.Click();

 

Then the error is hit:

Failure Information:
~~~~~~~~~~~~~~~
Exception thrown executing coded step: '[Coded_Master_Price_List_CodedStep1] : Master Price List Entry'.
InnerException:
System.NullReferenceException: Object reference not set to an instance of an object.

 

Can I please ask for help on which part is wrong in this code?

Thank you.

 

Plamen Mitrev
Telerik team
 answered on 15 Sep 2020
6 answers
153 views
Hello

I have a that call a test as a step. I've noticed that there are no storyboards recorded for the step as a test part.  I've also tried to recapture and it does recapture the storyboard images, but not the step test parts of it.

For example, I have another test that calls a navigation/login step test which is the same although with that one I can run the first step by itself to get the images, then run the next part to continue.  Annoying but doable. 

I have another test that is reversed, ie does a login and then calls a step to do the rest.  There is no obvious way I can capture the step images after the login part is done.

I would expect that I should be able to view all images that are part of a test, whether the steps are part of the test or are called in it from another test.

Also, it would be very handy to be able to click through to a test step rather than having to go back to the project tab each time.

Thanks
Cristal
Top achievements
Rank 1
 answered on 14 Sep 2020
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?