Telerik Forums
Testing Framework Forum
1 answer
82 views
I have several Firefox installed in my PC.
I am using Sandboxie to start Firefox, like this:

"C:\Program Files\Sandboxie\Start.exe" "d:\FirefoxTest_1\firefox.exe"

"C:\Program Files\Sandboxie\Start.exe" "d:\FirefoxTest_2\firefox.exe"

 
My test code is something like this:


// Launch an instance of the browser
Manager.LaunchNewBrowser(BrowserType.FireFox);

            
// Navigate to : 'http://localhost:12345/Default.aspx'
ActiveBrowser.NavigateTo("http://localhost:12345/Default.aspx", true);



Thanks.

 

Cody
Telerik team
 answered on 17 Apr 2014
1 answer
82 views
Hello

I'm having an issue where the ComboBoxItems are not being recognized in Silverlight. I am using a standard ComboBox with the attached style.

Other Combo Boxes seem to work find but this one uses a Control template with some additional features. When I view it in SilverlightSpy I can see the items fine (see attached).

My code
            var combo = _silverlightApp.Find.ByName<ComboBox>("cbFacilityTypes");
            //Items = null

I have tired 
            combo.Find.ByType<ComboBoxItem>();
            combo.Find.ByType<TextBox>();
            combo.IsDropDownOpen = true;            
            combo.Refresh();
            combo.ItemsPopup.Refresh();
           //looping through children the ScrollContentPresenter is always empty.
           //in the screen I can see it expanding the right combo but it just cant find any of the child controls but I can see them in SilverlightSpy

Any help much appreciated
Thanks







Konstantin Petkov
Telerik team
 answered on 17 Apr 2014
2 answers
121 views
Hello

I'm having an issue where the ComboBoxItems are not being recognized in Silverlight. I am using a standard ComboBox with the attached style.

Other Combo Boxes seem to work find but this one uses a Control template with some additional features. When I view it in SilverlightSpy I can see the items fine (see attached).

My code
            var combo = _silverlightApp.Find.ByName<ComboBox>("cbFacilityTypes");
            //Items = null

I have tired 
            combo.Find.ByType<ComboBoxItem>();
            combo.Find.ByType<TextBox>();
            combo.IsDropDownOpen = true;            
            combo.Refresh();
            combo.ItemsPopup.Refresh();
           //looping through children the ScrollContentPresenter is always empty.
           //in the screen I can see it expanding the right combo but it just cant find any of the child controls but I can see them in SilverlightSpy

Any help much appreciated
Thanks







Konstantin Petkov
Telerik team
 answered on 17 Apr 2014
2 answers
86 views
Hi

While (true)
{
    using (Manager manager = new Manager(false)
    {
        manager.Start();
        manager.LaunchNewBrowser(BrowserType.Chrome, true);
        manager.ActiveBrowser.WaitUntilReady();
        Console.WriteLine(manager.ActiveBrowser.Window.Exists);
        manager.ActiveBrowser.Close();
    }
}

Chrome browser.Window.Exists == null when starting for the second or third time.

This does not repro with IE nor with FF.
uteotw
Top achievements
Rank 1
 answered on 17 Apr 2014
1 answer
105 views
Hello forum users,

  I have a problem, to find a button via id on my page. The button has the id "test" and is surrounded by a section with the id "testform".

If I try to find my button with
 
HtmlInputSubmit myButton = Find.ById<HtmlInputSubmit> ("test");

I get null.
If I try
 
Element myButton = Find.ById ("test");

I get the surrounding section instead of the button. Very annoying.

It seems, that the Find.ById makes no exact search, but searches with contains, so that the first element, that contains my search text is found. It makes no different, if my form id is "testform" or "formtest"

My Form:
<section id="testform">
   
<h2>Headline</h2>
    @using (Html.BeginForm(new { ReturnUrl = ViewBag.ReturnUrl }))

    {

        <
input type="submit" class="k-button" value="Click me" id="test" />
    }

</
section>

PS: I'm using MVC 4.0 with razor syntax and .NET 4.0, VS 2010 Professional SP1, Telerik Testing Framework 2013.2

Greetings
  Thomas
Ivaylo
Telerik team
 answered on 16 Apr 2014
3 answers
241 views
Hello,

With the SHDocVw.InternetExplorer class you can do things like InternetExplorer.Document.Forms.FormName.Submit() and have a form submit without an actual submit button.

How can I replicate this behavior with the Testing Framework?

I can grab the form into an HTMLForm variable, but cannot figure out how to submit it.

For example:

<FORM style="POSITION: absolute; DISPLAY: none" id=frmRootDocument method=post action=controller.aspx target=appContentFrame>

The site is not public, so that's the best I can do.

Thanks.
Boyan Boev
Telerik team
 answered on 11 Apr 2014
6 answers
145 views
Hello,

I've got problems launching IE on Windows Server 2008. The browser opens, but nothing happens after it. The env is: Windows Server 2008, IE 9, Webaii 2013.2.1327.0. 

The stacktrace is 

Unhandled Exception: System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraException
Info, Object target)
   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.Manager.WaitForBrowserToConnect(Int32 browserIndexTo
WaitFor)
   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch
, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String argume
nts)
   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser()

And the tracelog is 

[03/26 15:24:59,ConsoleApplication1.exe(16068:1)] First trace message from process 16068: ConsoleApplication1.exe
[03/26 15:24:59,ConsoleApplication1.exe(16068:1)] First trace message from foreground unnamed thread (managed ID = 1, native ID = 11724).
[03/26 15:24:59,ConsoleApplication1.exe(16068:1),DialogPlayback] DialogMonitor.Start() : Beginning monitoring for dialogs from the set {}.
[03/26 15:24:59,ConsoleApplication1.exe(16068:5)] First trace message from background thread "UAI Dispatcher Thread" (managed ID = 5, native ID = 5720).
[03/26 15:24:59,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:24:59,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:00,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:01,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:01,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:01,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:01,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:01,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:01,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:01,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:01,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:01,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:01,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:01,ConsoleApplication1.exe(16068:1),Framework] InternetExplorerActions.LaunchNewBrowserInstance() : Process launched (ID=16088, Path="C:\Program Files (x86)\Internet Explorer\iexplore.exe", Arguments="-nomerge about:blank").
[03/26 15:25:01,ConsoleApplication1.exe(16068:1),Framework] InternetExplorerActions.LaunchNewBrowserInstance() : Attempting to attach on IE frame (HWND=263882)...
[03/26 15:25:01,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:01,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:01,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:01,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:01,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:01,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:01,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:01,ConsoleApplication1.exe(16068:1),Error] RegistryHelper.PerformActionOnCurrentKey() : Cannot locate SOFTWARE\Telerik\TestStudio\Frameworks\WebAii 2013.2
[03/26 15:25:01,ConsoleApplication1.exe(16068:1),Framework] InternetExplorerActions.LaunchNewBrowserInstance() : Process "ConsoleApplication1" (ID=16068) is assumed to host the controller.
[03/26 15:25:01,ConsoleApplication1.exe(16068:1),Framework] Connector.InjectCode() : ------- Function Start -------
[03/26 15:25:01,ConsoleApplication1.exe(16068:1),Framework] Connector.InjectCode() : Connection string: C:\Users\heisenberg\Desktop\test\ArtOfTest.InternetExplorer.dll?ArtOfTest.InternetExplorer.ArtOfTestPluginEntryPoint?16068
[03/26 15:25:01,ConsoleApplication1.exe(16068:1),Framework] InternetExplorerActions.WaitForDocument() : Attempting to get IHTMLDocument2 from Internet Explorer HWND 67692 on another thread...
[03/26 15:25:01,ConsoleApplication1.exe(16068:9)] First trace message from pool thread "WaitAsync polling wait worker" (managed ID = 9, native ID = 7584).
[03/26 15:25:01,ConsoleApplication1.exe(16068:9),Framework] <>c__DisplayClassf.<WaitForDocument>b__8() : Attempting to get document from window handle
[03/26 15:25:01,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:01,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:02,ConsoleApplication1.exe(16068:1),Framework] InternetExplorerActions.WaitForDocument() : IHTMLDocument2 successfully retrieved.
[03/26 15:25:02,ConsoleApplication1.exe(16068:1),Framework] Connector.InjectCode() : Sending WM_COPYDATA to HWND 67692 (lpData = "C:\Users\heisenberg\Desktop\test\ArtOfTest.InternetExplorer.dll?ArtOfTest.InternetExplorer.ArtOfTestPluginEntryPoint?16068")...
[03/26 15:25:02,ConsoleApplication1.exe(16068:1),Framework] Connector.InjectCode() : Returned from sending WM_COPYDATA (LRESULT=0, GetLastError()=ERROR_ALREADY_EXISTS).
[03/26 15:25:02,ConsoleApplication1.exe(16068:1),Framework] Connector.InjectCode() : ------- Function End -------
[03/26 15:25:02,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:05,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:05,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:05,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:05,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:05,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:05,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:05,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:05,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:05,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:05,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:05,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:05,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:05,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:05,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:05,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:05,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:05,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:05,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:05,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:06,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:06,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:06,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:07,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:07,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:07,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:07,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:07,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:07,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:07,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:07,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:07,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:07,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:07,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:25:07,ConsoleApplication1.exe(16068:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:08,ConsoleApplication1.exe(14868:1)] First trace message from process 14868: ConsoleApplication1.exe
[03/26 15:42:08,ConsoleApplication1.exe(14868:1)] First trace message from foreground unnamed thread (managed ID = 1, native ID = 15420).
[03/26 15:42:08,ConsoleApplication1.exe(14868:1),DialogPlayback] DialogMonitor.Start() : Beginning monitoring for dialogs from the set {}.
[03/26 15:42:08,ConsoleApplication1.exe(14868:5)] First trace message from background thread "UAI Dispatcher Thread" (managed ID = 5, native ID = 18784).
[03/26 15:42:08,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:1),Framework] InternetExplorerActions.LaunchNewBrowserInstance() : Process launched (ID=21076, Path="C:\Program Files (x86)\Internet Explorer\iexplore.exe", Arguments="-nomerge about:blank").
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:1),Framework] InternetExplorerActions.LaunchNewBrowserInstance() : Attempting to attach on IE frame (HWND=133674)...
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:09,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:10,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:10,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:10,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:10,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:10,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:10,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:10,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:10,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:10,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:10,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:10,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:10,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:10,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:10,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:10,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:10,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:10,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:10,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:10,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:10,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:10,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:10,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:10,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:10,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:10,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:10,ConsoleApplication1.exe(14868:1),Error] RegistryHelper.PerformActionOnCurrentKey() : Cannot locate SOFTWARE\Telerik\TestStudio\Frameworks\WebAii 2013.2
[03/26 15:42:10,ConsoleApplication1.exe(14868:1),Framework] InternetExplorerActions.LaunchNewBrowserInstance() : Process "ConsoleApplication1" (ID=14868) is assumed to host the controller.
[03/26 15:42:10,ConsoleApplication1.exe(14868:1),Framework] Connector.InjectCode() : ------- Function Start -------
[03/26 15:42:10,ConsoleApplication1.exe(14868:1),Framework] Connector.InjectCode() : Connection string: C:\Users\heisenberg\Desktop\test\ArtOfTest.InternetExplorer.dll?ArtOfTest.InternetExplorer.ArtOfTestPluginEntryPoint?14868
[03/26 15:42:10,ConsoleApplication1.exe(14868:1),Framework] InternetExplorerActions.WaitForDocument() : Attempting to get IHTMLDocument2 from Internet Explorer HWND 133604 on another thread...
[03/26 15:42:10,ConsoleApplication1.exe(14868:9)] First trace message from pool thread "WaitAsync polling wait worker" (managed ID = 9, native ID = 17972).
[03/26 15:42:10,ConsoleApplication1.exe(14868:9),Framework] <>c__DisplayClassf.<WaitForDocument>b__8() : Attempting to get document from window handle
[03/26 15:42:10,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:11,ConsoleApplication1.exe(14868:1),Framework] InternetExplorerActions.WaitForDocument() : IHTMLDocument2 successfully retrieved.
[03/26 15:42:11,ConsoleApplication1.exe(14868:1),Framework] Connector.InjectCode() : Sending WM_COPYDATA to HWND 133604 (lpData = "C:\Users\heisenberg\Desktop\test\ArtOfTest.InternetExplorer.dll?ArtOfTest.InternetExplorer.ArtOfTestPluginEntryPoint?14868")...
[03/26 15:42:11,ConsoleApplication1.exe(14868:1),Framework] Connector.InjectCode() : Returned from sending WM_COPYDATA (LRESULT=0, GetLastError()=ERROR_ALREADY_EXISTS).
[03/26 15:42:11,ConsoleApplication1.exe(14868:1),Framework] Connector.InjectCode() : ------- Function End -------
[03/26 15:42:14,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:15,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:18,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:18,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:18,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:18,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:18,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[03/26 15:42:18,ConsoleApplication1.exe(14868:5),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.

Cody
Telerik team
 answered on 09 Apr 2014
10 answers
381 views

Hi, I am trying to automate file upload function in our application. The application handles both silverlight drag drop upload and also normal file select dialog upload. I am trying to automate without using silverlight. The code is below.

HtmlInputFile fileUpload = ActiveBrowser.Find.ByName<HtmlInputFile>("documentFileInput");

 

 

Assert.IsTrue(fileUpload != null);

 

fileUpload.Upload("C:\\folder1\\folder2\\worddoc.docx, 6000");

 


When this code is executed, I see the upload dialog box appears but the file path is not typed in the text box on the dialog, and it closes itself and I get a timeout error at the last line.

Is there any other code that needs to be written here to handle the dialog box and write complete file path in there and to click open button?
Thanks

 

 

 

 

 

Ivaylo
Telerik team
 answered on 08 Apr 2014
2 answers
149 views
Hi,

I have a scenario where there is Add New user and Edit User PopUp.  Both contains the same elements. I am able to identify the elements which are present in Add New PopUp but the same element I am not able to identify in Edit User PopUp. ID remains same for both.

After consulting with the developer I came to know both are having the same view so ID and all the other attributes remains the same.  Please let me know how to identify the elements in such scenarios.

Thanks
Vishal
Ivaylo
Telerik team
 answered on 07 Apr 2014
10 answers
101 views
Hello,

I created some code that handles a Confirmation (OK / CANCEL) and an Alert (OK) in IE and Chrome.

However, running in FireFox it just hangs on the alerts. 

Any suggestion for how to handle the alerts in FireFox?

Thanks,
Matt
Cody
Telerik team
 answered on 04 Apr 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?