ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
How you test the object which is dynamically changes its
location?
 Question Submitted By :: Rajaputra Arunsingh
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How you test the object which is dynamically changes its location?
Answer
# 1
By using descriptive programming, we can can handle dynamic 
objects.

i am not sure,correct it if wrong
 
Is This Answer Correct ?    1 Yes 1 No
Shiva
 
  Re: How you test the object which is dynamically changes its location?
Answer
# 2
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 ?    0 Yes 1 No
Nataraj
 
 
 
  Re: How you test the object which is dynamically changes its location?
Answer
# 3
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 ?    2 Yes 0 No
Chivukula.kumar
 
  Re: How you test the object which is dynamically changes its location?
Answer
# 4
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 1 No
Purni
 
  Re: How you test the object which is dynamically changes its location?
Answer
# 5
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 1 No
Venkateshwarlu
 
  Re: How you test the object which is dynamically changes its location?
Answer
# 6
Using regular expression
 
Is This Answer Correct ?    0 Yes 3 No
Prashi
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
Explain about reusable actions?  2
Explain QTP Testing process ? TCS6
How to create a Runtime property for an object in QTP?  4
What is iteration? How it is related to Test Results in QTP?  2
diff between dim & redim ? in detailed? pls any one explain me?  1
what is mercury.clipboard in qtp.where we can get this in qtp tool i.e tabs  1
can u put checpoints for moving images Accenture2
what are the different types of framesworks in QTP?what is the keyword driven framework? Mindlance1
How can you connect the database with QTP?  2
When I start recording any web application (either Mozilla or IE) QTP recognizes window instead of browser and also it does not show all the hierarchy tree of that particular web page. 1. Window("Mozilla Firefox").Check CheckPoint("Mozilla Firefox") 2. As everybody knows it should be browser("Mozilla Firefox").Check CheckPoint("Mozilla Firefox") I am using the windows vista, do you think it may be a problem of my settings in QTP or problem of my installation. Your kind responses will be appreciated. Thanks in advance. Satya  7
using descriptive programming how to close all opend browsers? Satyam4
hi all, I have installed QTP successfully on windows vista. I am able to record and run on windows applications, but facing problem with web applications. While recording, I am able to open the web application, but when I click on any object or give login name and password, the events are not getting recorded in QTP. Could anyone solve the problem. Any settings to be done for web applications other than selecting web-addin? Waiting for replies. Thanks in advance.  2
If u don't have any Knowledge on perticular application but they give that application to u for Testing ? Then How we wil move towards testing on that application? HP16
How can I replace all the text from the QTP script with some other text. Livetek1
how will we run batch tests in qtp what is the process to run the multiple test sets?  3
Where can i get the QTP tutorials. I wanna move to automation testing. Is there any book or URL, where i can find the source to read...  1
what is the difference between link and hyperlink? Infosys4
Hi all im having a pop up validation browser which is 20 in number, i want to close those similar pop browsers one after the other, is there any specific code for that? i tried by giving creation time & putting in a loop but it dint work? valid working answers will be greatly appreciated McAfee2
What is the difference between CVS and VSS? Are you store QTP SCRIPT In VSS OR CVS? Where you store QTP Script? Ordain-Solutions1
What are the Automation Limitations??  1
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com