What are the properties you would use for identifying a

browser & page when using descriptive programming ?

Answers were Sorted based on User's Feedback



What are the properties you would use for identifying a browser & page when using descriptive..

Answer / sreeprasad

"name" would be another property apart from "title" that we

can use.

OR

We can also use the property "micClass".

ex: Browser("micClass:=browser").page("micClass:=page")....

Is This Answer Correct ?    2 Yes 0 No

What are the properties you would use for identifying a browser & page when using descriptive..

Answer / a qtp user

If you use browser handle (hwnd), you won't need page at
all.
For instance Browser("hwnd:=111111").WebList(....)

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More QTP Interview Questions

Find the 'String' from excel sheet and save to another sheet.But we don't know the string column number and row number?

4 Answers  


There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code

0 Answers  


How to launch application under test through VBscript without using systemutil.run or invokeapplication?

3 Answers  


How to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks

0 Answers  


Hi All, I have QTP installed on my machine but the application under test (AUT) is on remote desktop (i.e. I first connect to remote desktop from my machine in order to run the application). I am able to record the script successfully with QTP running on my machine and application running on remote. However, when i run the recorded script, system fails to run it and indicates me that it does not identify the object. Is it possible to record and play while QTP and AUT are not on same machine?

7 Answers   ABC,






How do know the number of browsers opened?

0 Answers  


What is the Difference between test object and run time object?

0 Answers  


In google i'm going to search something like "rose", i usually get 10 results in the first page and in 2nd page 10 results and in 3rd 10 results so on upto 10th page 10 results. so if i want to open all the 10 pages 10 results i.e., 100 results and close..what is the DP for this? pls can anyone answer my Question..PLZZZZZ...

4 Answers   Indium Software,


Is it possible to merge two object repository files in qtp?

0 Answers  


Please clarify Automation and QTP both(names) are same or diff?

1 Answers  


in QTP, we have options like (record and play,recording modes(normal,analog,low level),object identification,smart identification,object repository,synchronizing test,transactions,checkpoints(std,bitmap,text,text area,DB,XML,accessibility),regular expression,actions,data driving,parameter,parameterization,data tables,recovery scenario(pop up,object state,test run error,application crash). real time users of QTP, pls say and when and at what point u have used all these options ,in ur concerned project.pls give me explanation in accordance with ur real time project handled. real users pls send some time in the aboue case. if u can send the the reply through allinterview or at ref_it_ref@yahoo.co.in

1 Answers  


What is the meaning Work bench?

0 Answers  


Categories