Included page: .FrontPage.QA.Archive.OFXWebServices.SetUp (edit)

import
TBOT.Generic.Database

variable defined: sourceXMLDirectory=D:\Installations\FitNesseRoot\files\OFXWebRequest\DestinationXMLFilePath
variable defined: destinationXMLDirectory=D:\Installations\FitNesseRoot\files\OFXWebRequest\DestinationXMLFilePath
variable defined: compareResultDirectory=D:\Installations\FitNesseRoot\files\OFXWebRequest\XMLCompareResult

variable defined: sourceXMLDirectory=\\C605ZPUOTTFS2.tztst.loc\_QATeam\git\data-ott\IntegrationTests\BaselineFiles\Baseline\files\QA\YrSpecSuites\2016\BatchAutomation\OFX
variable defined: destinationXMLDirectory=\\C605ZPUOTTFS2.tztst.loc\_QATeam\FitnesseTestArtifacts\files\Actuals\QA\YrSpecSuites\2016\BatchAutomation\OFX
variable defined: compareResultDirectory=\\C605ZPUOTTFS2.tztst.loc\_QATeam\FitnesseTestArtifacts\files\Results\QA\YrSpecSuites\2016\BatchAutomation\OFX




ddt: SetUp
key value
ActualDir \\C605ZPUOTTFS2.tztst.loc\_QATeam\git\data-ott\IntegrationTests\BaselineFiles\Baseline\files\QA\YrSpecSuites\2016\BatchAutomation\OFX
ExpectedDir \\C605ZPUOTTFS2.tztst.loc\_QATeam\FitnesseTestArtifacts\files\Actuals\QA\YrSpecSuites\2016\BatchAutomation\OFX
ResultDir \\C605ZPUOTTFS2.tztst.loc\_QATeam\FitnesseTestArtifacts\files\Results\QA\YrSpecSuites\2016\BatchAutomation\OFX

TC-11 Request a 1098 form from Turbo Tax with Valid data and Credentials

TBOT.Generic.WebServicesFixture
endPoint requestType payLoad makeRequest?
https://wip-ofx.int.thomsonreuters.com/api/ofx/TROFX POST <?xml version='1.0' encoding='UTF-8'?><?OFX OFXHEADER='200' VERSION='202' SECURITY='NONE' OLDFILEUID='NONE' NEWFILEUID='NONE' ?><OFX><SIGNONMSGSRQV1><SONRQ><DTCLIENT>20161110221709</DTCLIENT><USERID>60SW3417O1EJFG16IJ49OQSX</USERID><USERPASS>987-44-4444</USERPASS><LANGUAGE>ENG</LANGUAGE><APPID>TTWin</APPID><APPVER>2016</APPVER></SONRQ></SIGNONMSGSRQV1><TAX1098MSGSRQV1><TAX1098TRNRQ><TRNUID>1478816229</TRNUID><TAX1098RQ><TAXYEAR>2016</TAXYEAR></TAX1098RQ></TAX1098TRNRQ></TAX1098MSGSRQV1></OFX> OK

