Telerik Forums
Testing Framework Forum
3 answers
237 views
When I'm trying to run in safari I got this kind of error 

"Safari can't install this extension
An error occurred while installing the extension 'Telerik Test Studio Automatic Extension"

I already tried to uninstall my safari and download the latest one, it still didn't work.

For Chrome, it did work, but when i started it point to "http://localhost:46527/WebUI?1686252949" and with message "Preparing browser for automation..." After that nothing. It doesn't start or anything, just stop there.

Firefox also have the same problem, the only difference is it point to "http://localhost:46023/WebUI?423414062" 

Why this happen? I already get the green light for all of my browsers from browser calibration.

Can anyone help me?


Boyan Boev
Telerik team
 answered on 18 Feb 2016
11 answers
236 views

Hello there,

I am working with Telerik Test Studio for my company, and the tool is proving to be very effective in managing our web applications testing needs.

Anyway I am still learning and I've encountered some problems working with dynamically generated HTML tags and IDs.

My webapp employs Kendo Treeview: what I need to do is end up with a runnable test that cycles through all the folders and subfolders of a Kendo Treeview and deletes them one after the other, unregarding the single UIIDs it finds (in a way that it could be ran again without modifying it).

Up until now I've correctly managed to access a specific folder in the treeview (using the DOM features of the test recorder/runner) to delete it just once, but my problem relies in the dynamic naming of the single HTML elements which build up the treeview.

If i record a test that deletes a specific folder, since it uses a delete link specific for one UIID, that test step from that moment on would be useless: I will not be able to run through it again to delete another folder in the same spot with the same name, because it would actually have different ID from the one with which I've recorded that step.

I need to end up with a test that, every time I run it, doesn't crash at the step to delete a treeview folder because he's not locating one specific folder with a specific (expired) UIID, but that deletes them all in order, without caring about the dynamically labeled attributes of the scripted elements it deletes.

 

I hope I wasn't too obscure and that I managed to explain my rather simple problem (which is nevertheless making me go nuts).

Thank you to anyone who can help.

bye

Vanya Pavlova
Telerik team
 answered on 18 Feb 2016
1 answer
91 views

Hello,

 I am working with Coded UI testing framework.

It all hand coded and i am passing HTML ID and Name values to locate the controls and perform action automatically.

 We are using Telerik reports where it getting generated dynamically per data.I want to assign id for each HTML controls (For example Hyperlinks on reports) but i am not sure how to achieve it. If possible i would like ID to be generated dynamically per report generation based on its data.

If possible please provide me solution for the same.

 Thanks

Ivaylo
Telerik team
 answered on 17 Feb 2016
6 answers
139 views
I have a bunch of tests written using the free Telerik testing framework.  On the site I am testing I have to grab an iframe and set it to a browser object.  This used to work great when I was using IE9.  I upgraded to IE11 and can no longer grab my iframe.  None of my hundreds of tests will work unless I can set this iframe to a browser object.  Here is the line of code I am using that worked with IE9 but no longer works in IE11.

Browser cw = ActiveBrowser.Frames["CwForm"];

If anyone has a suggestion on how to fix this please help.  It is really important I get this resolved.
Ivaylo
Telerik team
 answered on 05 Feb 2016
16 answers
483 views
My small team of 4 is attempting to launch a new browser using Manager.LaunchNewBrowser. Chrome is set as the default browser, but the browser never opens  the error in the title is shown. Please help.
Boyan Boev
Telerik team
 answered on 04 Feb 2016
1 answer
132 views

Hi,

I was hoping to use Testing Framework to drive a UWP application developed (using Telerik's UI for Universal Windows library).

Is this possible?

I've not used the Testing Framework so far, but obviously trying to do :

WpfApplication wpfApp = Manager.Current.LaunchNewApplication(@"C:\Projects\WpfApplication2\bin\Debug\WpfApplication2.exe");

 doesn't work as VS2015 throws an exception about "This application can only run in the context of an app container".

 Any ideas?

 

Many thanks,

Darran

Boyan Boev
Telerik team
 answered on 03 Feb 2016
3 answers
100 views

Hi, 

The scenario is , I have a silverlight application and I have created testcases using Telerik Framwork. I'm able to run the tests in my development machine. I tried to create a Setup project for  the same. I want to run the test cases from this setup which would get installed in my machine. its possible from my current development machine. Now i tried to install the setup in a different machine, where i have telerik Framework , .net 4.6 and silverlight installed. VS is not a prerequisite. But here I run into  a "Wait for condition has timed out exception" when the LaunchNewBrowser() is executed.

Here is my sample code:

// Initialize the settings
var settings = GetSettings()
settings.Web.EnableSilverlight = true;
settings.Web.DefaultBrowser = BrowserType.InternetExplorer;
settings.Web.BaseUrl = BaseUrl;
Initialize(settings);
Manager.LaunchNewBrowser();
ActiveBrowser.NavigateTo(BaseUrl);
 

Can someone help me with this.

Thanks in Advance,

Stephly

Boyan Boev
Telerik team
 answered on 29 Jan 2016
1 answer
118 views

I have created a project using the Testing Framework. It works great on my local PC, however when I copy it to my server I get an error telling me that ArtOfTest.WebAii.dll was not found.

 

I have installed the Testing Framework on the server however it seems like it's unable to find it.

Howdo I specify the location of the Telerik testing framework?

Boyan Boev
Telerik team
 answered on 25 Jan 2016
1 answer
77 views

Hi There,

 

Is there any way to automate existing instance of browser ?

we need to automate existing instance of browser to get rid of load of regression testing again and again.

any code or module or any way to do it ?

 

Thanks

Rakii

Boyan Boev
Telerik team
 answered on 25 Jan 2016
10 answers
650 views
Hi

How do i simulate what happens when a user press ENTER?

Scenario:
User fills in login information and while password field has focus hits enter to login.

I need to automate that scenario, but i can't use Desktop.KeyBoard because it has to work on a locked screen.

How can i do that using Telerik?


I know selenium can do something like .Sendkeys("\n"); for a ENTER key. (which works on locked screens)
Boyan Boev
Telerik team
 answered on 22 Jan 2016
Narrow your results
Selected tags
Tags
+9 more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?