In project module it contains 3-ok buttons with same
properties who qtp identify its objects while runing ??

Answer Posted / uday kumar_anem

QTP uses unique properties to distinguish the object from
other objects. If all these three buttons have same
properties then it go for Ordinal Identifiers. These
ordinal identifiers are 1. Index, 2. Creation Time, 3.
Location.
1. Location: There is no way that all these 3 buttons
placed at the same location.
2. QTP adds index to each of the objects i.e it creates
object description as ok_1, ok_2, ok_3
3. No two objects cannot be created at same time(Web add-in
only)

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Suppose I want fail that check point? How can you do that?

598


what are the mandatory properties for a tex boxc (scenario?)

1523


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?

527


How many types of recording modes in qtp?

583


How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?

612






explain keyword driven framework with banking domain?

1560


banking domain description for software tester for interview

3467


I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com

1496


When and why to use descriptive programming?

603


Explain the use of action split in qtp?

561


What is parameter in qtp?

676


How will you declare a variable in qtp?

550


Explain xml checkpoints.

596


How you can find the absolute value of the number in qtp?

518


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

1475