SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Dec 2009
    Posts
    27
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Selenium not identifying an element. Please help.

    Hi All,

    In my application, I can add multiple selections(application component) using drag & drop method. Also, a close button (X) is provided with every selection, to close or remove that particular selection/component.

    I am able to drag & drop component in the related wizard, but I am not able to close/remove that component using Selenium.
    Selenium does not identify that element (X).

    HTML Property of that element (X) is: <a class="remove-property" href="#" style="display: inline;">X</a>

    and

    X-Path is: //ul[@id=('query-properties')]/li[2]/a

    Selenium, neither record any property of this element nor perform the action, if properties are manually entered in the IDE or in script (Selenium RC).
    I can click on X button using "clickAt" command, by providing x,y coordinates but still it throws error, "element not found" for the X-Path (which is manually provided).

    Please help in this. Kindly suggest, how can I perform action on this button using Selenium.

    Thanks in Advance!

  2. #2
    Junior Member
    Join Date
    Jul 2011
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Selenium not identifying an element. Please help.

    Try this ....
    //*[contains(concat(' ', @class, ' '), 'remove-property')]";

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.11%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 02:32 AM.

Copyright BetaSoft Inc.