2016-05-08 8 views

答えて

0

PageオブジェクトのURLプロパティを使用できます。スクリプトのサンプルと一緒にこのプロパティの情報は、この文書に記載されています。 URL Property (Page Objects)

0

それはタブ/ウィンドウに開かれていない場合、これは正常に動作する必要があります:

function PageSample() 
{ 

    Browsers.Item(btIExplorer).Run("http://smartbear.com/"); 

    // Obtains the browser process 
    var browser = Sys.Browser("iexplore"); 
    // Obtains the page currently opened in Internet Explorer 
    var page = browser.Page("*"); 
    // Use the page object property and add a checkpoint to validate 

    … 

} 
関連する問題