New answers tagged qtp
Tests that sometimes fail are usually an indication that the tests used can't handle the inherent instability of your system. You would either need to make the tests react to changes in the system, or you'd need to introduce wait times that would make the test more failsafe. You could also loop certain parts of your test X times before they fail. Either use ...
The solution is to remove parameters that are changed in Test Object Details and add description properties that will describe your object well enough to distinguish from others. In my case I removed title property (it was changing) and added: toolkit class to_description path class_path
The solution was trivial, tab is selected by its name with a function Select: JavaWindow("java window name").JavaTab("JTabbedPane name").Select "Tab Name"
Top 50 recent answers are included