Instructions: Click the answer button to see the correct answer. These questions are purely based on QTP 8.2
- The toolbar enables you to view the details of an individual action or the entire test flow is
- Testing toolbar
- None of the above
- Action toolbar
- Test Pane
Answer c
- The key that is used to Start/End analog recording mode?
- F3
- SHIFT+ALT+F3
- CTRL+SHIFT+F3
- F10
Answer b
- To use a specific property to identify your object, but that property is not listed in the properties list. Then how do you identify that object?
- Add the specific property to the list
- Use the Default property
- Use some other property to identify your object
Answer a
- The list of test objects and their properties and values are stored in the
- Object Repository
- Object Identification
Answer a
- To retrieve the current property value of the objects in your application during the run session.
- GetVisibleText
- GetROProperty
- SetROProperty
- GetTOProperty
Answer b
- Bitmap checkpoint is supported in VB environment.
- True
- False
Answer a
- What is the shortcut key that is used for a Standard Checkpoint?
- F12
- F2
- F10
- F7
Answer a
- To compares the values of the specified property during a run session with the values stored for the same test object property within the test.
- Checkpoint
- All the above
- Output Value
- Compare the object property
Answer a
- You will use the recording mode for an object not recognized by QuickTest.
- Low-Level Recording Mode
- Normal recording Mode
- Analog Mode
Answer a
- The statement that calls the recorded analog file is
- RunAnalog
- CallAnalog
- ExecuteAnalog
Answer a
- An action can be called by other tests or actions is
- Call Action
- Split Action
- Reusable Action
Answer c
- You can replace the page in your Active Screen tab
- False
- True
Answer b
- QuickTest adds a checkpoint statement in the Expert View as
- Check Checkpoint
- Checkpoint
Answer a
- A Checkpoint checks that a text string is displayed within a defined area in a Windows application is
- Accessibility
- Text Area
- Standard
- Text
Answer b
- In ActiveX environment an “Accessibility checkpoint” is supported.
- No
- Yes
Answer a
- Can we get the execution time for an action in a Test.
- Yes
- No
Answer a
- The command used to retrieve data from excel sheet is
- Set ab = Connection(“srcfilepath “) , Set ws = ab.getdata(sheetid)
- Set ab = CreateObject(“srcfilepath “) , Set ws = ab.getsheet(sheetid)
- Set ab = GetObject(“srcfilepath”) , Set ws = ab.worksheets(sheetid)
Answer b
- The method used to get data from HTML Table is
- GetData(Row,Col)
- GetRowValue(Rowid,Colname)
- GetCellData (Row,Col)
Answer c
- The Command used to insert the transactions in test is,
- StartTransaction(“Name”), EndTransaction(“Name”)
- Services.StartTransaction “Name”, Services.EndTransaction “Name”
- StartTransaction.services “Name”, EndTransaction.services “Name”
Answer b
- A step in which one or more values are captured at a specific point in your test and stored for the duration of the run session is
- Output Value
- Checkpoints
- Active Screen
Answer a
- QuickTest can detects an application crash and activate a defined recovery scenario to continue the run session.
- True
- false
Answer a
- In Batch Test process, the test list are saved in file format as,
- *.mtb
- *.mts
- *.mbt
- *.mtr
Answer a
- The command used to invoke other application from QTP,
- InvokeApplication
- SystemUtil.Run
- Run
- Both b & c
- Both a & b
Answer e
- Can we add external library files in QTP?
- No
- Yes
Answer b
- The method that explicitly activates the recovery scenario mechanism is,
- recovery.activate
- enable
- recovery.enable
- activate
Answer a
- The method used for sending information to the test results.
- Reporter.log()
- Reporter.reportevent()
- Reporter.msgbox()
- Reporter.report()
Answer b
- To terminate an application that is not responding we use,
- SystemUtil.terminate
- SystemUtil.Stop
- SystemUtil.CloseProcessByName
Answer c
- The recovery mechanism does not handle triggers that occur in the last step of a test
- false
- True
Answer b
- We can add Test object methods, function calls into the Test using
- Function generator
- Step generator
- Object repository
Answer a
- The method that adds to the test while implementing Synchronization is
- Synchronize
- Wait
- WaitProperty
- Pause
Answer c
- The mechanism used to identify objects during run session is
- Recovery scenario
- Smart identification
- Handling object
Answer b
- Post-recovery test run options specifies
- how to continue the run session after QTP identify the event
- errors while running
- recovery scenario during a run session
Answer a
- The action that can be called multiple times by the test as well as by other tests is called
- non-reusable action
- Reusable action
- External action
Answer b
- QuickTest supports virtual object for anolog or low-level recording.
- False
- True
Answer a
- The command used to connect with Database is
- Createobject(“connectivity name”)
- dbconnect(“connectivity name”)
- open(“connectivity name”)
- None of the above
Answer a
- The method used to retrieve the folders is
- FileSystemObject.Getfolder()
- FileSystemObject.selectfolder()
- FileSystemObject.retrievefolder()
Answer a
- The method used to compare 2 XML files is:
- XMLfile1.compare(XMLfile2)
- XMLcompare(file1,file2)
- compare(XMLfile1,XMLfile2)
Answer c
- Can we change name of checkpoint?
- No
- Yes
Answer a
- The QTP script files are stored in the extension of
- *.mts
- *.usr
- *.mtr
- *.vbs
Answer a
- The method used to register the user-defined function with test object is
- setFunc()
- RegisterUserFunc()
- RegisterFunc()
Answer b
- The method used to open the specified URL in a browser is
- openURL()
- navigateURL()
- navigate()
Answer c
- The 3 Parameter types available in data driver is
- DataTable,Environment,Random number
- DataTable,random number,unique
- environment,string,numeric
Answer a
- The method added to the test while parameterizing is
- get Data (variable, dtGlobalSheet)
- get DataTable(variable, dtGlobalSheet)
- Set Data(variable, dtGlobalSheet)
- Set DataTable(variable, dtGlobalSheet)
Answer d
- The length of the array can be get by the method
- length(array)
- ubound(array)
- count(array)
Answer b
- The method used to get the count value of list box or combo box os
- GetItemsCount
- GetCount
- GetItemCount
Answer a
- Can we parameterize the checkpoints properties?
- No
- Yes
Answer b
- In data base check point we can not set the expected value from the test?
- True
- False
Answer b
- The checkpoint used to check the alt attribute exists for all relevant objects (such as images) is
- DataBase CheckPoint
- Accessibility checkpoint
- Bitmap checkpoint
- Standard checkpoint
Answer b
- The method used to continue the test execution after getting run-time error is
- On Error Resume Next
- On Error Raise Next
- On Error Next
Answer a
Note: Please use the QTP forum for posting questions now!
Hi Ankur,
This is post so much helpful for fresher and experience base. Good keep it up .
God bless u for next.
Hello Ankur,
Good Stuff…. it is very helpful your articles and explanations …
Keep up your good work,
god bless,
Ravi Verma
Hi Ankur,
This portal very helpful for new beginner’s in QTP.
Could yu please guide me how to get expertise in QTP and crack interview as well.
I have 3.8+ years exp in software developments and now want to switch into Automation testing.
Thanks …
I m sandeep . i somebody basal knowledge of qtp and not some knowledge of Scripting.Can u ship me some notes and script with covering shots so i can get skillfulness in qtp.
Computer Hardware Store
This blog is too good to identify that how much we knoe QTP thank u.
Wat all programs asked interview plz mention it
it;s good boss
this post a very good and helpful
Nice site with lot of information on automation testing using QTP.
Thanks and keep up the work.
This is really beneficial site for all testing people
hi ankur,
I m sandeep . i have basic knowledge of qtp and not much knowledge of Scripting.Can u send me some notes and script with screen shots so i can get expertise in qtp.
plz send it on below ids:-
sandeep.manu1980@gmail.com
sandeep_manu1980@yahoo.com
Thanks in advance.
Hi Ankur,
You are doing a great work in sharing knowledge to the world. I must say…”Hats Off to You Sir”
Ankur I have 1 question in QTP.
How to parameterize links in QTP?
In my project[web application], a page’P’ has say 20 links, say linkA, LinkB, LinkC..Here I want to parameterize these actions: click on linkA, go to next page X, click on close link in page X then you will get back to page P. Similaly click on LinkB go to page X, click on close link in page X and get back to page P. Click on linkC….like the same action for all the 20 links…! If I can parametrize my link..Half of my problm is resolved…Plz help me.
Thanks a lot,
Suvvi
Thanks Ajay.
Nice question. Did you try to check out on your own how ordinal identifier works? I am sure with a little R & D(by recording a simple script etc) you can figure it out. Either ways let us know on the QTP Forums[http://www.learnqtp.com/forums/]
Hello Ankur, This is an excellent blog i have ever seen. Though I am not a new user of QTP one question was always there in my mind and I am still struglling with the same.
How will you ensure that Ordinal Identifier is being set. How can one get an information either from script or from the result.
Kindly post the answer. That would be great help to me…
Thanks & Regards,
Ajay.
Pretty useful…Thanks very much
it is excellent Ankur, i Appreciate your labour. Keep it up.(Ranjit)
Excellent stuff.
Regards
Dheeraj Gambhir
Very very useful stuff…Thanks…keep going
@ testing book:
The questionnaire was written for QTP 8.2 as I have mentioned at the very top of my blog post. In QTP 8.2 and earlier versions it was not possible to rename checkpoints.
but yes with QTP 9.x series you can rename checkpoints.
Hi,
I’m adding comment on Question No. 38. I think check point name can be renamed or chnaged using checkpoint properties dialog.
Please correct me, If i’m wrong.
Thanks
hi iam tomnoy i have basic knowledge of qtp using recording mode but using
scripting how we can perform in real time can u give those details have u any real time sapmle scripts.and is can u give those details thanks
banti13@gmail.com
Hello Ankur,
Good Stuff…. it is very helpful your articles and explanations …
Keep up your good work,
Cheers,
ANKUR
@chandu:
Go to QTP help –>Index tab.. Type in “Function Definition Generator”
you will get the answer…
For further queries use testing tools forum…link is provided on the top right.
HI Ankur..
in
We can add Test object methods, function calls into the Test using
Function generator
Step generator
Object repository
the answer is step generator not function generator..
there is no FG in QTP it SG
please let me know if there is anything wrong
thanks
chandu
Hello Ankur,
I am not sure If I should do some course and enter this testing field.I completed B.E. in Information Technology In 2005, But I started working in a BPO.Now I am looking for a change. Will doing any sort of course help me?????
@ Anon:
Use the GetObject function when there is a current instance of the object or if you want to create the object with a file already loaded. If there is no current instance, and you don’t want the object started with a file loaded, use the CreateObject function.
Answer for Question 17 is incorrect it should be C not b
17. The command used to retrieve data from excel sheet is
a. Set ab = Connection(“srcfilepath “) , Set ws = ab.getdata(sheetid)
b. Set ab = CreateObject(“srcfilepath “) , Set ws = ab.getsheet(sheetid)
c. Set ab = GetObject(“srcfilepath”) , Set ws = ab.worksheets(sheetid)
The material posted here is good. post monr info regording Testing
Best Wishes
From:
Prashanth Chenna.
Hello Ankur,
Good Stuff…. it is very helpful your articles and explanations … I worked more than 2 years on QTP (6.5, 8.0 and 8.2), in which I haven’t come acorss few of the concepts of QTP .. which I learned here …
Keep up your good work,
Cheers,
Chandra.
Hi there,
I got you name through QA search. I am very novice for QA. Just entering in QA and had training in automation for mercury tools from consultancy here in USA. But as I am completely at zero level of scripting is it good Idea to enter and start carrier through QA. I did my MS in geology (from US) and familiar with computer tools but not comfortable with scripting part. As you are actually working in QA your suggestions from your experiences on first job will really help me to make my decision. Waiting for your reply.
Thanks in advance
The Question is prepared very well have chance to wr8 the exam also..implement a time limit
Hi Ankur, your blog is the most beneficial one I have ever read, thanks alot for helping us all out. I will be a regular visitor to your blog now as the information regarding QTP is the best out here than any notes/books I have read.
Thanks once again
excellent work…hates off to you…please do continue like this….if possible,add some more info about the frameworks…and do giv an article about the most used methods and objects….thx a lot!!!!!!!!!!!!!!!!!!!!!!!
hi iam prasad i have basic knowledge of qtp using recording mode but using
scripting how we can perform in real time can u give those details have u any real time sapmle scripts and is their any certification for qtp can u give those details thanq
prasad_6886@yahoo.co.in
hi buddies
i am very happy to have a gud support from this site, which provides a knowledge and clarifies what ever doubts are raised for an individual. I thank one and all for the support
Hi
This is samba murthy from chennai.I got some basic knowledge in qtp.but i dont have confident in this.So please send me some sample test cases and their scripts and send me specific screen shot if possilbe to below id’s:
samba_lade@yahoo.co.in
sambamurthy.lade@gmail.com
hi ankur,
Firstly i would like to apprepicate u for sharing the knowledge ocean of qtp…. in a smart way…
it is very a good useful information… im very thankful to u for sharing the information to all the site visitor…
i came to across many new things in this site…
thnk u
bye….
Hi anukar,
Thank u very much u gave an exlent stuff for the JR and SR also .
the information is very usefull for all plz if posibule post the CErtification paper Quations?
thank u once again
it was really wonderful and the articles are really informative
Thanks for those Imp Notes tht u have provided, i hope these wuld b helpfull for my exam…..
Ankur,
keep up the good work! I just wanted to say tht ur site is very informative and easy to access .. Its clutter free compared to rest of the sites..
hi to every one,this is exlent meterial on qtp,descryptive programming,evry should read it,explanation is very good
Hi Guys,
This is really a good stuff to study. If any one can provide sample paper for QTP certification, then plz do this ?
Hi ankur, This is really awesome information on QTP. This really helps me for additional concepts to learn which comes under live environments. thank you very much
This was really very usefull for me. I learned additinal information about QTP.Keep adding additional Information in future.
Thankyou……
good evening ,
this is really a good one it clarified my most doubts.
thnks again
GOOD EVENING
I am Sujatha, working as Sr.Software Engineer in Testing.Thanks alot for prepared good questions. ….ALL THE BEST
Hai
Ankur ..Thx a lot .keep really impressed
Keep on posting such stuff on Qtp
Thx
sam
Hi,
In the Qtp Interview section, Can we get the answers for those questions.
Thanks
Raju
Saket
hello ankur and mansa
pls post question and answer related to qtp…
the it will be beneficial for us..guy who is just started career in automation testing.
Hello..
This is Mani here… Thank you very much for posting this article…. And this QTP article is really very helpful..
Hi Manasa,
Thanks…well if you have anything specific you are welcome to ask me through this comments section
hi…..
This is Manasa.U.K from EDEN ISPL BANGALORE,this information is very benificial.. I request u to send some more documents on QTP.
Hi,
This is hari the article you are posted in this blog is helpful and excellent.post more information on the testing.
thanks bye.
Hi,
The articles posted on this blog are excellent.
Good Wishes
Pankaj