2023-11-07, 12:38:29
I want to fill out a form on a website using VFP.
I can fill in the textboxes in the form with this code:
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.
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.