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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?

1686


i have a doubt can anyone tell me where are scripts stored while using QTP.Tell me the exact procedure takes place in real time?like how we call scripts how to proceed after writing scripts?how scripts are executed etc?i heard some use Qc whether others dont use.so tell me whole procedure for both the things it will be a very big help.as i have interview i want to have whole idea on this.its very urgent.

1624


What is active screen?

738


What is qtp window?

761


what are the mandatory properties for a tex boxc (scenario?)

1742


If created one virtual object? Next time I changed the window position will it work?

788


Hi I have exp in manual testing and planning to move in automation testing qtp(9.2).So can help me how to automate customer relationship management tool using qtp and vb script this tool already developed so how can I test it whatever maintaining by development team like documents,various options just give the whole life cycle thanks in advance

1735


i can done the project with QTP in that time i can say how many members in my team size?

1607


Can you write a script to check if the folder exists or not?

712


Explain in brief about the quicktest professional (qtp) automation object model?

762


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?

747


How will you find the current time of the remote machine using QTP script?

804


Without integrating QC/Testdirector with QTP, is it possible to keep track of the defects?If yes how? How to export QTP results to an excel sheet?

1696


Diff b/w Health care domain and Banking Domain?

4404


What are the different attribute used with regular expression?

709