Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8038065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T03:06:56+00:00 2026-06-05T03:06:56+00:00

Im new to selenium and was trying to delete some contacts which i had

  • 0

Im new to selenium and was trying to delete some contacts which i had created earlier.The problem is that the delete link is dynamically generated and im not able to store or click on particular delete link which i want to remove for the list of other delete links for other contacts.

the foll is the code:

<h1>Organization Contacts</h1>
<div id="parent" class="parent_761">
<div id="761" class="org_user">
rohit sharma
<div class="contacts">
<a id="761" class="edit_contact" title="Click here to edit" href="#">[edit]</a>
|
<a title="Click here to delete" rel="nofollow" data-method="delete"      data-confirm="Deleting user will also delete related posts. Are you sure want to remove   user "Admin_One TestOrg_One"?" href="/organizations/1075/users/761">[delete]</a>
    </div>
    <br>
    Title: Mr
    <br>
    Email: rohit@gmail.com
<br>
Phone: 1234567890
<br>
</div>
<div id="" class="submit_contactinfo" style="display: none;">
</div>
</div>
<br>
<div id="parent" class="parent_772">
<div id="772" class="org_user">
supreeth rai
<div class="contacts">
<a id="772" class="edit_contact" title="Click here to edit" href="#">[edit]</a>
|
<a title="Click here to delete" rel="nofollow" data-method="delete" data-confirm="Deleting user will also delete related posts. Are you sure want to remove "RegularUser3 TestOrg_One" from the Organization?" href="/organizations/1075/users/772">[delete]</a>
</div>
<br>
Title: Mr
<br>
Email: chupudi@gmai.com
<br>
Phone: 12345678
<br>
</div>

now if i have added rohit recently to my contacts how im i supposed to catch its id in case i want to delete it from contacts in Selenium.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T03:06:57+00:00Added an answer on June 5, 2026 at 3:06 am

    You can use not only ID for locating your element. For example, you can use:

    css=div:contains('rohit') a:contains('delete')
    

    Or, if you want to find only the first (most recent) delete link:

    link=[delete]
    

    For all locating strategies available in selenium IDE, refer to documentation

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to delete click on link generated by a previous test (a delete
I am trying to test a web page using Selenium IDE. Am new to
I'm currently creating some test cases with Selenium and I've come across a problem.
New to javascript - I'm trying to generate random user ID's for my selenium
I'm trying to write some Selenium tests with NUnit and doing my best to
I am new to Selenium. I am using Firefox and trying to export the
I am trying to get familiar with the new ruby selenium-webdriver as it appears
While trying to automate testing with selenium rc I ran into this problem. I
I'm pretty new to both Ruby and Selenium and I'm just trying to figure
I am having some problems while trying to create integration tests with Selenium and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.