Telerik Forums
Testing Framework Forum
1 answer
145 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
98 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
713 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
5 answers
141 views

Hi Folks,

Sorry, but this is another call for a link to an offline installer. We're using 2015.2 of the Testing Framework and it seems we never kept a copy of the offline installer. Now when we go to install the framework it is forcing us to download 2015.3.

I've searched right through the forums and none of the previously posted links work any more.

I've also searched right through the Telerik website and the only page I can find again downloads 2015.3.

 

Can you help me please?

Cheers,

Dan

 

 

Vanya Pavlova
Telerik team
 answered on 15 Jan 2016
4 answers
175 views

Hi,

I'm facing the following problem atm:

I have a project with Unit Tests. I added into the project app.config file with test settings:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <section name="WebAii.Settings" type="ArtOfTest.WebAii.Core.SettingsConfigSectionHandler,
             ArtOfTest.WebAii, Version=2015.1.528.0, Culture=neutral, PublicKeyToken=4fd5f65be123776c"/>
    <section name="WebAii.Settings.Wpf" type="ArtOfTest.WebAii.Core.Settings.WpfSettings, ArtOfTest.WebAii,
              Version=2015.1.528.0, Culture=neutral, PublicKeyToken=4fd5f65be123776c"/>
  </configSections>
  <WebAii.Settings
    elementWaitTimeout="10001"
    xMultiMgr="false"
    unexpectedDialogAction="HandleAndFailTest"
    createLogFile="true"
    waitCheckInterval="500"
    logAnnotations="false"
    annotationMode="All"
    annotateExecution="true"
    executionDelay="0"
    queryEventLogErrorsOnExit="false"
    clientReadyTimeout="20000"
    executionTimeout="30000" >
  </WebAii.Settings>
  <WebAii.Settings.Wpf
    DefaultApplicationPath="D:\SVN\...\Client.exe">
  </WebAii.Settings.Wpf>
 
</configuration>

When I build my project, the .dll.config file is created in the project bin folder.

Then I want to get the settings in the code:

MyManager = new Manager(true);
MyManager.Start();
WpfClientApp = MyManager.LaunchNewApplication(MyManager.Settings.Wpf.DefaultApplicationPath);

The problem is that the settings are not taken from the file but they have default values.

Do you have any idea what it happens? Did I miss sth?

 

BR, Marta

 

Boyan Boev
Telerik team
 answered on 02 Jan 2016
1 answer
170 views

Currently running Testing Framework 2015.3.1015.0 (not Test Studio).

 

I am trying to get launch the Microsoft Edge browser on Windows 10.  I don't see Microsoft Edge browser in BrowserTypes.  When using Internet Explorer as the BrowserType it launches IE 11. Does anyone know how to launch Microsoft Edge browser on Windows 10?

Boyan Boev
Telerik team
 answered on 17 Dec 2015
3 answers
183 views

I'm trying to test a silverlight application. When i try to Launch the Browser it throws me an error. If i try to open my link separately in IE its opening. But while running the test it doesnt. 

At Line "ActiveBrowser.NavigateTo(BaseUrl);" it opens IE, shows the url in the URL box, and it closes displaying the message below. 

Can anyone help me on this issue?

Ivaylo
Telerik team
 answered on 08 Dec 2015
24 answers
920 views
I have a Testing Framework app using IE11 that runs fine on my Windows 7 desktop.  I installed it on Windows Server 2012 r2, and it starts the IE browser, but instead of doing a NavigateTo to my website, it stays stuck on the about:blank page.

I am using the latest version of ArtofTest.WebAii.dll.  I also turned off IE Enhanced Security Configuration and performed all of the IE configuration steps.  I am logged in as an administrator on the server.

I tried re-compiling the app with Chrome as the browser.  I performed the Chrome configuration steps.  The app runs!  (At least until it gets to a popup page).  The fact that it runs in Chrome shows me that I am able to use the Testing Framework on the server.

But the website I am testing is only certified for IE, and I must get the app running using IE.

I would appreciate any suggestions.

Thanks
Ivaylo
Telerik team
 answered on 30 Nov 2015
5 answers
98 views

I have the same problem as described in
    http://www.telerik.com/forums/can-not-find-ifram-in-firefox

With firefox version > 29 it is still not possible to find iframes generally.
Unfortunatelly we have to use firefox 33. I am using the newest Telerik builk "04420Telerik.Testing.Framework.2014.3.1016" with the newest firefox.

Here is the description of the error I get:
    
    private Browser MailFrame
        {
            
            get
            {                    
                Browser b=Browser.Frames["mail"];   // Line 602                
                return b;
            }
        }


Exception is:

InError set by the client. Client Error:
mozCommandProcessor: GetCurrentDocumentMarkup(): Exception thrown while trying t
o serialize the Dom. Error: TypeError: this.TargetDocument is null
BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:
'null',Data:'',ClientId:'0d4ad2f8-bc97-431f-a939-d3a91c8f5945',HasFrames:'False'
,FramesInfo:'',TargetFrameIndex:'7',InError:'True',Response:'mozCommandProcessor
: GetCurrentDocumentMarkup(): Exception thrown while trying to serialize the Dom
. Error: TypeError: this.TargetDocument is null')
InnerException: none.

Debug - ------------------------
Debug - StackTrace:
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand reques
t)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boole
an performDomRefresh, Boolean waitUntilReady)
   at ArtOfTest.WebAii.Core.Browser.RefreshDomTree()
   at ArtOfTest.WebAii.Core.FramesCollection.EnsureDomLoaded(Browser browser)
   at ArtOfTest.WebAii.Core.FramesCollection.get_Item(String name)
   at XXXXXXXXXXXXXX..MainClass.get_MailFrame()
 in XXXXXXXXXXXXXX.\MainClass.cs:line 602
  ....


I also tries to refresh the dom tree with

    Manager.Current.ActiveBrowser.Frames.RefreshAllDomTrees();
    Manager.Current.ActiveBrowser.Frames.WaitAllUntilReady();

But this did not help.

Do you know a workaround for this bug? Will the bug be fixed?
Thanks in advance.




Ivaylo
Telerik team
 answered on 27 Nov 2015
1 answer
367 views

Hello All,

Can any one please help me with the below selenium automation example for the Kendo Grid filter menu. Appreciate your help. Thanks.

http://demos.telerik.com/kendo-ui/grid/filter-menu-customization

Steps-
1) Click on filter icon
2) Select Not equal to from drop down
3) Enter Text in textbox
4) Click on Filter button

 blob:https%3A//mail.google.com/c884de4d-8b48-4f03-87f4-8ea315efbcca

 

Appreciate any responses

Ivaylo
Telerik team
 answered on 27 Nov 2015
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?