Telerik Forums
Testing Framework Forum
2 answers
275 views

I have noticed a problem with the testing framework in all versions, including the latest release (2018 R2), when attempting to locate Frames in Chrome ver

H

<iframe src="https://qaapp02.xisecurenet.com/DIeComm/View/IFrame/db672f06-4c09-44f5-aa61-8db2c8755161/bd385978-d72b-4cda-8664-eb5caee1c7bd/true" id="ctl00_cphMain_PaymentSelectionControl_PaymentEntryControl_ucCreditCard_iPaymetrics" name="pmIf" style="width: 400px; height: 371px; overflow: hidden; min-width: 400px !important;" frameborder="0" onload="paymetrics.initializeXIFrame('ctl00_cphMain_PaymentSelectionControl_PaymentEntryControl_ucCreditCard_iPaymetrics','https://qaapp02.xisecurenet.com/DIeComm/View/IFrame/db672f06-4c09-44f5-aa61-8db2c8755161/bd385978-d72b-4cda-8664-eb5caee1c7bd/true','<?xml version="1.0" encoding="utf-8" standalone="yes"?><merchantHtmlPacketModel xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns="Paymetric:XiIntercept:MerchantHtmlPacketModel"><localization><merchantLocalization><cultureName>en-US</cultureName></merchantLocalization></localization><iFramePacket><hostUri>https://backoffice.qa4.com<;/hostUri><cssUri>https://backoffice.qa4.com/content/dist/isagenix.pay.paymetric.min.css<;/cssUri></iFramePacket><templateHtml name="CreditCard"><paymentTypes><paymentType type="mastercard" /><paymentType type="visa" /><paymentType type="discover" /><paymentType type="american express" /><paymentType type="jcb" /></paymentTypes></templateHtml></merchantHtmlPacketModel>');"></iframe>

 

 

I have tried all of the following methods to get anything back from the Frames options afforded by the framework (documentation here):

ActiveBrowser.Frames.WaitAllUntilReady();
ActiveBrowser.Frames.RefreshAllDomTrees();
ActiveBrowser.Frames[0];
ActiveBrowser.Frames["pmIf"];
ActiveBrowser.Frames.ById("ctl00_cphMain_PaymentSelectionControl_PaymentEntryControl_ucCreditCard_iPaymetrics");
ActiveBrowser.Frames.Count;

Frames.Count; always returns 0.

Each of these items works when running the same test under IE11 without issue and was working a few days ago under Chrome 66.

I have also attempted the suggestions from this support post; https://www.telerik.com/forums/issue-finding-iframe-and-its-children, with no success.

Elena
Telerik team
 answered on 12 Jun 2018
5 answers
228 views
Hi Telerik,
We want to upgrade our solutions to latest telerik framework i.e Testing_Framework_2018_1_0418_2_Free. But while launching a browser for any test using any of the browser using RunTest option from visual studio, we are getting following below exception. When I am using Debug Test option from VS 2015, the same test is working for me on IE,chrome and firefox browser. I am only seeing the below issue when i use "Run Test" option.
[TestMethod, Description("This is test.")]
        public void CbRegression_SmartTag_LoginTest()
        {
            Manager.LaunchNewBrowser(BrowserType.InternetExplorer);
            ActiveBrowser.NavigateTo("http://news.google.com/");
        }


"ArtOfTest.WebAii.Messaging.Process.ExecutionMediator" threw an exception. System.Reflection.ReflectionTypeLoadException- unable to load types.
Please note that i am using BaseTest class to intialize the test and my targetted framework is 4.5 and VS2015.
Please see the attached error screenshot on test intialization.

Thanks & Regards,
Elena
Telerik team
 answered on 12 Jun 2018
1 answer
222 views

Hi,

 

I would like to know telerik testing framework supports the automation of qlikview documents, charts etc. If so please provide some examples

Vera
Telerik team
 answered on 04 Jun 2018
1 answer
150 views

Hi support,

Greeting of the day!!.

I want to launch the chrome browser with some specified flags using telerik testng framework LaunchBrowser() method.

        flags ==     --js-flags="--expose-gc

Is it possible to launch the browser with flags?

Please look into this.

 

Thanks & Regards

     

 

Vera
Telerik team
 answered on 23 May 2018
8 answers
166 views

Hi telerik,
I am working on a scenario where i have to access the value using jquery. This below div [class="client-errors"] contains data which i exposed using jquery.

   < div id="automation-testing">
       <div class="client-errors"></div>
    < div class="menus"></div></div>

At my application end i am able to fetch the requested data using -

    "$("automation-testing div.client-errors").data().

But when i am trying to access it using telerik  testing framework, i am not getting that data.
       HtmlControl ctrl = Manager.ActiveBrowser.Find.ByExpression<HtmlControl>("id=automation-testing", "|", "class=client-errors");
       Console.Writeline(ctrl.AsjQueryControl().val);

I am not getting any data using the above approach.

Please look into this nd let me know the way to capture the data using jquery.

Thanks & Regards

 

Elena
Telerik team
 answered on 22 May 2018
2 answers
190 views

Hi telerik,
I am working on a scenario where i have to access the value using jquery. This below div [class="client-errors"] contains data which i exposed using jquery.

<div id="automation-testing">
    <div class="client-errors"></div>
<div class="menus"></div></div>

At my application end i am able to fetch the requested data using - "$("automation-testing div.client-errors").data(). But when i am trying to access it using telerik  testing framework, i am not getting that data.

       HtmlControl ctrl = Manager.ActiveBrowser.Find.ByExpression<HtmlControl>("id=automation-testing", "|", "class=client-errors");

       Console.Writeline(ctrl.AsjQueryControl().val);

 

 

 

 

 

Elena
Telerik team
 answered on 18 May 2018
1 answer
240 views

Hi Team,

I would like to know can we handle Telerik and Kendocontrol using Selenium. If it possible means please share the document to explore.

Elena
Telerik team
 answered on 18 May 2018
6 answers
768 views
Hi, I was trying to download the latest telerik framework but I noticed the filename says trial? Could someone elaborate on this. Thanks!

==
TestingFrameworkTrial.2013.2.1210

http://www.telerik.com/products/free-testing-framework/overview.aspx

=========

Elena
Telerik team
 answered on 18 May 2018
1 answer
142 views

Hi telerik,

I am working on a scenario where i have to access the value using jquery.

 

<div id="automation-testing">

    <div class="client-errors"></div>

<div class="menus"></div></div>

 

Vinay
Top achievements
Rank 1
 answered on 16 May 2018
1 answer
205 views
 I upgraded my local version of the Testing Framework to 2018.1.418.  A lot of my tests are failing so I need to revert back to a previous version (2017.1.207.0).  I am unable to download old installer. Installer is pointing to latest version.  How can I install the older version? 
Elena
Telerik team
 answered on 10 May 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?