![]() |
QTP does not recognise elements randomly - 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: QTP does not recognise elements randomly (/Thread-QTP-does-not-recognise-elements-randomly) |
QTP does not recognise elements randomly - Pkapoor - 07-04-2013 Hello , I have following code which i have created using record and play and minor tweaking : Code: JavaWindow("StorageManagement").JavaDialog("Add").JavaEdit("JTextArea").Set(fData) In this code my QTP code randomly stops recognizing elements in lines like: Code: JavaWindow("StorageManagement").JavaDialog("JDialog").Exist(30) Some times it fails, sometimes it pass , sometimes when i click on retry the step .. it goes ahead and pass. Plz advice , I am amused at this point in QTP RE: QTP does not recognise elements randomly - Ankur - 07-04-2013 As mentioned at the top, please ensure to put all your codes in code tags. To me this looks like a sync issue rather than object identification issue. RE: QTP does not recognise elements randomly - Pkapoor - 07-05-2013 How can i get rid of this issue ? What can be done to make this test case pass everytime? |