How you test the object which is dynamically changes its
location?
Answer Posted / 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 |
Post New Answer View All Answers
Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?
I am facing an issue of object identification with the dropdown element of DHTML grid. When I tried to recognize these different dropdown objects, QTP identifies only one object for all the dropdowns. Hence, selection of different data from different dropdowns list is an issue. To overcome this problem, i have used Descriptive Programming technique by creating different object descriptions which have all the other properties same but differ only in one property i.e. ‘X’ location of the element on the screen. Hence, i have created distinct object descriptions that would allow us to select values in different dropdowns. The code is given below. But still I am unable to identify distinct dropdown objects. ‘Object Description for Dropdown Cell Status Set objCellStatus = Description.Create objCellStatus("micclass").value = "WebList" objCellStatus("name").value = "select" objCellStatus("x").value = 219 ------ ‘X’ Axis value for cell status drop down ‘Object Description for Dropdown Sub Segment Set objSubSegment = Description.Create objSubSegment("micclass").value = "WebList" objSubSegment("name").value = "select" objSubSegment("x").value = "319" ------ ‘X’ Axis value for sub segment drop down Please help... This is specific to DTML grid(Drop down object)
What is the difference between keyword view and expert view?
Explain the concept of object repository and how quicktest professional (qtp) recognises objects?
Whats the realtime QTP testing process
What is QTP scenario.
How to delete an object from the object repository?
When ‘option explicit’ keyword is used in qtp?
How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.
Name the properties you would use for identifying a browser and page when using descriptive programming?
How can I change object description or check point values in qtp?
what function you write to do database testing with the help of qtp?
To retrive the test data which tool vl use and whats basis u vl write test data? its urgent
how to find that tools work well with ur existing system?
How do you convert manual test cases to automated test cases?