Find the Row Number from the HTML table
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2013
07:07 PM
06-02-2013
07:07 PM
Find the Row Number from the HTML table
Hi,
I have to find the Row number from the HTML table using the string value.
Eg: strName= "Vinoth"
Using "Vinoth", have to find out where its located in the HTML table.
Thanks,
Vinoth P S
I have to find the Row number from the HTML table using the string value.
Eg: strName= "Vinoth"
Using "Vinoth", have to find out where its located in the HTML table.
Thanks,
Vinoth P S
4 REPLIES 4
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2013
12:14 AM
06-05-2013
12:14 AM
Hi,
Can you please provide the solution for the above query.
Thanks in advance.
Regards,
Vinoth P S
Can you please provide the solution for the above query.
Thanks in advance.
Regards,
Vinoth P S
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2013
07:42 PM
07-23-2013
07:42 PM
Hi Vinoth,
You can check the value of the RowIndex property.
---------
Tanya Yatskovskaya
SmartBear Community and Education Manager
Tanya Yatskovskaya
SmartBear Community and Education Manager
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2019
09:28 PM
07-09-2019
09:28 PM
Hello,
You can get the row id using javaScript. Following is the code for the same. You can verify it.
function getId(element) {
alert("row" + element.parentNode.parentNode.rowIndex +
" - column" + element.parentNode.cellIndex);
}
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2019
03:04 AM
07-10-2019
03:04 AM
Hi,
a) This is TestComplete forum, thus Selenium code will not work;
b) It is pretty kind of you replying to the 6 (six) years old thread.
Regards,
/Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
/Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
