07-09-2013, 06:29 PM
(This post was last modified: 07-09-2013, 06:34 PM by RameshKrishnan.)
hi ravi ,
I tried this code
Its working now.
I have one more issue in this script , now say i have 4 images in this Webtable, on rightclick of Image 1 i get a list of link objects (updated By) on click of this i will get the name of updated by.
But for Image 2 && 3 i wont have this updated by link object. Here i want to loop the table only for those images having updated by link object on right click.
I tried following code
Here even if the link View app metadata is not present its showing msgbox 1.Can you help me in this?
Thanks
I tried this code
Code:
Set obj=Browser("name:=Scheduling Week Calendar.*").Page("title:=Scheduling Week Calendar*").WebTable("name:=Previous Week").Image("image type:=Plain Image","index:=9")
Setting.WebPackage("ReplayType") = 2
obj.RightClick
Setting.WebPackage("ReplayType") = 1
Its working now.
I have one more issue in this script , now say i have 4 images in this Webtable, on rightclick of Image 1 i get a list of link objects (updated By) on click of this i will get the name of updated by.
But for Image 2 && 3 i wont have this updated by link object. Here i want to loop the table only for those images having updated by link object on right click.
I tried following code
Code:
Set obj=Browser("name:=Scheduling Week Calendar.*").Page("title:=Scheduling Week Calendar*").WebTable("name:=Previous Week").Image("image type:=Plain Image","index:=9")
Setting.WebPackage("ReplayType") = 2
obj.RightClick
Setting.WebPackage("ReplayType") = 1
If Browser("name:=Scheduling Week Calendar.*").Page("title:=Scheduling Week Calendar*").Link("name:=View app metadata").Exist Then
msgbox 1
Else
msgbox 2
End IF
Here even if the link View app metadata is not present its showing msgbox 1.Can you help me in this?
Thanks