TBOT.Generic.WebServicesFixture
xpath assertXML?
//OFX/SIGNONMSGSRSV1/SONRS/STATUS/CODE 0
//OFX/SIGNONMSGSRSV1/SONRS/STATUS/MESSAGE SUCCESS
//OFX/SIGNONMSGSRSV1/SONRS/LANGUAGE ENG
//OFX/SIGNONMSGSRSV1/SONRS/FI/ORG TROFX
//OFX/SIGNONMSGSRSV1/SONRS/FI/FID TROFX
//OFX/TAX1098MSGSRSV1/TAX1098TRNRS/TRNUID 1478816229
//OFX/TAX1098MSGSRSV1/TAX1098TRNRS/STATUS/CODE 0
//OFX/TAX1098MSGSRSV1/TAX1098TRNRS/STATUS/SEVERITY INFO
//OFX/TAX1098MSGSRSV1/TAX1098TRNRS/STATUS/MESSAGE SUCCESS
//OFX/TAX1098MSGSRSV1/TAX1098TRNRS/TAX1098RS/TAX1098_V100/SRVRTID 1098
//OFX/TAX1098MSGSRSV1/TAX1098TRNRS/TAX1098RS/TAX1098_V100/TAXYEAR 2016
//OFX/TAX1098MSGSRSV1/TAX1098TRNRS/TAX1098RS/TAX1098_V100/MORTGAGEINTEREST 6001.0
//OFX/TAX1098MSGSRSV1/TAX1098TRNRS/TAX1098RS/TAX1098_V100/OUTSTANDINGPRINCIPAL 6002.0
//OFX/TAX1098MSGSRSV1/TAX1098TRNRS/TAX1098RS/TAX1098_V100/ORIGINATIONDATE 20000603
//OFX/TAX1098MSGSRSV1/TAX1098TRNRS/TAX1098RS/TAX1098_V100/POINTS 6006.0
//OFX/TAX1098MSGSRSV1/TAX1098TRNRS/TAX1098RS/TAX1098_V100/OVERPAIDREFUND 6004.0
//OFX/TAX1098MSGSRSV1/TAX1098TRNRS/TAX1098RS/TAX1098_V100/MORTGAGEINSPREM 6005.0
//OFX/TAX1098MSGSRSV1/TAX1098TRNRS/TAX1098RS/TAX1098_V100/OTHERLOANINFO 1/2 INT 207 E ROWLAND, COVINA LO
//OFX/TAX1098MSGSRSV1/TAX1098TRNRS/TAX1098RS/TAX1098_V100/LENDERADDR/LENDERNAME Ten98 test in 5262
//OFX/TAX1098MSGSRSV1/TAX1098TRNRS/TAX1098RS/TAX1098_V100/LENDERADDR/ADDR1 ADD
//OFX/TAX1098MSGSRSV1/TAX1098TRNRS/TAX1098RS/TAX1098_V100/LENDERADDR/CITY CITY
//OFX/TAX1098MSGSRSV1/TAX1098TRNRS/TAX1098RS/TAX1098_V100/LENDERADDR/STATE AK
//OFX/TAX1098MSGSRSV1/TAX1098TRNRS/TAX1098RS/TAX1098_V100/LENDERADDR/POSTALCODE 78987
//OFX/TAX1098MSGSRSV1/TAX1098TRNRS/TAX1098RS/TAX1098_V100/LENDERID 45-8745647
//OFX/TAX1098MSGSRSV1/TAX1098TRNRS/TAX1098RS/TAX1098_V100/BORROWERADDR/BORROWERNAME paid by 1098 name
//OFX/TAX1098MSGSRSV1/TAX1098TRNRS/TAX1098RS/TAX1098_V100/BORROWERADDR/ADDR1 2395 Midway Rd
//OFX/TAX1098MSGSRSV1/TAX1098TRNRS/TAX1098RS/TAX1098_V100/BORROWERADDR/ADDR2 Bldg A
//OFX/TAX1098MSGSRSV1/TAX1098TRNRS/TAX1098RS/TAX1098_V100/BORROWERADDR/CITY Carrollton
//OFX/TAX1098MSGSRSV1/TAX1098TRNRS/TAX1098RS/TAX1098_V100/BORROWERADDR/STATE TX
//OFX/TAX1098MSGSRSV1/TAX1098TRNRS/TAX1098RS/TAX1098_V100/BORROWERADDR/POSTALCODE 75006
//OFX/TAX1098MSGSRSV1/TAX1098TRNRS/TAX1098RS/TAX1098_V100/BORROWERID 987-44-4444
//OFX/TAX1098MSGSRSV1/TAX1098TRNRS/TAX1098RS/TAX1098_V100/ACCOUNTNUMBER TEN98TEST