Tech Interviews: QTP Interview Questions and Answers
Tech Interviews: QTP Interview Questions and Answers
Tech Interviews Search
Prepare for job interviews with the questions and answers asked by high-tech employers
.NET C++ Da t a ba se Gen er a l Ha r dw a r e Ja v a Net w or k in g Pu zzles SA P A BA P T est in g Un ix /Lin u x VB W eb dev W in dow s
QTP interview questions and answers
By adm in | Oct ober 1 9 , 2 0 0 6
T h is en t r y w a s post ed in Tes ting. Book m a r k t h e perm alink . Pos t a com m ent or lea v e a
t r a ck ba ck : Track back URL.
A ds by Goog le
Joe
Posted 10/16/2007 at 1:34 pm | Pe rmalink
Hi Am uly a,
Answer is YES.
Joe
rajasekhar Reddy
Posted 10/23/2007 at 12:39 am | Pe rmalink
Hi friends,
please helpm e ………..
nanda
Posted 11/4/2007 at 7:18 am | Pe rmalink
this is script will use to sav e new test or existing test:
Dim qtApp ‘As QuickTest.Application ‘ Declare the Application object v ariable
Set qtApp = CreateObject(”QuickTest.Application”) ‘ Create the Application
object
qtApp.Launch ‘ Start QuickTest (if not launched)
qtApp.Visible = True ‘ Make it v isible
‘ Sav e the current test and open a new one if needed
If qtApp.Test.Modified Then ‘ If the test was m odified
If qtApp.Test.IsNew Then ‘ If it is a new test (untitled)
qtApp.Test.Sav eAs “C:\Tem p\Tem pTest” ‘ Sav e it with a tem porary nam e
(ov erride existing tem porary test)
Else ‘ If the test exists (has a nam e)
qtApp.Test.Sav e ‘ Sav e the changes
End If
End If
If Not qtApp.Test.IsNew Then ‘ If the current test is not new
open in browser customize free license contest pdfcrowd.com
qtApp.New ‘ Open a new test
End If
Set qtApp = Nothing ‘ Release the Application object
nanda
Posted 11/4/2007 at 7:20 am | Pe rmalink
nanda
Posted 11/4/2007 at 7:26 am | Pe rmalink
The below script use for count no. of edit boxes in AUT:
set odesc = description.create
set get_object = window(”").childobjects(odesc)
count_object = get_object.count
m sgbox count_object
Hi Friends,
My application is using FarPoint for Grids.
But still am not able to catch properly .
If any one get the solution but rev ert bac asap
Oscar
Posted 11/21/2007 at 9:05 am | Pe rmalink
Subashini
Posted 12/5/2007 at 12:30 pm | Pe rmalink
Doesnt QTP support HTML pages. I need to com pare two HTML pages in the
application.
kamal
Posted 12/7/2007 at 9:43 am | Pe rmalink
Hi,
how can I display im age in the Test Result?
And
How can I upload the sam e on QC so that I can get the sam e while generating
reports?
Narayana
Posted 1/23/2008 at 12:06 am | Pe rmalink
how can we launch QTP through run com m and(it’s not exe),and how can we
load batch file to run?
Venu
Posted 3/20/2008 at 6:47 am | Pe rmalink
Hi All,
Asraf
Posted 4/29/2008 at 1:55 am | Pe rmalink
answer of 5
set obj= createobject(”quicktest.application”)
obj.test.settings.resources.objectrepository path= ”path of the .tsr file”
Dhanasekar S
Posted 5/15/2008 at 3:45 am | Pe rmalink
Oscar Say s:
Nov em ber 2 1 st, 2 007 at 9 :05 am
Naveen
Posted 6/5/2008 at 2:27 am | Pe rmalink
Please find the below script for one of our application, our requirem ent is to
execute this particular script for ev ery 3 0 m in in case any failure we need to
send a m ail to user.
Browser(”SSO LOGIN”).Page(”SSO LOGIN”).WebEdit(”usernam e”).Set
“krishna”
Browser(”SSO LOGIN”).Page(”SSO LOGIN”).WebEdit(”password”).SetSecure
“4 84 7 7 7 0856 1 1 8ec59 02 6 d86 ba08b2 aac9 2 0cf7 f87 4 f0f8cfc5e5bbf1 7 b1 4 ″
Browser(”SSO LOGIN”).Page(”SSO LOGIN”).WebButton(”Log In”).Click
Browser(”SSO LOGIN”).Dialog(”Security Alert”).WinButton(”Yes”).Click
preethi
Posted 6/6/2008 at 11:00 am | Pe rmalink
sandy
Posted 7/15/2008 at 6:39 am | Pe rmalink
hi all ,
i hav e a question .i hav e to div ide the text in the notepad to different
paragraphs, without using the split function as the text doesnt hav e any special
characters to differentiate the paragraphs,isthere any function for pasting the
content in the word docum ent ? as objSelection.ty petext
this function ty pes all the text captured as a notepad text without any
paragraph div isions..but i need to ty pe as a paragraphed text ..can any one help
on this issue ?
sonia
Posted 9/13/2008 at 1:58 pm | Pe rmalink
Auli
Posted 11/4/2008 at 5:03 am | Pe rmalink
In TestPartner, there is a function “TextExists(som e_text)”, which returns true
or false based in whether the text ’som e_text’ is present within a
window/m essagebox/editbox etc. Is there any such function or any inbuilt
function in QTP that does the sam e?
pradeep
Posted 11/5/2008 at 12:16 am | Pe rmalink
sAcHiN...
open in browser customize free license contest pdfcrowd.com
Posted 11/5/2008 at 3:35 am | Pe rmalink
No u don’t need the object to be present in the Object Repository .
This property is used to get the runtim e data from the appication.
But, QTP needs to identify that object whose particular property u need to
capture. For this u m ay need that object in Object Repository or else u can use
descriptiv e program m ing.
Ganesh
Posted 12/23/2008 at 6:59 pm | Pe rmalink
Hello,
Issue is QTP is not recognizing the date I select from this calendar. It records just
the click on im age but does not recognize the date field in the calendar.
Is it possible to do in QTP?
Writing a script if it can be done please do let m e know how.
Thanks
Ganesh
Hello,
I had question on how to write test cases.
For exam ple if in a web page we hav e Nam e, Age, & Address fields. Do we hav e
to test different conditions for each field?
For eg:
nam e:hav e to test 1 0 possibilities.
Age: hav e to test 1 0 possibilities.
In such scenario do we write different Testcases for different fields or com bine
them all into one testcase?
Thanks
Irina
Posted 1/11/2009 at 2:09 pm | Pe rmalink
« Prev ious 1 2
N am e * Em ai l *
Websi te
Com m en t
Post Com m ent
Pow er ed by WordPres s . Bu ilt on t h e Them atic Them e Fram ew ork .