The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> IBM/Rational Functional Tester - RobotJ

Pages: 1
Marsur
Newbie


Reged: 04/26/12
Posts: 22
How to verify a PDF document using RFT tool
      #712198 - 07/16/12 03:39 AM

Hi Friends
I was recording a application which has a many module.
Finally i will be generating the presentation by clicking generate presentation button.
A PDF document is generated as report with 50 pages.
i dont know how to verify a PDF document with the RFT tool it gots hanged.
1.RFT doesnot allow word or PDF document to configure.
2. Is there any Java code to write in the RFT tool to verify the generated report(PDF)

Any answers is highly appreciable.

Thanks
MarSur


Post Extras: Print Post   Remind Me!   Notify Moderator  
voks
Member


Reged: 09/12/06
Posts: 199
Re: How to verify a PDF document using RFT tool [Re: Marsur]
      #712361 - 07/17/12 02:23 PM

Please refer this link : http://pdfbox.apache.org/. We can download this jar file and with the help of Java libraries available in this Jar, you can extract the content of PDF to a file. Then you can make use of File compare options in io.File package.

Post Extras: Print Post   Remind Me!   Notify Moderator  
MeenaGRFT
Newbie


Reged: 07/21/12
Posts: 4
Re: How to verify a PDF document using RFT tool [Re: voks]
      #715304 - 08/26/12 07:12 PM

You can save the PDF as text file and test it.

Post Extras: Print Post   Remind Me!   Notify Moderator  
Marsur
Newbie


Reged: 04/26/12
Posts: 22
Re: How to verify a PDF document using RFT tool [Re: MeenaGRFT]
      #716419 - 09/13/12 05:24 AM

No MeenaGRFT, After saving as a text file, RFT will not configure a text file

Post Extras: Print Post   Remind Me!   Notify Moderator  
thangamani
Newbie


Reged: 11/29/12
Posts: 1
Hi Am getting an error during Integrating RFT with [Re: Marsur]
      #719938 - 12/02/12 11:43 PM

The below is the error which am getting. Please help

java.lang.NoClassDefFoundError: org.eclipse.hyades.execution.runtime.datapool.IDatapoolFactory
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:72)
at java.lang.J9VMInternals.verify(J9VMInternals.java:70)
at java.lang.J9VMInternals.verify(J9VMInternals.java:70)
at java.lang.J9VMInternals.verify(J9VMInternals.java:70)
at java.lang.J9VMInternals.verify(J9VMInternals.java:70)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)
at SimpleTest.testsimplestTest(SimpleTest.java:17)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:243)
at junit.framework.TestSuite.run(TestSuite.java:238)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: java.lang.ClassNotFoundException: org.eclipse.hyades.execution.runtime.datapool.IDatapoolFactory
at java.net.URLClassLoader.findClass(URLClassLoader.java:423)
at java.lang.ClassLoader.loadClass(ClassLoader.java:653)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:346)
at java.lang.ClassLoader.loadClass(ClassLoader.java:619)
... 27 more


Post Extras: Print Post   Remind Me!   Notify Moderator  
RahulRNair
Newbie


Reged: 01/20/12
Posts: 20
Loc: Thiruvananthapuram
Re: Hi Am getting an error during Integrating RFT with [Re: thangamani]
      #719962 - 12/09/12 11:11 PM

Hi Marsur,

Refer this link ...http://www.prasannatech.net/2009/01/convert-pdf-text-parser-java-api-pdfbox.html

Its working fine for me...

--------------------
Rahul.R


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 5 anonymous users are browsing this forum.

Moderator:  AJ, AllenGay 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 4904

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5