Forum Discussion

nbenitus's avatar
nbenitus
Contributor
14 years ago

How to know what is the current host

Hi,



I am doing distributed testing.



I am trying to determine what is the current host when I am running my job.



How do I do that?



Thanks in advance.



Benoit
  • The line I use is this:



    if Sys.HostName = NetworkSuite.Hosts.ItemByName("win7-gen-san") then



    When I run it, I get a Runtime error: Object not set.



    Any idea why?