QTP Interview Questions
Questions Answers Views Company eMail

Is there a function to find the number of occurrences of sub strings within a string?

1 7595

Please guide me release notes of Automation once scripts are completed

674

Hi guys, Our company has started to automate testing and started using the tool QTP.Iam new to QTP and I have the following questions to ask. Would appreciate if anyone could give me a hand on this and explain things in a detailed way. [1] Bugs outside checkpoints: I know that I can easily make the QTP do what I want inside the application. Also, I know that I can insert some checkpoints and that the qtp will notice if those conditions are not met. However, there are bugs and problems that might not be connected to a checkpoint (system crash, database error, losing session/logout etc.); how can I make sure that the QTP will notice such problems as well and flag a test as failed. [2] How to tell the QTP that when a particular statement is "false",it should flag it as, test failed and show in in the test report. In short how to tell the qtp that a test is false from the script so that it shows it in the report For Eg:- if(true) test passed // how to instruct qtp else test failed // how to instruct qtp [3] Test script portability: we are having several environments; If I record a test on User Interface, obviously, the qtp will save the URL; however, how can I make the qtp run the tests so that the url is provided dynamically. Is there a possibility to parameterize the web server.Is this the way to do it.I dont know? [4] Test management: How do I manage the tests? I guess we will be doing it in Quality Center, yet, it’s not perfectly clear to me how we will be doing that. [5] Running scheduled test sets: How do I group tests to a certain test set? How can I make this test set run at a predefined time? [6] Test maintenance: What do we need to do beforehand in order to enable for easy test maintenance, meaning small adjustments in tests? [7] Reports: What kind of reports on test results are available (either QTP or Quality Center)? Thanks in advance and hoping for an answer. Jen

726




IN A WEB PAGE THERE IS TWO WEB BUTTON WITH SAME OBJECT PROPERTY AND VALUE, SO HOW I WILL IDENTIFIE OBJECTS INDIVISUALY.

3 2671

What is diff betwee datatable.importsheet "path" and datatable.import

2 5758

Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance

816

Why is Client side image is preferred over server side image?

657

How do client side image and server side image work?

667




Why you are Using Descriptive programming instead of Object Repository?

11 12806

How can you connect the database with QTP?

3 3002

How can you capture(Read) the values from a Table?

1 2232

hi i have one issue while automating the script using QTP i want scrool down .i cannot do even using scrool down methqad is not working .the object will take WebElement plz is there any code help me

3 6176

cud anybody please tell me the full form's of the extention files that we use in real time---.tsr,.mtr,.qrs

Symphony,

7 16203

Does QTP recognize two diff browser's at a time..?if possible how..? Is it possible run scripts on Mozilla which are recorded on IE..?..How..?

IBM, TCS, Semantic Space,

12 21960

Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!

Infosys,

1717


Post New QTP Questions






Un-Answered Questions { QTP }

whenever U using QTP,Test Director, Why we using separate Bug tracking tool?

743


This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?

726


what are all the fileds present in object repository?

858


in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded

812


can u please explain what is the exact difference between qtp8.2 and 9.0

969






A FORM CONTAINS 5 FIELDS. 1 FIELD IS ENABLED REMAINING(4) FIELDS DISABLED. MY QUESTION IS ENTER VALUES INTO 1 FIELD AFTER THAT CLICK TAB BUTTON THEN 2 FIELD ENABLE THIS PROCESS CONTINUE UPTO 5TH FIELD. HOW TO WRITE CODE IN DESCRIPTIVE PROGRAMMING. PLZ TELL ME THE PROCEDURE AND CODE FOR IT.

577


how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?

602


How you know that a test case is a regression test case

2047


How the smart identification is used in real time?Please explain with an example

834


They asked by using qtp recording writing scripting

1248


hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)

676


how to do the batch testing in test director using manual testing procedure?

1064


What is the script for database check point, bitmapchek point, regular expression ?

844


What is the Command used to start the QTP

771


Hi All, How to get repeated word in string . Thanks Balaji

191