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

Explain Checking XML....

1 Answers   Crea,


Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,

0 Answers  


How can we fill data in a text box without recording using object spy. Can you please provide the steps...

1 Answers   Hotel Jobs, TCS,


You say it is a bug but developer say it is not a bug then what will you do?

6 Answers   Hewitt, Tech Mahindra,


how to get no.of non empty rows in a excel sheet through vb-script

2 Answers   HP,






By using QTP, How do you test a frame in a web page?

4 Answers   TCS,


you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva

0 Answers   Covansys,


How we can add actions in the test using QTP?

4 Answers   BirlaSoft,


Please Explain The QTP real Testing process with steps.

4 Answers  


how will we run batch tests in qtp what is the process to run the multiple test sets?

3 Answers  


How do you find out whether the string is Numeric or Alpha numenric.Suppose..'QTP is an automation testing tool 12345' How should I know it is alphanumeric.Can any one please write the code for this

4 Answers  


Hi I am new to QTP. we are planning to implement automation for the application. I am trying to execute the following script: Set ExcelObj=CreateObject ("Excel.Application") ExcelObj.WorkBooks.Add Set NewSheet=ExcelObj.Sheets.Item(1) NewSheet.Name="Order" ExcelObj.Cells(1, 1).Value = "Name" ExcelObj.Cells(1, 2).Value = "Ordernum" ExcelObj.Cells(2, 1).Value = "nam" ExcelObj.Cells(2, 2).Value = "21" ExcelObj.ActiveWorkbook.SaveAs "c:\test1.xls" ExcelObj.Quit Set ExcelObj = Nothing in the above script for the line(ExcelObj.Cells(2, 2).Value = "21") it is inserting the value 21 successfully.this is fine But if i want to insert a variable instead of the constant value then what should be the modification in the script. For example: If user retrives a value throug "GetRoProperty" and wants to insert the value into then how the script changes?

1 Answers  


Categories