My requirement is to get the link control name from the user and click the given link in the opened webpage.
Suppose the user has selected to open google.com and would like to click on signin link then i will be reading the signin link name from the data sheet and click on the link.
now i have written a independent module which will read the control name of type IGraphical :
public String linkClick(IGraphical lnk)
return "Link click successful";
public void testMain(String args)
When i pass the control name thru the testMain then its working fine. but when i try to read the control name from a data sheet, there will be a mismatch in datatype bcos the datasheet contains only string values.
please let me know how can i typecast a string value to IGraphical
please suggest if there is any other better way to implement the same functionality.