ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
In our application (Web based application)we will get a pdf 
file and we have check a particular text in that pdf. Can 
any one tell how to check text in a pdf file.

In the same pdf file it generating some links and I have to 
click that links. QTP unable recognizing that links, even 
id did record and playback qtp does not generating any 
script.

Can any one help me….?
 Question Submitted By :: Ravi
I also faced this Question!!     Rank Answer Posted By  
 
  Re: In our application (Web based application)we will get a pdf file and we have check a particular text in that pdf. Can any one tell how to check text in a pdf file. In the same pdf file it generating some links and I have to click that links. QTP unable recognizing that links, even id did record and playback qtp does not generating any script. Can any one help me….?
Answer
# 1
I think u know it before hand.
Qtp cant recognize some objects . So we have to make that 
object to be recognized by the qtp using virtual object 
wizard.
 
Is This Answer Correct ?    0 Yes 0 No
Swathi
 
  Re: In our application (Web based application)we will get a pdf file and we have check a particular text in that pdf. Can any one tell how to check text in a pdf file. In the same pdf file it generating some links and I have to click that links. QTP unable recognizing that links, even id did record and playback qtp does not generating any script. Can any one help me….?
Answer
# 2
In virtual object we cannt get the text what we want to 
check. Plz tell how to check the text.
 
Is This Answer Correct ?    0 Yes 0 No
Ravi
 
 
 
  Re: In our application (Web based application)we will get a pdf file and we have check a particular text in that pdf. Can any one tell how to check text in a pdf file. In the same pdf file it generating some links and I have to click that links. QTP unable recognizing that links, even id did record and playback qtp does not generating any script. Can any one help me….?
Answer
# 3
haha......... it's too funny answers.........

Sorry 4 that
actually u should buy the adobe ad-in component........

correct me if I am wrong.
 
Is This Answer Correct ?    0 Yes 0 No
Sunny
 
  Re: In our application (Web based application)we will get a pdf file and we have check a particular text in that pdf. Can any one tell how to check text in a pdf file. In the same pdf file it generating some links and I have to click that links. QTP unable recognizing that links, even id did record and playback qtp does not generating any script. Can any one help me….?
Answer
# 4
Hi...we should have add in for it. but with add in also we
do it..by copieng pdf test to a text file.

for this...
string1 = "nanda"
len_data = len(string1)
i=0
file_path = "C:\Documents and Settings\Madhu
Sudhan\Desktop\pdftotext.text"
Set clipboard = createobject("mercury.clipboard")

Set fso = createobject("scripting.filesystemobject")
Set notepad = fso.createtextfile(file_path,8)

'*********Start recording click on Edit menu--select all,
'click on Edit menu--copy, click on pdf file to get deselect
'the text...************
Window("Adobe Reader").Activate
Window("Adobe Reader").WinMenu("Menu").Select "Edit;<Item 8>"
Window("Adobe Reader").WinMenu("Menu").Select "Edit;<Item 4>"
Window("Adobe Reader").Activate
get_text = clipboard.gettext
notepad.write get_text
notepad.close

set notepad = fso.opentextfile(file_path,1)

do while notepad.AtEndofStream <> true

get_data = notepad.readline

search_data = instr(get_data, "nanda")
capture_data = mid(get_data,search_data,len_data))
if capture_data = string1 then

i = i+1
else
end if

loop

msgbox "the text is found in "& i" rows"

for any queries...
nanda.dreddy@gmail.com
 
Is This Answer Correct ?    0 Yes 0 No
Nanda
 
  Re: In our application (Web based application)we will get a pdf file and we have check a particular text in that pdf. Can any one tell how to check text in a pdf file. In the same pdf file it generating some links and I have to click that links. QTP unable recognizing that links, even id did record and playback qtp does not generating any script. Can any one help me….?
Answer
# 5
Do you have a full copy of Adobe Acrobat installed?
 
Is This Answer Correct ?    0 Yes 0 No
Stephen
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
Is it possible to run QTP scripts created in IE 6.0 in IE 7.0? TCS4
If u prepare bug report in Excel sheet . Is it possible to send thrw Test director? how it is? Wipro3
is qtp 9.2 supported for firefox browser3.0?bcoz when i tried to create scripts with the application run on firefox browser 3.0 then qtp 9.2 didn't ct=reate the scripts?  1
What are the recording modes and executing modes avialble in QTP? Polaris3
In our application (Web based application)we will get a pdf file and we have check a particular text in that pdf. Can any one tell how to check text in a pdf file. In the same pdf file it generating some links and I have to click that links. QTP unable recognizing that links, even id did record and playback qtp does not generating any script. Can any one help me….?  5
WHAT IS OBJECT REPROSITORY? BirlaSoft3
Can any body tell me what is the method to connect the remote desk top throw QTP 9.2 version?  1
What is smart identification? AZTEC2
Why you are Using Descriptive programming instead of Object Repository?  7
can any body help me out by providing links/material for descriptive programming in QTP otherwise can you post decriptive programing based interview Questetion&ans. plz help me out . i need it. ADP1
what is smart identification?  5
What is throw object?  1
How can the expected image for a bitmap checkpoint be recaptured in QTP Ordain-Solutions1
In real time whenever we found bug , after that where you send to that bug. send to T.Lead or Directly Developer. Plz explain me?  2
What is the Difference between Environment variable and Globle variable,.. anybody can give me answer..Thanks in advance... IBM1
what is the difference between action and function BirlaSoft6
Explain me in deatail about DATADRIVEN framework including scripts ?(realtimes plz)(Chandana) Wipro2
How do you invoke an application using the step generator in qtp?  5
Tel me what was the automation testing process you followed?  2
When we parameterise some field ex. Textbox is there any way that we can generate a specefic number of random values (For alphabetical values if possible) instead of manually entering values in the data table  2
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com