简体   繁体   中英

Oracle Automated Testing Suit

I have a script written in OATs for automation.

The script fails at a new random line every time I run it. And every time it gives error as

object not found

It is basically not able to locate the xpath (though it is present). When I re-run the script (without any modification in the code), it passes through and if it fails again, it fails at a new location (different xpath). Does anyone has any idea what could possibly be wrong here?

Thanks.

This question is pretty old, but still try to answer my best might help someone

Script intermittently failing in your case though all the objects and property values are correct Reason is time variation of objects to load. You have to increase synctime inbetween bojects by using WaitForPageloaded(); method

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM