![]() |
Web Elements DL - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: Web Elements DL (/Thread-Web-Elements-DL) |
Web Elements DL - karraaruna - 06-04-2013 Hi, My application is a web based and have multiple pages with multiple web elements with the same properties. like "Save", "Add", "Retrieve" web element on every page with same properties. when added the object it is not showing any index or location property always to none I tried with x and y abs_x and abs_y still not identifying and getting an error message there are multiple objects with same properties. How can I get unique property for each web element. Please advise. thanks very much in advance. please help. RE: Web Elements DL - basanth27 - 06-05-2013 How about descriptively scripting an index for those objects? Does that identify? When you add the objects does QTP add all the objects? I mean there should be a logical description if it is adding all of them. Try to highlight the object from the Repository and check if that works? If the above does not work, try to record and see how the objects are being added and replayed. RE: Web Elements DL - venugqtp - 06-05-2013 Hope you need to identify with the text, Add the name as value property and index as 0 and try. Example if you want to add "Save" button element then in object repository "Innertext" should be "Save" and "index" should be "0" Note: Hope you checked with object identification configuration. tools - > Object Identification RE: Web Elements DL - vinod123 - 06-06-2013 Use object spy to display the properties of the object note down all the properties and try to find out the difference in the object properties. There should at least one property difference between the objects |