I want to verfy if a particular text is highliighted. First I have to press ctr + F to open the find function and then search for a particular text. I am searching for the text in a web application. If the search finds the text, it highlights the particular text in the web application. The text i am searching is inside a TD (Cell in a table). I was wondering if there is any property in TP that checks if a particular word, in the the innertext of the TD is highlighted or not. There is a function in TP that checks if text is highlighted or not , but that function does not apply to TD objects.
and then check the windows clipboard content. If the text was found and highlighted it will be in the clipboard. If the text was not found another text will be in the clipboard. Maybe it is a good idea to empty the clipboard before executing the keyboard.type.