I have a sample PDF & there is one field with Account Number. I want this Account Number to be validated. I have added a file checkpoint with Environment Variable. I come to know the Account Number of new PDF at run time so i I have passed Account Number to the Environment Variable at run time. At the place of Account Number (Checkpoint) in the OR, i have parameterized it as Environment("AccNumber"). Below is the code where i assign account number in env variable.
Environment("AccNumber") = strAccNumber
After which my checkpoint step is present. I have checked that strAccNumber as well as Environment variable gets assigned correct account number. Checkpoint fails & in the result at account number line it gives :
Expected : Environment("AccNumber")
Actual : 756325
In place of Environment("AccNumber"), account number should come. Can someone please help
Note : I am using HP UFT 12.51