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
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
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
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
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?
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