I have to highlight dates in all month based on the input. Any help on this will be helpful. Below is the link
hi @Manjuts90
Steps
1.Use Assign Activity and give value as 1
2.Use Element Exists for the Calendar
3.Use While condition and give the element exists variable
4.Use Highlight Activity and identify the selector as webctrl id=wc’“+StrVar.ToString+'”
5.Increement the variable
Thanks
Ashwin S
can u explain the 4th step briefly
AshwinS2 what i should change in selecto
check this
“<webctrl id=wc’”+StrVar.ToString+“’ tag=‘TD’ />”
give title as * and check
Thanks
Ashwin S
am not getting
which is that variable strvar.tostring
hi @mahesha
I have given that as an example
Please give that as an Integer variable not as string
Thanks
Ashwin S
if you have done
can you share me your file for reference
@AshwinS2 i am getting error below error
Highlight ‘TABLE Calendar’ : The selector is not valid
i have pls check the workflow i have attachedHighLight_Main.xaml (10.2 KB)
hi @Manjuts90
please do check this xaml I have change the selector you wont get the issue
HighLight_Main.xaml (9.0 KB)
Thanks
Ashwin S
@AshwinS2 i have just added open browser activity to your workflow nothing else changed but i am getting above error.
hi @Manjuts90
I will attach the entire xaml
HighLight_Main.xaml (11.3 KB)
Which browser you are using?
It is working fine in IE
Thanks
Ashwin S
@AshwinS2 sorry to interupt you again if i given user input as 11 it should highlight 11th in all months from jan to dec on right side of calendar. i hope u got my question clearly now.
hi @Manjuts90
if that is the case use send hot key as ctrl +f where and type the input value based on the search
Thanks
Ashwin S
@AshwinS2 if i use ctrl+f all values present inside webpages which matches user input will be highlighted not just values inside calendar
hi @Manjuts90
Based on that you can use Get Attribute Activity to get the details
try this
Thanks
Ashwin S