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.BySrc(
"https://qaapp02.xisecurenet.com/DIeComm/View/IFrame/db672f06-4c09-44f5-aa61-8db2c8755161/bd385978-d72b-4cda-8664-eb5caee1c7bd/true"
);
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.