Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


1) What is the diff Between GetRoproprty and Gettoproperty?
2)What is Redim?

Answers were Sorted based on User's Feedback



1) What is the diff Between GetRoproprty and Gettoproperty? 2)What is Redim?..

Answer / nalini

GetROProperty used for retriving the property value of an
object from application.

GetTOProperty used for retriving the property value of an
boject from Object Repository.

Is This Answer Correct ?    11 Yes 1 No

1) What is the diff Between GetRoproprty and Gettoproperty? 2)What is Redim?..

Answer / saravanaraja

GetRoProperty: It will retrieve the current value during
run time.

GetToProperty: It will retrieve the value from the test
object only those objects present in the Object Repository.

ReDim: Re-allocation of the Array Size

Is This Answer Correct ?    5 Yes 0 No

1) What is the diff Between GetRoproprty and Gettoproperty? 2)What is Redim?..

Answer / qtphelper

Get Ro property is run time value of an object when the
application is running where as GetTo is the property
assigned to the object in the OR

Is This Answer Correct ?    3 Yes 1 No

1) What is the diff Between GetRoproprty and Gettoproperty? 2)What is Redim?..

Answer / sandesh sawant

GetROProperty used for retriving any of the property value
of an object from application.

Gettoproperty is used to retrive all the properties and
their value of the object from which it is been identify.
EX.
Set col = Browser("Flight").Page("Flight").ActiveX
("Calendar").GetTOProperties()

Is This Answer Correct ?    3 Yes 1 No

1) What is the diff Between GetRoproprty and Gettoproperty? 2)What is Redim?..

Answer / mahaboob

Objects which are existing in the application under test is called runtime objects and retriving the object property values from the application under test is called as getro property.
objects which are existing in the object repository is called as test objects,Test objects are give the reference to the qtp in order to identify the runtime objects,retriving the object property values from the object repository is called as getto property.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

How you are developing the script? Using record and play back or manual?

0 Answers  


Can we use smart identification in Keyword Driven approach? If yes , How we can use. Please Explain?

1 Answers  


How do you script a nested loop in QTP? I am showing a snipet of my code. Any suggestions to help me get this to work would be great appreciated! STEP A - Customer Number: No loop - ISBN: Loop STEP B - Customer Number: Loop - ISBN: Nested Loop Here is the code I am using now. I am using i for the loop and j for the nested loop in STEP B of my script. =========================================== 'CREATE AN ADDITIONAL CUSTOMER Dim myNum, RowNum, RowCnt2, val2, total, i DataTable.ImportSheet "C:\QOE Data - UAT1.xls" ,"Data" ,"Global" RowCnt2 = DataTable.GetRowCount i = 1 DataTable.SetCurrentRow(i) ' Set row to one Do while Not i > RowCnt2 i=i+1 DataTable.SetNextRow MsgBox Datatable.Value("Customer_Num") Msgbox i Msgbox RowCnt2 If Not i > RowCnt2 then val2=datatable.Value("Customer_Num","Global") OracleFormWindow("Sales Order").SelectMenu "File->New" OracleFormWindow("Sales Order").OracleTabbedRegion("Order Information").OracleTextField("Customer Number").SetFocus OracleFormWindow("Sales Order").OracleTabbedRegion("Order Information").OracleTextField("Customer Number").Enter val2 End If 'CREATE SECOND ISBN LIST DataTable.ImportSheet "C:\QOE Data - UAT1.xls" ,"Data" ,"Global" Dim j, RowCnt3, val3 RowCnt3 = DataTable.GetRowCount For j = 1 To RowCnt3 DataTable.SetCurrentRow(i) ' datatable.getSheet("DataTable").setNextRow If Trim(DataTable("ISBN",dtGlobalSheet)) = "" Then j = j - 1 Exit For End If Next 'Define ISBN rows If RowCnt3 <> j Then RowCnt3 = j End If 'Loop through ISBN rows For j = 1 To RowCnt3 DataTable.SetCurrentRow(i) val3 = Datatable.Value("ISBN","Global") msgbox j If j = 1 Then OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item").SetFocus OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item").Enter val3 else If j < 16 Then OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_"&i).SetFocus OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_"&i).Enter val3 else If RowCnt1 => 16 Then OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_15").SetFocus OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_15").InvokeSoftkey "DOWN" OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_15").SetFocus OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_15").Enter val3 end if end if End If Next 'EXIT APP msgbox i loop Browser("Browser").Page("Oracle Applications 11i").Sync Browser("Browser").Close ========================================== It isn't working correctly in my nested loop in STEP B (for ISBN). Any ideas?? Thanks! SBsteve

0 Answers  


when u script reveiwing in which area u more concentrates?

0 Answers   IBM,


Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?

0 Answers  


Explain object spy in qtp.

0 Answers  


How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?

0 Answers   CTS, Nabard,


What is the purpose of loading qtp add-ins?

0 Answers  


Hi guys, Please suggest some thing these points are correct???, Is UFT 12 and QTP outdated ??? and also VBscript is also deleted/Removed from QTP ???? Javascript is added latest and tool name is called JFT ??? From this year ??

2 Answers  


How to count the no of objects in XML file(QTP)

1 Answers   IBM,


What is test object model in QTP ?

8 Answers  


What is the basic concept of quicktest professional?

0 Answers  


Categories