Telerik Forums
Test Studio Forum
1 answer
135 views
Hi, 

I want to launch chrome with arguments "--enable-logging --v=1".
As far as i can seee, chrome arguments are hardcoded in the LaunchNewBrowserInternal  
method. 


private static void LaunchNewBrowserInternal(string startUrl)
{
      string str = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Google\\Chrome\\Application\\chrome.exe");
      if (!System.IO.File.Exists(str))
      {
        str = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), "Google\\Chrome\\Application\\chrome.exe");
        if (!System.IO.File.Exists(str))
          throw new FileNotFoundException("Chrome browser is not installed on this machine", str);
      }
      string arguments = string.Format("-new-window -home-page {0}", (object) startUrl);
      Process.Start(new ProcessStartInfo(str, arguments)
      {
        Verb = "open",
        WindowStyle = ProcessWindowStyle.Normal
      });
 }


But I can pass "arguments" to the public LaunchNewBrowser method. Is this a bug? 
thanks,
stefan.
Stoich
Telerik team
 answered on 29 Jun 2012
2 answers
128 views
Hi Team,

Is it possible to create our own object repository,  so that it can be easily editable and maintained if any page element object get changed, as pages.g.cs file is read only?

Problem we are facing is that our Automation Test Suite would be having thousand of test cases and to maintain and update them as per any changes in application may become cumbersome for us without any updatable Object repository. Please suggest a work around for this.

Thanks,

Anuj
Anuj
Top achievements
Rank 1
 answered on 29 Jun 2012
1 answer
65 views
With the goal of building end to end scenarios I have a pyramid of tests and putting them together so they all work flawlessly. The biggest pet peeve I have with Test Studio is that when I am in a test and I click on a subtest (test as a step), I can not easily return to the parent test.

I think a excellent feature would be to add a button synonmous to the standard internet browser back button where when clicked brings you to the last test accessed... This would make debugging large end to end scenarios much easier!

Cheers
Jon
Byron
Telerik team
 answered on 28 Jun 2012
1 answer
109 views
Hi,

Application --> Click on button which open Silverlight window --> Select Element inside(Cell) rows/columns grid
While recording its able to identify elements and shows circle/nub while playing this recording fails to select that element.

Thanks,
Deepak
 
Anthony
Telerik team
 answered on 28 Jun 2012
19 answers
308 views
Hello, I am creating a test for my company's WCM application and when I add the invocation of the OnClick event on an HTML element, the step just hangs once the OnClick finishes.

I have looked everywhere and was unable to find a solution to this issue.  Any help would greatly be appreciated. 

Exception message follows:

ArtOfTest.Common.Design.Exceptions.ExecutionException: Wait for condition has timed out ---> System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.WebAii.Core.Browser.WaitUntilReady()
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
   at ArtOfTest.WebAii.Core.Actions.InvokeEvent(Element targetElement, ScriptEventType eventType)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.InvokeEventActionDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
   --- End of inner exception stack trace ---
Anthony
Telerik team
 answered on 27 Jun 2012
3 answers
90 views
Hi

I have not seen any feature where test cases created by recording can be executed as bulk or one project /pack. Is there any feature available. Please let me know the steps.

Thanks
Prashanth
Anthony
Telerik team
 answered on 27 Jun 2012
2 answers
153 views
I have written a very simple plugin for submitting bugs to our company's issue tracker.  This plugin does no more than send an e-mail to the issue tracker's watched e-mail address.

The plugin works fine on my machine:
 - Windows 7 64-bit
 - Visual Studio 2010
 - Test Studio Express

But after putting the .dll in the plugins/bugtrackers directory of my co-worker's machine it does not show up.
 - Windows 7 32-bit
 - Test Studio (Standalone)

I have devoured the documentation at...
http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/extensions/bug-tracking/custom-plugin.aspx 
and have not seen anything to suggest what I am doing wrong.

I've tried building it using both the 4.0 and 3.5 framework versions, and as both anycpu and x32 platforms.

Is there a way to generate a log to help me figure out what is going wrong, or does anyone have any other suggestions?

Thanks,
Mark














Mark
Top achievements
Rank 1
 answered on 26 Jun 2012
1 answer
137 views
Hi,

I have to automate an application which is developed using kendo controls. I want to access kendo grid control.
Can you provide a sample code for accessing kendo grid.


Thanks in advance,
Chaitanya.
Plamen
Telerik team
 answered on 26 Jun 2012
2 answers
95 views
Hello,
Test Studio Ver: 2012.1.411.0

I have an ajax text field, and when I insert a string, the string shows up, but to get the data to stick when submitted I have to simulate a physical left click on the form.

How can I simulate a physical click without actually simulating a physical click?

I have tried applying every javascript modifying to the object, and the objects that contain it with no luck.

Thanks
Jon
Jon
Top achievements
Rank 1
 answered on 26 Jun 2012
4 answers
120 views
Hello,
Test Studio Ver: 2012.1.411.0

When I'm playing back a test that clicks a link, the test studio overlay appears saying that it is connecting to the webpage, but my test keep going underneath and that 'connecting to page' overlay messes with my test as their is some physical mouse click simulations.

How can I wait until the connecting to page overlay has finished?

Thanks for the help guys!
Jon
Jon
Top achievements
Rank 1
 answered on 26 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?