Telerik Forums
Test Studio Forum
1 answer
161 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
142 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
283 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
144 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
256 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.3K+ 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
178 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
146 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
4 answers
164 views

The August update has not worked well for me so I've been doing allot of uninstalls followed by cleaning of data folders.  For the most recent uninstall I also removed Mondo and it's data.  But after the reinstall, the one test I had scheduled (because I had to redo them ALL) was still there.  So I was wondering that I'd not removed all of the data in the last uninstall.

Because in the first uninstall of the March update followed by the install of the August update, I lost all my scheduled tasks.  But after doing the more thorough 2nd uninstall mentioned above, the one item I had scheduled was there. 

1. Removed March
2. Installed August - all prior scheduled tasks (12) are gone - BOO
3. Add one task
4. Encountered unrelated problem adding second task
5. Thorough uninstall, including Mondo and Progress Program Data
6. Installed August - the one scheduled task from step 3 was still there - HOW?

So it stinks that I can't backup or somehow save scheduled tasks and strange that when I don't need to retain them that they are magically retained.

 

Plamen Mitrev
Telerik team
 answered on 11 Sep 2020
1 answer
197 views

Hello,

I'm needing a smidge of help on this one :) 

I am looking to obtain a div after the innertext of a specific h5.  as you can see below.  I have an h5 tag titled peoplefinder then a p tag with "text options" as the inner text.

What I'm wanting to do is select the proper text options inner text based on the h5 that's right before it, as text options is prevalent throughout.

<div data-v-03e70c58="" class="card-body">
    <div data-v-03e70c58="" class="card-icon"><svg data-v-03e70c58="" aria-hidden="true" focusable="false" data-prefix="fal" data-icon="chevron-right" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" class="svg-inline--fa fa-chevron-right fa-w-8"><path data-v-03e70c58="" fill="currentColor" d="" class=""></path></svg></div>
    <h5 data-v-03e70c58="" class="card-title">peoplefinder</h5>
    <p data-v-03e70c58="" class="card-text">Text Options</p>
</div>
Plamen Mitrev
Telerik team
 answered on 26 Aug 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?