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

we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?

1748


what is the diff between manual test plan document and automation test plan doc.can u explain indetail.

1731


What are the Test design techniques you uses in ur project?

1576


What is fragmentation and paging?

1672


What are the different recording modes?

644






With what extension you can save the list of tests in a file to run in test batch runner?

654


How many types of recording modes are there?

672


What contains Data Driven Framework document in qtp?

1543


Explain the benefits of quick test pro(qtp)?

649


Hi, I am using 2 excel sheet.First excel sheet works fine with the script, if it opens the 2nd excel sheet,it works fine,but after finish all the rows it is giving the following error in the following line. InValid Procedure call or argument Line (178): "Browser("name:="&result,"application version:=internet explorer 7").Page ("title:=bgt.*", "index:=0").WebList ("name:=SearchType","html id:=Select1","location:=0").Select SearchType1". I have seen a web article says that,If we use any vbscript friendly name it may gives the above error-Invalid procedure call or argument not sure,Am I using any VBScript frienlyName? in the above line? [but the same line is perfecly working for first Excel ] It is little urgent. Any Help Thanks you

1577


Explain types of output values?

647


regular expression in qtp standar check point for months from accepting months from january to december only

1570


Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)

1720


What are the general steps involved in the data driven framework?

637


What is QTP and the use of QTP in TD?

693