Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VFP Web automation and form filling
#1
I want to fill out a form on a website using VFP. 
I can fill in the textboxes in the form with this code:

Code:
thisform.oAntviewDocument = CREATEOBJECT('AntViewAx.AntViewDocument')
thisform.oAvdCtrl = NEWOBJECT('avdctrl','avdctrl.prg')
EVENTHANDLER(this.oAntviewDocument,this.oAvdCtrl)
thisform.oAntviewDocument.CurrentBrowser = thisform.oAntView.object
thisform.oAntView.object.navigate(ALLTRIM(thisform.text1.Value))

ThisForm.OAntViewDocument.ElementValueByName("txtSifre") = SIFRE  && Filling text

I have two questions:
 
1. How can I click on a link in the form with which code? (Picture1)
   
2. How can I check a checkbox in the web form? (Picture2)  
   

Thank you.
Reply


Messages In This Thread
VFP Web automation and form filling - by ozcan - 2023-11-07, 12:38:29
RE: VFP Web automation and form filling - by wila - 2023-11-07, 18:26:06
RE: VFP Web automation and form filling - by wila - 2023-11-24, 19:07:01
RE: VFP Web automation and form filling - by wila - 2023-11-28, 11:50:05
RE: VFP Web automation and form filling - by wila - 2023-11-08, 15:05:52
RE: VFP Web automation and form filling - by wila - 2023-11-10, 22:04:34
RE: VFP Web automation and form filling - by wila - 2023-11-13, 12:43:43
RE: VFP Web automation and form filling - by wila - 2023-11-13, 15:39:07

Forum Jump:


Users browsing this thread: 1 Guest(s)