10-15-2012, 06:57 PM
(This post was last modified: 10-15-2012, 08:05 PM by yogesh kancherla.)
Hi,
this is the only link which i will capture, but there are other link as well in that page which starts with some other alphabets or numbers.
Below are the properties of the link object which i am trying to use
I tried with the above.
below are the other properties available
for the first four properties value start with OFS only
i cannot use abs values as they are changing in runtime. please suggest.
below is my code
its not working..
this is the only link which i will capture, but there are other link as well in that page which starts with some other alphabets or numbers.
Below are the properties of the link object which i am trying to use
Code:
"innertext:=OFS.*",
"html tag:=A",
"color:=#0000ff",
"background color:=#ffffff"
I tried with the above.
below are the other properties available
Code:
[b]text[/b]=OFS-47045-X:BTFG9093-1
innertext=OFS-47045-X:BTFG9093-1
[b]outertext[/b]=OFS-47045-X:BTFG9093-1
[b]name[/b]=OFS-47045-X:BTFG9093-1
[b]innerhtml[/b]=OFS-47045-X:BTFG9093-1
[b]outerhtml[/b]=<A href="/StubEMPUI/BusinessMessageEvent.do?type=detail&msgIndex=0">OFS-47045-X:BTFG9093-1</A>
abs_x=132
abs_y=478
for the first four properties value start with OFS only
i cannot use abs values as they are changing in runtime. please suggest.
below is my code
Code:
Set Mybrowser3=browser("title:=BusinessMessageEvents","name:=BusinessMessageEvents").page("title:=BusinessMessageEvents")
var_ofskeyid=Mybrowser3.Link("innertext:=OFS.*","html tag:=A").GetROProperty("innertext")
Mybrowser3.Link("text:=Notifications","html tag:=A","name:=Notifications").Click
its not working..