Objects not being found - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Objects not being found (/Thread-Objects-not-being-found) |
Objects not being found - newcross - 02-19-2008 Hi I am fairly new to QTP. When recording tests & including the objects in the repository, when running them together with other tests using conditional programming certain objects are not being found or have a description mismatch. for example these are the types of warnings I am receiving: "Newcross Nursing Bookings"- Description mismatch The object was not found using the test object description. Check the object's properties. or "grade"- Description mismatch The object was not found using the test object description. Check the object's properties. The thing is I have added these objects to the objects repositry & chosed the required object values, when running the seperate tests these warnings do not get flagged. Any ideas as to why this is happening? RE: Objects not being found - Ankur - 02-19-2008 Your question is not very clear. Detailing your question like the version of QTP, addins you are using, can you paste your script and the screen shot of your object repository? RE: Objects not being found - Xandel - 02-20-2008 Hi, I am new to QTP as well, but I've gotten thoes errors. I found that if you make the names of the objects from the repository the same as what the name says on the tree view ( just add a number to the end, if more that 1 object) you wont get that warning. For example, (my issue was with dropdown boxes) I had to make the name of my dropdown box object ddacdropDown, which is the name Quicktest picks up and renders from the web- not sure about that part- and calls that object. To distinguish it from others I would just put a number at the end of it. (ddacdropDown1) As long as I would use the name that Quicktest would call the object ( with the additon of a distinguishing number or charcter at the end) I didn't get an error. I hope this helps some. Thanks, Xandel |