SystemUtil.Run "iexplore.exe", Environment("TestDir") + "\Files\XMLForm.pdf","", "", 3
Browser("Browser").WinObject("Shell DocObject View").PDFDoc("XMLForm.pdf").AcroXFAForm("form").AcroXFAForm("form1").AcroXFAForm("xfa[0].form[0].form1[0].#subfo").AcroXFAButton("Button").TypeText "0", "ctrl"
Browser("Browser").WinObject("Shell DocObject View").PDFDoc("XMLForm.pdf").AcroXFAForm("form").AcroXFAForm("form1").AcroXFAForm("xfa[0].form[0].form1[0].#subfo").AcroXFATextField("Text Field").SetValue "abc"
Browser("Browser").WinObject("Shell DocObject View").PDFDoc("XMLForm.pdf").AcroXFAForm("form").AcroXFAForm("form1").AcroXFAForm("xfa[0].form[0].form1[0].#subfo").AcroXFATextField("Text Field").Check CheckPoint("Text Field")
Browser("Browser").WinObject("Shell DocObject View").PDFDoc("XMLForm.pdf").AcroXFAForm("form").AcroXFAForm("form1").AcroXFAForm("xfa[0].form[0].form1[0].#subfo").AcroXFANumericTextField("Numeric Field").SetValue "123"
Browser("Browser").WinObject("Shell DocObject View").PDFDoc("XMLForm.pdf").AcroXFAForm("form").AcroXFAForm("form1").AcroXFAForm("xfa[0].form[0].form1[0].#subfo").AcroXFANumericTextField("Numeric Field").Check CheckPoint("Numeric Field")
Browser("Browser").WinObject("Shell DocObject View").PDFDoc("XMLForm.pdf").AcroXFAForm("form").AcroXFAForm("form1").AcroXFAForm("xfa[0].form[0].form1[0].#subfo").AcroXFAListBox("List Box").SetValue "theta"
Browser("Browser").WinObject("Shell DocObject View").PDFDoc("XMLForm.pdf").AcroXFAForm("form").AcroXFAForm("form1").AcroXFAForm("xfa[0].form[0].form1[0].#subfo").AcroXFAListBox("List Box").Check CheckPoint("List Box")
Browser("Browser").WinObject("Shell DocObject View").PDFDoc("XMLForm.pdf").AcroXFAForm("form").AcroXFAForm("form1").AcroXFAForm("xfa[0].form[0].form1[0].#subfo").AcroXFACheckBox("Check Box_3").SetValue "Checked"
Browser("Browser").WinObject("Shell DocObject View").PDFDoc("XMLForm.pdf").AcroXFAForm("form").AcroXFAForm("form1").AcroXFAForm("xfa[0].form[0].form1[0].#subfo").AcroXFACheckBox("Check Box_3").Check CheckPoint("Check Box_3")
Browser("Browser").WinObject("Shell DocObject View").PDFDoc("XMLForm.pdf").AcroXFAForm("form").AcroXFAForm("form1").AcroXFAForm("xfa[0].form[0].form1[0].#subfo").AcroXFACheckBox("Check Box_2").SetValue "Checked"
Browser("Browser").WinObject("Shell DocObject View").PDFDoc("XMLForm.pdf").AcroXFAForm("form").AcroXFAForm("form1").AcroXFAForm("xfa[0].form[0].form1[0].#subfo").AcroXFACheckBox("Check Box_2").Check CheckPoint("Check Box_2")
Browser("Browser").WinObject("Shell DocObject View").PDFDoc("XMLForm.pdf").AcroXFAForm("form").AcroXFAForm("form1").AcroXFAForm("xfa[0].form[0].form1[0].#subfo").AcroXFACheckBox("Check Box").SetValue "Checked"
Browser("Browser").WinObject("Shell DocObject View").PDFDoc("XMLForm.pdf").AcroXFAForm("form").AcroXFAForm("form1").AcroXFAForm("xfa[0].form[0].form1[0].#subfo").AcroXFACheckBox("Check Box").Check CheckPoint("Check Box")
Browser("Browser").WinObject("Shell DocObject View").PDFDoc("XMLForm.pdf").AcroXFAForm("form").AcroXFAForm("form1").AcroXFAForm("xfa[0].form[0].form1[0].#subfo").AcroXFARadioButtonGroup("xfa[0].form[0].form1[0].#subfo").AcroXFARadioButton("Radio Button_3").SetValue "Pressed"
Browser("Browser").WinObject("Shell DocObject View").PDFDoc("XMLForm.pdf").AcroXFAForm("form").AcroXFAForm("form1").AcroXFAForm("xfa[0].form[0].form1[0].#subfo").AcroXFARadioButtonGroup("xfa[0].form[0].form1[0].#subfo").AcroXFARadioButton("Radio Button_3").Check CheckPoint("Radio Button_3")
Browser("Browser").WinObject("Shell DocObject View").PDFDoc("XMLForm.pdf").AcroXFAForm("form").AcroXFAForm("form1").AcroXFAForm("xfa[0].form[0].form1[0].#subfo").AcroXFARadioButtonGroup("xfa[0].form[0].form1[0].#subfo").AcroXFARadioButton("Radio Button_2").SetValue "Pressed"
Browser("Browser").WinObject("Shell DocObject View").PDFDoc("XMLForm.pdf").AcroXFAForm("form").AcroXFAForm("form1").AcroXFAForm("xfa[0].form[0].form1[0].#subfo").AcroXFARadioButtonGroup("xfa[0].form[0].form1[0].#subfo").AcroXFARadioButton("Radio Button_2").Check CheckPoint("Radio Button_2")
Browser("Browser").WinObject("Shell DocObject View").PDFDoc("XMLForm.pdf").AcroXFAForm("form").AcroXFAForm("form1").AcroXFAForm("xfa[0].form[0].form1[0].#subfo").AcroXFARadioButtonGroup("xfa[0].form[0].form1[0].#subfo").AcroXFARadioButton("Radio Button").SetValue "Pressed"
Browser("Browser").WinObject("Shell DocObject View").PDFDoc("XMLForm.pdf").AcroXFAForm("form").AcroXFAForm("form1").AcroXFAForm("xfa[0].form[0].form1[0].#subfo").AcroXFARadioButtonGroup("xfa[0].form[0].form1[0].#subfo").AcroXFARadioButton("Radio Button").Check CheckPoint("Radio Button")
Browser("Browser").WinObject("Shell DocObject View").PDFDoc("XMLForm.pdf").AcroXFAForm("form").AcroXFAForm("form1").AcroXFAForm("xfa[0].form[0].form1[0].#subfo").AcroXFAListBox("Drop-down List").SetValue "two"
Browser("Browser").WinObject("Shell DocObject View").PDFDoc("XMLForm.pdf").AcroXFAForm("form").AcroXFAForm("form1").AcroXFAForm("xfa[0].form[0].form1[0].#subfo").AcroXFAListBox("Drop-down List").Check CheckPoint("Drop-down List")
Browser("Browser").WinObject("Shell DocObject View").PDFDoc("XMLForm.pdf").AcroXFAForm("form").AcroXFAForm("form1").AcroXFAForm("xfa[0].form[0].form1[0].#subfo").AcroXFATable("Table1").AcroXFATableRow("Row1").AcroXFATextField("xfa[0].form[0].form1[0].#subfo_2").SetValue "eins"
Browser("Browser").WinObject("Shell DocObject View").PDFDoc("XMLForm.pdf").AcroXFAForm("form").AcroXFAForm("form1").AcroXFAForm("xfa[0].form[0].form1[0].#subfo").AcroXFATable("Table1").AcroXFATableRow("Row2").AcroXFATextField("xfa[0].form[0].form1[0].#subfo_2").SetValue "zwei"
Browser("Browser").WinObject("Shell DocObject View").PDFDoc("XMLForm.pdf").AcroXFAForm("form").AcroXFAForm("form1").AcroXFAForm("xfa[0].form[0].form1[0].#subfo").AcroXFATable("Table1").AcroXFATableRow("Row3").AcroXFATextField("xfa[0].form[0].form1[0].#subfo_2").SetValue "drei"
Browser("Browser").WinObject("Shell DocObject View").PDFDoc("XMLForm.pdf").AcroXFAForm("form").AcroXFAForm("form1").AcroXFAForm("xfa[0].form[0].form1[0].#subfo").AcroXFATable("Table1").Check CheckPoint("Table1")
Browser("Browser").WinObject("Shell DocObject View").PDFDoc("XMLForm.pdf").AcroXFAForm("form").AcroXFAForm("form1").AcroXFAForm("xfa[0].form[0].form1[0].#subfo").AcroXFAButton("Button").Click
SystemUtil.CloseProcessByName "iexplore.exe"

