Hyperlink click [message #515066] |
Wed, 17 February 2010 10:55  |
Eclipse User |
|
|
|
Hello,
I try to select a hyperlink and to click on it, to open a browser. But with SWTWorkbenchBot, I just have link, and it doesn't work with hyperlink.
How can I click on hyperlink?
Thanks,
David.
|
|
|
Re: Hyperlink click [message #816968 is a reply to message #515066] |
Fri, 09 March 2012 08:24  |
Eclipse User |
|
|
|
Hi,
if hyperlinks are placed in order like
XYXXXX
YYYYYY
ZZZZZZ
so you can use
SWTFormsBot formBot = new SWTFormsBot();
formBot.hyperlink(2).click();
here i clicked on hyper link ZZZZZ ,hyper link index starts from 0.
these are the following you should keep in mind,so that hyperlink can be identified.
-not to run the tool in debug mode because selection will be lost
if you find any issues raise them
|
|
|
Powered by
FUDForum. Page generated in 0.27279 seconds