How QTP recognize the object??how to add objcts into object
repository??

Answers were Sorted based on User's Feedback



How QTP recognize the object??how to add objcts into object repository??..

Answer / murali d

In QTp we have seperate mechanism called as the object
identification for identifying the objects.This object
identification have 4 properties .
1.mandatory
2.asistive
3.base filter
4.optional filter
Based on the properties we will identify the objects.
In object repository we have a seperate button add(+) by
using this we can add the objects.

Is This Answer Correct ?    1 Yes 0 No

How QTP recognize the object??how to add objcts into object repository??..

Answer / mohammed

In QTp we have seperate mechanism called as the object
identification for identifying the objects.This object
identification have 4 properties .
1.mandatory
2.asistive
3.base filter
4.optional filter
Based on the properties we will identify the objects.
If we have to add object to OR then we have option in OR
Add objecct to local
Navigation is:

Resource menu
select Object Repositary
go to Object
select Add object to the local

Is This Answer Correct ?    1 Yes 0 No

How QTP recognize the object??how to add objcts into object repository??..

Answer / krishdeepqtp

Using Object Properties QTP will recognize objects. We can
use either "Object Repository manager"(Shared Repository) or
"Object Repository"(Per Action Repository) to add the obejcts

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More QTP Interview Questions

What is the DIFF Between PROJECT AND PRODUCT?When Company will need Product?

5 Answers  


Explain abt the File System Object in QTP with ex

3 Answers   Ordain Solutions,


does the vb script knowledge is mandatery in testing using QTP

1 Answers  


what is tool interface?

1 Answers   ITC Infotech,


I used the below code to open QTP through VBscript?But i can unable to Invoke QTP...PLZ help me with the correct code to invoke QTP through VBS with description of the code aswell. Dim qtApp 'As QuickTest.Application 'Declare the Application object variable Dim qtTest 'As QuickTest.Test 'Declare a Test object variable Dim qtResultsOpt 'Declare a Run Results Options object variable Set qtApp = CreateObject("QuickTest.Application") 'Create the Application object qtApp.Launch 'Start QuickTest qtApp.Visible = False 'Make the QuickTest application visible qtApp.Open "C:\form", True 'Open the test in read-only mode 'set run settings for the test Set qtTest = qtApp.Test qtTest.Run 'Run the test 'WScript.StdOut.Write "Status is: " & qtTest.LastRunResults.Status 'Check the results of the test run qtTest.Close 'Close the test qtApp.quit 'Close QuickTest Pro Set qtResultsOpt = Nothing 'Release the Run Results Options object Set qtTest = Nothing 'Release the Test object Set qtApp = Nothing 'Release the Application object

0 Answers   ADITI,






Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("» County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma

0 Answers  


What is the difference between Functions and Action ?

1 Answers  


i have a doubt can anyone tell me where are scripts stored while using QTP.Tell me the exact procedure takes place in real time?like how we call scripts how to proceed after writing scripts?how scripts are executed etc?i heard some use Qc whether others dont use.so tell me whole procedure for both the things it will be a very big help.as i have interview i want to have whole idea on this.its very urgent.

0 Answers   RR Donnelley, RRDonnelley,


What is the difference between Call to Action and Copy Action.?

2 Answers  


Pls can anyone give me the descriptive programing script to find the number of edit boxes in a login window in flights reservation (windows application only not web). Pls anyone, very urgent

1 Answers  


If there r 1000 test scripts that were written. If a change to any functionality is to be made then how can we know in which script is this functionality existing.

4 Answers   iGate,


Explain the checkpoint in qtp?

0 Answers  


Categories