Telerik Forums
Test Studio Forum
5 answers
440 views

I need to use the value from a variable to find an element to click.

The variable value is being extracted from a database using C# (data binding won't work because I am already bound to the data, but this value did not exist at the time of binding).

The variable name is varDocID

I am trying to use it to compare to the OnClick event of the image I need to click in a grid with many instances of the same image.

~$(varDocID) does not work as it does not use the value and only tries to comapre to the variable name instead of the variable value.

Please advise.

Elena
Telerik team
 answered on 15 Jan 2021
1 answer
557 views

Hi, 

 

Good day. As part of our Continues Integration (CI), we wanted to integrate azure devops build pipeline into our telerik test studio automation framework (or vice versa) so we can test incoming new build. Can you please point me to the right direction on how i can achieve this? Currently we have an existing automation framework (via Telerik Test Studio) which is triggered manually at the moment. 

 

Thank you

Elena
Telerik team
 answered on 14 Jan 2021
3 answers
93 views

Hi , 

I have a test list which has a test(with if and Else condition). I have 10 iterations. When I run the list, I have both If and Else conditions running. 

My question is  : After the test list is completed, Is there a way to find , how many times the if loop is executed.. ? How many times the else loop is executed  ? in the same test list.

 

Could you please help me on this.

 

Regards ,

Nithya A.

Plamen Mitrev
Telerik team
 answered on 12 Jan 2021
10 answers
220 views
I am trying Following code to validate check Box property
      
              SortedList<float, GridViewHeaderCell> columns = new SortedList<float,GridViewHeaderCell>();
              RadGridView grid = Pages.proj1.SilverlightApp.MasterDataGridTigerradgridview;
             GridViewHeaderRow header = grid.HeaderRow;

             IList<GridViewRow> rows = grid.Find.AllByType<GridViewRow>();
                    /*  GridViewCell cell = rows[r].Cells[StatusCol];
                       cell.User.Click(MouseClickType.LeftDoubleClick);
                       cell.Refresh();
                       
                       FrameworkElement Active = cell.Find.ByAutomationId("activeCheckBox");
                        if (Active.IsChecked == false)
            
                        Active.Check(true);*/

I am getting following error for last two row this code,
c:\Automation1\Manage Jobs\DATA\JobDimention\ADD_JobDimention.tstest.cs: Line 145: (CS1061) 'ArtOfTest.WebAii.Silverlight.FrameworkElement' does not contain a definition for 'Check' and no extension method 'Check' accepting a first argument of type 'ArtOfTest.WebAii.Silverlight.FrameworkElement' could be found (are you missing a using directive or an assembly reference?)
Can you you guide me how can i fix this issue?

Note : Check box in part of RadGridCell as shown in attached screenshot
Elena
Telerik team
 answered on 11 Jan 2021
9 answers
81 views

Our web application is actually made with Silverlight, because we have performance issues while testing.  Especially while entering something in textboxes.
Default values for KeyHoldTime is 100 ms and for TimeBetweenKeypresses 10 ms  -  for our application i have to change every value to 350 + 100 to be sure the value is correctly entered.  It's pain in the ass to edit every textbox manually...  Our bigger forms are made of 150-200 test steps and about 20-40 input boxes.

I coul'd find any settings for default values for these two.  It would be nice to set these per project.

The second problem we have is the "ClearCurrentText" setting, which seems to push random times the back button (instead until the input field is empty).  Longer strings like date+time is never completly cleared by this function, why the entry of the new values fails. Sometime only 1..2 chars are deleted, so also short text/number fields are not properly cleared.   So we click + push delete manually for every entry box.  that's not really what we hoped for from the software.  The time to create a properly running test for a bigger form is actually at 50 hours and more until it finally runs completely error-free several times. The most time we correting stuff TTS is doing wrong like clearing and entering.

Plamen Mitrev
Telerik team
 answered on 30 Dec 2020
9 answers
183 views

Hi,

I'm trying to connect Test Studio to a VisualStudio.com git repository.

 

When I enter the details into the Connect Source Control option it shows:

"Connection to remote repository successful!"

 

However having tried a few different options in this section I can't seem to ever get it to fail (even just entering the word 'anything' as the connection URL shows as successful.

 

 

After connecting, when trying to pull / push / etc it fails to connect, which suggests it never did in the first place:

"Error pushing to remote: Git Source Control: Failed to push items. failed to send request: A connection with the server could not be established"

 

I'm running 18.1.418.0.

Are there any prerequisites required? (I have Visual Studio 2017 installed on the machine and Git for Windows)

 

Elena
Telerik team
 answered on 18 Dec 2020
3 answers
99 views

Hi,

 

I've tried to record a basic WPF test, but when I select the .exe path of the application and click OK I get the following Error :

[...]MyPath\Config does not exit.(it actually says exit and not exist!)

Any idea what this may be? Should I configure something else before recording the WPF test?

Plamen Mitrev
Telerik team
 answered on 18 Dec 2020
3 answers
2.5K+ views

I installed the test studio extension on both chrome and edge (chromium). Unfortunately after loading the extension when trying to record a test, I get a  RESULT_CODE_KILLED_BAD_MESSAGE error message on both browsers. Even after removing the extension from both browsers, this error remains when I try to visit the URL that I tried recording. Not only am I very disappointed in the extension not working properly (the extension works on Firefox but refuses to record half the mouse clicks, but that;s a different story), but I would like my browsers to work properly again. Can anyone please help fix my browsers?

Plamen Mitrev
Telerik team
 answered on 09 Dec 2020
5 answers
84 views

I can't seem to access the Executive Dashboard from any server except the server where it is installed even if I use the IP of that server. The configuration form for it only allows the port to be configured while the one for the scheduling server allows an URL to be configured.

Is this intended?  It doesn't seem very useful to limit it to the server.  Is it just binding to the NETBIOS name (staging) because we aren't on a domain?  Is there a way to configure the bindings of the web server so that it can be public (within our intranet)?

Ex.
Works: http://staging:8085/results/dashboard;projectId=6dbbe3cd-2932-4382-ab5a-f51663416d99;projectName=Efficio%20Main%20Application
Does not work: http://192.168.0.30:8085/results/dashboard;projectId=6dbbe3cd-2932-4382-ab5a-f51663416d99;projectName=Efficio%20Main%20Application
-Bad Request - Invalid Hostname

Plamen Mitrev
Telerik team
 answered on 02 Dec 2020
1 answer
195 views

Hi there,

 

I'm trying to use the selenium sendkeys to input numbers in the KendoUI numricTextBox. But when I run the test the result returns the following:

"OpenQA.Selenium.ElementNotInteractableException : Element <kendo-numerictextbox class="c-input-time c-large k-widget k-numerictextbox ng-untouched ng-pristine ng-valid" name="uren"> is not reachable by keyboard"

Can you help me?

Elena
Telerik team
 answered on 02 Dec 2020
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?