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...


How you test the object which is dynamically changes its
location?

Answers were Sorted based on User's Feedback



How you test the object which is dynamically changes its location?..

Answer / shiva

By using descriptive programming, we can can handle dynamic
objects.

i am not sure,correct it if wrong

Is This Answer Correct ?    4 Yes 2 No

How you test the object which is dynamically changes its location?..

Answer / chivukula.kumar

Hi Shiv,

your correct.

when object properties and object implementation is
dynamicaly changing then we are using DP

for example object(text box) location is changed
dynamically, then we can findout with the help object
properties like (index or creationof time or name etc....)

when that object having the unique name the following code
is applicable

Set obj = description.create()
obj("name").value = "xxx"

Browser("browsername").page("pagename").Webedit
(obj).set"xxx"
Or
Set obj = description.create()
obj("index").value = "x"

Browser("browsername").page("pagename").Webedit
(obj).set"xxx"

Is This Answer Correct ?    4 Yes 2 No

How you test the object which is dynamically changes its location?..

Answer / kalyan

QTP use to identify the objects using physical properties (name, text, innertext, etc) of an object.
Even though, If object changes the location it won't be a problem for QTP to identify that object.
If you use the x,y co-ordinates or Ordinal identifier(Location), QTP will not identify the object, if object location get changes frequently.

Regards,
Kalyan,
Team Lead
ITC Infotech.
Any queries, catch me at mskalyan.smile@gmail.com

Is This Answer Correct ?    2 Yes 0 No

How you test the object which is dynamically changes its location?..

Answer / nataraj

Hi, I also faced this problem in my application. For this
problem to be rectified, u should go to "Tools->Object
Identification" and add "name" as assistive/mandatory
property. The name property will not be displayed by
default. i.e the reason we should add the name property.
You can get the value of the name property
through "GetROProperty". One constraint is that if the
object is already added then if the above mentioned step is
followed then the object will be identified as a new
object. So you should do this while adding the objects at
first.

Is This Answer Correct ?    1 Yes 1 No

How you test the object which is dynamically changes its location?..

Answer / venkateshwarlu

hi purni

its not good always to enable smart identification
mechanism at the time of recording the test because the
performance of tool get decreased as it is to capture all
properties.

i am confident that shiva, kumar given good answers.

thanx

Is This Answer Correct ?    1 Yes 2 No

How you test the object which is dynamically changes its location?..

Answer / purni

Dynamic objects change there property during the run time,
so QTP fails to recognise the object. In this case we have
to enable the smart identification. This will assign a
object with an assistive property which can be recognised
by the QTP. So it's always recommended to enable the smart
identification before the recording test.

Is This Answer Correct ?    0 Yes 3 No

How you test the object which is dynamically changes its location?..

Answer / prashi

Using regular expression

Is This Answer Correct ?    1 Yes 5 No

Post New Answer

More QTP Interview Questions

what is On Error Resume Next ?

4 Answers   Accenture,


i want to handle all the unwanted pop up through QTP i done that with recovery scenario but it need some title of pop up but i want that it should handle all the pop up even i don't give the title of that pop up in recovery scenario is there any general way to handle all the pop up please help

3 Answers  


What are objects? how do you select the unknow object?

3 Answers  


how to load the *.vbs (or) test generating script in a new machine?

3 Answers   Ordain Solutions,


What is a Patch in QTP?

0 Answers  


Greetings friends , Hope all of you are doing well. When I run a test, is it possible for me to for me to take each row from the data table , once at a time. In other words,if i have 10 rows in the global data table, say data1,data2, data 3...and so on up to data10. Can I have the value of data1 when I run a test, and next time when I run the same test (say next day), it should skip data1 as it has already used it and go directly to data 2 ??? Would be great if anybody can help me out know in this issue. Thanks & Regards !!

4 Answers   CTS,


How to record right click of a context menu and click on the selection ?

3 Answers  


How can we use the "CreateObject ("Scripting.FileSystemObject")" in QTP and what is the definition and purpose of it?

2 Answers  


I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.

0 Answers   Adea Solutions,


In web page there is five OK buttons available, while recording i click on 3rd OK button, How QTP identify the 3rd OK button while running script? Is qtp identify 3rd ok button?

14 Answers   Polaris,


In project module it contains 3-ok buttons with same properties who qtp identify its objects while runing ??

5 Answers   HCL,


anyone can explain the following concepts. 1.diff b/w Linear and modular framework 2.diff b/w keyword and hybrid framework

1 Answers  


Categories