Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WebScrollTo
#1
Hello Guys,

I am having some trouble getting the internet explorer web browser to scroll down to a combox that I am populating. For whatever reason the WebScrollTo function is not work as I expected it to work. Can someone help me get this to work. I am also open to using a different way to scroll the window down. If someone can help me with this.

Code:
Copy      Help
int w=wait(3 WV win("https://longtermcare.genworth.com/quoteit/landingPage.do - Windows Internet Explorer" "IEFrame"))
Acc a15.Find(w "COMBOBOX" "" "a:id=participantState[]a:name=strResidentState" 0x3004 3)
a15.WebScrollTo
a15.CbSelect(F"{e17Sta}")

Thanks,

pcdaugs
#2
these work for me but since i cannot login i cannot try on exact page your looking at

Code:
Copy      Help
int w=wait(3 WV win("https://longtermcare.genworth.com/quoteit/landingPage.do - Windows Internet Explorer" "IEFrame"))
Acc a.Find(w "STATICTEXT" "" "value=Privileged Choice Flex 2" 0x3004 3)
a.WebScrollTo

Code:
Copy      Help
int w=wait(3 WV win("https://longtermcare.genworth.com/quoteit/landingPage.do - Windows Internet Explorer" "IEFrame"))
Htm e=htm("SELECT" "productChoice" "" w "0" 0 0x121 3)
e.Scroll
#3
Maybe does not find the object because it is not currently visible. Add flag 16.

Macro Macro1993
Code:
Copy      Help
int w=wait(3 WV win("Quick Macros Forum • View topic - WebScrollTo - Windows Internet Explorer" "IEFrame"))
act w
Acc a.Find(w "COMBOBOX" "Jump to:" "" 0x3001|16 3)
a.WebScrollTo


Forum Jump:


Users browsing this thread: 1 Guest(s)