Telerik Forums
Testing Framework Forum
1 answer
103 views
Hi,

I was able to use SendString in a text box, now it's not working anymore.

I'm able to use SetText succesfully though.
Boyan Boev
Telerik team
 answered on 29 Aug 2014
6 answers
112 views
Hello,

I recently downloaded a trial version of Test Studio and I'm having trouble getting the record and run functions to work in Firefox 30.0. IE, Chrome, and Safari all work perfectly, but Firefox does not run. I've read all of the tutorials I can find to fix this problem, but have had no luck in getting it to work. My extensions appear to be properly enabled. I've tried uninstalling and reinstalling both Firefox and Test Studio multiple times. My registry keys are all pointing to the correct place. But I am still unable to record and run tests.

I've attached a screenshot of the window that pops up in Firefox when I try to record and run tests. If someone could help me with this problem, I would be very grateful.

Also, when I click on the Exploratory Tool (the purple icon that was added with the extensions), I get an error message saying 'Cannot launch Telerik Exploratory Tool'. Is this connected to the problem I am currently having.

Thanks in advance,
Anna
Ivaylo
Telerik team
 answered on 27 Aug 2014
1 answer
359 views
Greetings,

My team is looking at what is required to keep in compliance with the license agreement when compiling on the build server and I'm receiving initial push back from our build engineers, stating they do not normally install third party frameworks on the build machine. 

Understood stipulations:
  • Our VS Test projects will not be released externally (only consumed / executed internally)
  • We, as a corporation, have an active support contract with Telerik.
I've reviewed the following forum posts, and Visio but am still unclear / have clarifying (possibly novice) questions: Questions:
  1. Is it possible to include the required WebAii dlls (or all if required for compliance) in a "dependencies" folder in our project, *solely* for compilation purposes, with the expectation that consumers within our team have Telerik Testing Framework locally installed for execution?  (Essentially checking the binaries into source control and referencing them from within the source control location)
  2. Is there a NuGet alternative so we can reference the NuGet package and have the solution dynamically reference the NuGet package.

I'm still pursuing discussions with our build engineers to implement at the Visio lays out, but if Telerik can provide clarification on what is / is not acceptable, it would be very appreciated.

Thanks!

Cody
Telerik team
 answered on 27 Aug 2014
1 answer
139 views
Hi,

I want to know if this Chrome extension https://chrome.google.com/webstore/detail/telerik-test-studio-chrom/pkkbbimilpjmghfhhppamgigileopnkc is configured for auto update, is auto update something built in the plugin or something I can configure mysef in Chrome setup?

Thanks,
Hatem.
Ivaylo
Telerik team
 answered on 26 Aug 2014
1 answer
143 views
Can you please provide sample code for Kendo Grid Sorting?
I didn't find a way to test this scenario.
Boyan Boev
Telerik team
 answered on 26 Aug 2014
1 answer
159 views
Hi Telerik Support Team,

In our application we have the following scenario which need to be verified: 
User enter a value into some input text box and change focus to another control. After verification JavaScript alert appears on the screen.

In code it looks like:

01 var alertDialog = AlertDialog.CreateAlertDialog(Manager.Current.ActiveBrowser, DialogButton.OK);
02 Manager.Current.DialogMonitor.AddDialog(alertDialog);
03 Manager.Current.DialogMonitor.Start();
04 DateInputBox.Focus();
05 DateInputBox.Value = "01/01/20014";
06 DateInputBox.InvokeEvent(ScriptEventType.OnChange);
07 DateInputBox.InvokeEvent(ScriptEventType.OnBlur);
08 alertDialog.WaitUntilHandled(15000);

During line 06 execution JavaAcript Alert appers and script hangs on the 06 line for a long time. The only one solution is to stop test execution. 

Do you have any suggestion how to implement the scenario?
Cody
Telerik team
 answered on 25 Aug 2014
7 answers
156 views
Hey guys,

I was just updating my testing framework to the most recent version (2014.2 618) after Firefox updated onto version 31.0.
Now I can't start Firefox from my usual code. Even Chrome (Version 36.0.1985.125 m) doesn't start anymore. Internet Explorer can be opened successfully.

Does anybody have the same behaviour or even a solution for me?

StackTrace: - mscorlib - ArgumentNullException (Chrome)
   bei System.IO.Path.Combine(String path1, String path2)
   bei ArtOfTest.WebAii.Messaging.Process.HostsProxy.Start()
   bei ArtOfTest.WebAii.Messaging.Process.HostsProxy.RegisterListener(MessageListener listener)
   bei ArtOfTest.WebAii.Messaging.Process.ExecutionMediator.RegisterManager(Manager manager)
   bei ArtOfTest.WebAii.BrowserSpecialized.Chrome.ChromeActions.LaunchNewBrowserInstance(Manager manager)
   bei ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
   bei ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle)
   bei ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect)
   bei ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch)


StackTrace: - ArtOfTest.WebAii - Wait for condition has timed out (Firefox)
   bei ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo, Object target)
   bei ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)
   bei ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
   bei ArtOfTest.WebAii.Core.Manager.WaitForBrowserToConnect(Int32 browserIndexToWaitFor)
   bei ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
   bei ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle)
   bei ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect)
   bei ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch)




Ivaylo
Telerik team
 answered on 22 Aug 2014
2 answers
54 views
Hi,

I'm a little confused here: I was trying to use generic Find.ByAutomationId<T> method that is supposed to return me actually FrameworkElement object for now (the same as non-generic method returns), but it returns me null. Though when I use non-generic sibling (Find.ByAutomationId) it seems to be working fine. Any ideas why it might happen? Cast problems? I was wondering if the method actually returns anything if it can't cast, but well, non-generic works. The element is definitely present in the xaml structure and has correct automation id (as proved by non-generic method once again).

Thank you,
Artem
Konstantin Petkov
Telerik team
 answered on 22 Aug 2014
1 answer
119 views
Hi Team,

I am searching for Telerik Test Studio offline documentation, but i can't see any link. Due to Internet problem its hard to visit online documentation.



Thanks,

Kamran Asim
Cody
Telerik team
 answered on 14 Aug 2014
7 answers
306 views
Hi there.

In WatIn, you can do stuff like this:

WebBrowser.Current.TextFields.First(Find.ByLabelText(labelText)).TypeText(value);

Which finds a textbox by it's associated label and sets the text for that textbox. Is there a WebAii way of doing the above i.e. finding a textbox by the label associated to it?

Cheers.
Jas.
Cody
Telerik team
 answered on 14 Aug 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?