Suppose xpath as shown below:
xpath : //div[@id='cslGridViewPanelControl']/div/div[2]/div/table/tbody/tr/td[2]/table/tbody/tr/td/table/tbody/tr/td/div Last div element contains 'Displaying 1 to 30 of 145300'. I need to store 'Displaying 1 to 30 of 145300' in some variable by using selenium tool.
I tried
command target value store xpath variable1 echo ${variable1}
It appears as variable1: xpath. But I need variable1: "Mapping from 1 to 30 out of 145300." Can anybody help me?
source share