I have a drop down box to show selected number of records
in result page.It contains 4 items like 10, 25,50 and 100.
when i was recordes script for seelcting each item and
checking selecting number of records in the result page( it
is in the same page in the table format)it is generating a
new page with same controls( objects) in the OR. how to
avaid these in OR? is it possible to write DP for only
these lines?, remaining(remaingin lines of code) objects i
want use from OR only.

One more problemis if change ( add /remove properties of an
OBJECT in OR , my ( recorded )application is not running.

Answers were Sorted based on User's Feedback



I have a drop down box to show selected number of records in result page.It contains 4 items like ..

Answer / sf

I fear I Could you understand what you have written. Could
you write it clearly?

Is This Answer Correct ?    2 Yes 0 No

I have a drop down box to show selected number of records in result page.It contains 4 items like ..

Answer / its me

try to put it clearly...coool!

Is This Answer Correct ?    2 Yes 0 No

I have a drop down box to show selected number of records in result page.It contains 4 items like ..

Answer / shavali

iam not understing put is a clear manner

Is This Answer Correct ?    0 Yes 0 No

I have a drop down box to show selected number of records in result page.It contains 4 items like ..

Answer / jagadish

why it happens:(Just a wild guess)
If you look at the parent Object of those duplicating
objects they might be different. As the application is
opening the records in a new page and drop down box
properties and values remains same.


_please post if you have resolved the problem

Is This Answer Correct ?    0 Yes 0 No

I have a drop down box to show selected number of records in result page.It contains 4 items like ..

Answer / rachna

Using XPath you can Differenciate.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

what is localisation testing and globalisation testing? what is the difference between them?

1 Answers   CDC Software,


When should I use smart identification?

0 Answers  


Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B

0 Answers  


What is descriptive Programming in qtp.

5 Answers  


hi i want license key for qtp 9.2 pls its adjust product name : quick test professional locking code :8 - 54A6A license type : seat license maintenance number : 88888888-8888 pls send license key to my email id borusu.ramkumar@gmail.com

0 Answers  






when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next

1 Answers  


How to find if given number is prime or not

1 Answers  


What are the main attributes of test automation?

3 Answers  


how u test a frame in a web page using QTP?

1 Answers   Accenture, IBM,


How can we parameterize our test, values in flat file. Ex:- Values in notepad, with that values i want to parameterize the test.

3 Answers   Ordain Solutions,


write script for "dropdown button having how many words? for ex.SELECT CITY is dropdown name.. find out how many cities in that?

1 Answers  


1)what is the Exact Meaning of Environment Variables? 2)what is Compile Module in QTP? what exactly it contains Functions or Actions?

4 Answers  


Categories