Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Two objects with same properties except for one part of the outerhtml changing
#1
Solved: 10 Years, 9 Months, 2 Weeks ago
Hi All,

This is what I do while testing

1. I land on a page.
2. click on a profile ID (There are many profiles on the same page and I am taking profile ID from data table)
3. When I click on the profile ID the details of the profile is displayed.
4. now I have to click the edit button of that profile ID to edit it.

My problem is as follows.

1. The details of all the profile ID is already present on the same page one after the other after all the profile ID list.
2. Now every profile ID has same name "Edit" to edit the profile.
3. All the properties of this edit button is also the same except for a part of outerhtml that gives the profile "ID". Something like this
outerhtml = <A href="manage_sp_edit.htm?serviceProfileId=1000029">Edit</A>

Can anyone please tell me how do I capture this SP ID while clicking the profile and use it while clicking the edit button. Is it possible? If no then is any other way?
Reply


Messages In This Thread
Two objects with same properties except for one part of the outerhtml changing - by reejais - 10-11-2010, 05:19 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Page element keep changing chong67 4 4,295 11-08-2016, 09:17 PM
Last Post: Paul Rammone
  Part of parameters missing when passing between actions skumar007 1 2,849 10-10-2014, 02:00 AM
Last Post: skumar007
  Count and get the properties of different objects in a Java form riechan 0 2,917 07-16-2012, 06:03 AM
Last Post: riechan
  Changing QTP Class praveendasika 1 2,806 07-13-2012, 07:35 AM
Last Post: ravi.gajul
  Parameterizing a part of script itsnotmyid 3 3,310 08-09-2011, 09:02 AM
Last Post: parminderdhiman84

Forum Jump:


Users browsing this thread: 1 Guest(s)