1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2012
    Rep Power

    Automate a click

    Hi I am trying to automate a click on a webpage inside of a iFrame named (applicationsFrame0) with an id of "applicationsFrame0", inside this frame I am trying to click a link in a list that has a (<a title="EQUIP ALTRIGREEN" ) and a ( id="Citrix.MPS.App.jdo.EQUIP0020ALTRIGREEN" ).

    I've tried getElementById("Citrix.MPS.App.jdo.EQUIP0020ALTRIGREEN").click()
    but I get an AttributeError: 'NoneType' object has no attribute 'click'

    any help would be appreciated. Thanks
  2. #2
  3. Contributing User
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Aug 2011
    Rep Power
    There might be a function somewhere up the chain for which an intended
    return specific_object
    statement was forgotten and the function returned the default of None instead.
    [code]Code tags[/code] are essential for python code and Makefiles!

IMN logo majestic logo threadwatch logo seochat tools logo