2016-11-03 1 views
1

OracleのOpenScriptで作成した自動テストであるOracleのTest Managerで実行しようとしています。"Object Timeout Find"エラー(Oracle)を含むTest ManaggerでOpenScriptのテストが成功しない

OpenScript test execution


私はテストマネージャーで同じテストを実行すると、私はFind Object timeoutを取得する:あなたは以下を参照することができますようOpenScriptで

私のスクリプトが正常に実行されます。あなたは、エラーの下に見ることができます。このためERORの

Test Manager test execution


は、私は私のOpenScriptテストケースに以下のイベントを追加し、テストマネージャから再びそれを実行しようとしています。エラーは継続します。唯一の変化は、私はこのエラーが出るのはなぜタイムアウトまでの時間が300

 web.image(
      99, 
      "/web:window[@index='0' or @title='Checkout | Test Store']/web:document[@index='0']/web:img[@index='4' or @src='http://duckshop.scl.intra/duckshop/cache/6e12ca9108aae3731f906138977ccac52f2a38b5320x320_fwb.png']") 
      .waitFor(300); 
    { 
     think(3.056); 
    } 

に増加したことがありますか?我々はOTM(Oracleのテストマネージャー)からスクリプトを実行


UPDATE: As I have discovered only the first time the test is passed. I tried to use command line option while executing the test such as that no cookies will be stored or cache, but still I can't solve my problem.

答えて

0

。 WaitFor()とThink()のほとんどのケースはサーバーレベルでは機能しません。

代替使用

WaitForPageLoaded() 
wait(5) 
delay() 
web.image("/web:window[@index='0' or @title='Checkout | Test Store']/web:document[@index='0']/web:img[@index='4']") 
     .waitForPageLoaded(); 
関連する問題