Forum Discussion

Neda_Sayan's avatar
Neda_Sayan
New Contributor
12 years ago

Loading a web page....??? TC 8.7

Hello,
I am trying to load yahoo page using ie, but it doean't happen. I took the script from
TC help / references.

var ieObj = Sys.Process("iexplore");

var ypg = ieObj.ToUrl("http://www.yahoo.com/");

nothing happens. When I inspect the ypg in debug, the propery "Exists" is False.
also when I run it, The TC says "Waiting for Page("*")....

how can I get the "yahoo" page to launch....sounded simple but it is not ...

any help is appreciated.

thanks
Neda

2 Replies

  • AlexKaras's avatar
    AlexKaras
    Icon for Champion Level 2 rankChampion Level 2
    Hi Eric,



    This is strange - the same code (converted to DelphiScript) works fine for me with TC9.3.

    Do you have IE running before the test code is started? (Sys.Process() does not launch the program if it is not running.)

    Do you have TC Standard or Enterprise? For the latter - do you have Web Testing extension (File|Install Extension...) installed and enabled?