I want to store in a variable a list of values of column 2 that are in a table of 9 columns inside a iframe.
I recorded a macro in Selenium IDE++ (Kantu for chrome) where I selected (click) 3 items of the table that are in second column. The text of the items are 552, 559 and 753 appears inside the Xpath of each value. Finally in my recorded macro I clicked on the link for first item which value is 552.
Then I would like to know how to store previously in a variable, all values in column 2 and store it in a variable in order to apply then a loop over each value?
Bwlow the commands I have so far from macro recorder.
+---------------+-----------------------------------------+---------+
| | | |
| Command | Target | Value |
| | | |
+---------------+-----------------------------------------+---------+
| | | |
| open | http://URL | |
| | | |
+---------------+-----------------------------------------+---------+
| | | |
| selectFrame | name=frame1 | |
| | | |
+---------------+-----------------------------------------+---------+
| | | |
| selectFrame | id=frameABC | |
| | | |
+---------------+-----------------------------------------+---------+
| | | |
| click | xpath=//*[@id="ABC_552_120_24"]/td[2] | |
| | | |
+---------------+-----------------------------------------+---------+
| | | |
| click | xpath=//*[@id="ABC_559_121_24"]/td[2] | |
| | | |
+---------------+-----------------------------------------+---------+
| | | |
| click | xpath=//*[@id="ABC_753_131_47"]/td[2] | |
| | | |
+---------------+-----------------------------------------+---------+
| | | |
| click | link=552 | |
| | | |
+---------------+-----------------------------------------+---------+
Thanks for any help.