Can't find Element with in <iframe>

2 posts, 0 answers
  1. Alex
    Alex avatar
    1 posts
    Member since:
    Oct 2011

    Posted 13 Mar 2012 Link to this post

    <html>
     
    <head>
     
    <body class="yui-skin-fmc skin-lincoln nameplate nameplate-MKS2012 selldown">
     
    <iframe id="_yuiResizeMonitor" title="Text Resize Monitor" style="position: absolute; visibility: visible; width: 2em; height: 2em; top: -31px; left: 0pt; border-width: 0pt;">
     
    <div id="global-flips">
     
    <div id="page">
     
    <div id="header" class="nameplate nameplate-MKS2012 selldown">
     
    <div id="view-hd-line">
     
    <div id="view-container" class="view-incentives">
     
    <div id="view">
     
    <div id="view-bd" class="view-bd">
     
    <div class="incentives_header">
     
    <div class="incentives-select-vehicle">
     
    <div id="incentives-content" data-year="2012" data-model="MKS" data-iframebase="https://lincoln-incentives.fdv3.com//Page/">
     
     
    <html>
     
    <head>
     
    <body>
     
    <script src="/Scripts/Lincoln.Omniture.Control.js" type="text/javascript">
     
    <script type="text/javascript">
     
    <script type="text/javascript">
     
    <script type="text/javascript">
     
    <div class="incentive">
     
    <script type="text/javascript">
     
    <div class="flipFilter">
     
    <select style="display : none;" name="modelDescription">
     
    <div>
     
    <div class="zipChange">

    If i want to find  <div class="zipChange"> under <iframe id="incentives-iframe" class="active" frameborder="0" src="https://lincoln-incentives.fdv3.com//Page/?zipcode=48152&year=2012&make=Lincoln&model=MKS&site=NG&app_context=ngbs_sploffr">

    how can do it??

  2. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 14 Mar 2012 Link to this post

    Hello Alex,

    Have you tried recording against an element within the frame through the browser? Do you receive a specific error on playback? If so, please provide more information on that.

    If you intend to proceed in code, you must define the frame first, then locate the element via the frame. See here for more information.

    All the best,
    Anthony
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top