Can i run the qtp, without OBJECT REPOSTIRY...

Answer Posted / lokesh kanithi

Hi Srinivasan!
Identification can be done using descriptive programming.
Here is example # 1 with description object.
set EditDesc = Description.Create()
EditDesc("Name").Value = "userName"
EditDesc("Index").Value = "0"
Browser("Welcome: Mercury").Page("Welcome: Mercury").WebEdit
(EditDesc).Set "MyName"
Here is example # 2 with out description object.
Dialog("text:=Login").WinEdit("window id:=3001","attached
text:=Agent.*").Set "john"
Dialog("text:=Login").WinEdit("window id:=2000","attached
text:=Password:").Set "mercury"
Dialog("text:=Login").WinButton("text:=OK").Click
These both method will be used in expert view to identify
object with out object avaialble in object repository.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

HOw to add the recovery file at runtime to the test file .

1770


your coming from electrical backgroung..but y ur coming to software side?

1566


This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10

1719


Explain the terms test and business component?

768


I am trying to install QTP 9.5 but i am getting error message saying that ("Path is \QuickTest Professional\bin\vb_init.exe") vb_init.exe file is not find. can anybody give me the advise what to do ?

1997


What is the new version of qtp which is recently released in the market?

847


What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this

1615


Hi Samrat, Thank u very much, what u said it is right.

1654


How to add object to object repository in qtp9.0 Suppose for brower yahoo home page

1619


Hi frens! I am testing VB project with MS Access database. At add button click my record is storing in data table and it is shown in datagrid. So at Delete button click i want to check datagrid rows 9before and after delete). so how can i do it using descriptive programming?

1745


Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?

1896


What is the use of Debug Viewer?

1674


Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?

1899


Limitations in QTP?

1929


Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work

1679