How to retrieve data from application objects?



How to retrieve data from application objects?..

Answer / maddy

Using Loop Statements and GetROProperty Method

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More QTP Interview Questions

How we can add objects to the object repository during the running?is it possible or not?explain

3 Answers  


What are private functions in QTP? How they can be called from the function library?

0 Answers   HCL,


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  


What is Modular framework and Keyword drive framework? Explain

4 Answers  


What is the current version of QTP?

19 Answers  


What is the extension of script and object repositary files?

7 Answers   Maveric,


why should we give deliver good quality software?

0 Answers  


what is frame work of qtp?

4 Answers   ITC Infotech, KPIT,


Can you brief the hurdles you faced during Automation testing?

0 Answers  


Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?

0 Answers   ADP, CTS,


How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box

0 Answers   L&T,


we are submitting data one form to another form.defaultly it is time period set as 5sec. but it is taken 15sec what to do

5 Answers   Covansys,


Categories