lcravopt
13 years agoNew Contributor
Property checkpoint on pdf file content
I'm having some dificulty to get my property checkpoints to work in my keyword test.
My application is a .net windows application (not web) and at a certain point it prints 2 files. As I need to check the content of the files what I'm doing is using a PDF printer (Bullzip V8.2.1.406) to save the prints as PDF files so can that check some of the content.
In my project properties I checked the '*' window on the accepted windows list under "Open Applications\MSAA". With that and configuring the accessibility options in adobe acrobat reader I'm able to detect the fields inside the PDF files and choose the fields I want to check.
As Bullzip can have the possibility to open the file after it has been saved, first I tried to have the checkpoints with the 2 files open at the same time. This way I was getting several "Ambiguous recognition" errors. So I decided to close both files and then open and check one at the time.
What is happen right now is that whenever I run my script, the property checkpoints fails every time. If however I run just the checkpoint (with Run Select Operation) the checkpoint passes.
One other thing that I notice is opening the PDF file and in my TC script if I double click on my checkpoint (getting the edit property checkpoint window) if I try to click on the button "Next" it gives me an error "Unable to find object with the name ....". Pressing OK and repeating the click on button "Next" I'm able to jump to the properties of the checkpoint.
So, I would like some help understanding if this is due to some missing TC configuration or if has to do with my script steps and they need to be changed.
My configurations:
OS: Windows 7
TestComplete: 8.60.665.7
Adobe Acrobat Reader: 10.1.4
If you need screenshots or steps I can send it.
Thank you,
Luis
My application is a .net windows application (not web) and at a certain point it prints 2 files. As I need to check the content of the files what I'm doing is using a PDF printer (Bullzip V8.2.1.406) to save the prints as PDF files so can that check some of the content.
In my project properties I checked the '*' window on the accepted windows list under "Open Applications\MSAA". With that and configuring the accessibility options in adobe acrobat reader I'm able to detect the fields inside the PDF files and choose the fields I want to check.
As Bullzip can have the possibility to open the file after it has been saved, first I tried to have the checkpoints with the 2 files open at the same time. This way I was getting several "Ambiguous recognition" errors. So I decided to close both files and then open and check one at the time.
What is happen right now is that whenever I run my script, the property checkpoints fails every time. If however I run just the checkpoint (with Run Select Operation) the checkpoint passes.
One other thing that I notice is opening the PDF file and in my TC script if I double click on my checkpoint (getting the edit property checkpoint window) if I try to click on the button "Next" it gives me an error "Unable to find object with the name ....". Pressing OK and repeating the click on button "Next" I'm able to jump to the properties of the checkpoint.
So, I would like some help understanding if this is due to some missing TC configuration or if has to do with my script steps and they need to be changed.
My configurations:
OS: Windows 7
TestComplete: 8.60.665.7
Adobe Acrobat Reader: 10.1.4
If you need screenshots or steps I can send it.
Thank you,
Luis