cancel
Showing results for 
Search instead for 
Did you mean: 

web test, radom "the object does not exist"

SOLVED
lansanniu
Occasional Contributor

web test, radom "the object does not exist"

web page test, JAVA developement.



press a button to pop-up a window. when I playback ,



sometimes   "the object does not exist" will throw in this step,



but when I try it again once or more,  it will pass. or  I close the window and open it



again manually ,then  highlight  it, it can be found. 



there is not any problem in NameMapping,  the pop-up window was defined currectly.



so what's the problem???  



 please help~~~~~~~~~~~~~~~~
1 ACCEPTED SOLUTION

Accepted Solutions
murugans1011
Regular Contributor

RE: web test, radom "the object does not exist"

sometimes the tested apps object idetification properties change frequent. So tc cannot identify the specified object. try 'Find' method to search for the specified object

View solution in original post

4 REPLIES 4
murugans1011
Regular Contributor

RE: web test, radom "the object does not exist"

sometimes the tested apps object idetification properties change frequent. So tc cannot identify the specified object. try 'Find' method to search for the specified object

View solution in original post

lansanniu
Occasional Contributor

RE: web test, radom "the object does not exist"

I've found the reason, it is a bug of  the window ,some operation  can  make the window



out  of  focus,so that TC  can not find  the  window .



If I click  any  part  of  the  window  manually , make  it  in  a  focused  status , TC  can  



playback  correctly  .





 thanks all the same ,Murugan S
tristaanogre
Community Hero

RE: web test, radom "the object does not exist"

So, in other words, your automated tests did EXACTLY what they were supposed to, find bugs. 🙂

Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
murugans1011
Regular Contributor

RE: web test, radom "the object does not exist"

So use 'setfocus' method to focus on the window automatically
New Here?
Join us and watch the welcome video:
Top Kudoed Authors