Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change of Enviroment
#2
Solved: 10 Years, 9 Months, 3 Weeks ago
Code:
Dim env
env=environment("OS")
msgbox env
If env="Microsofr Windows XP workstation" Then
{Your script here}
else
{Mention other condition}
End If

The condition maybe OS,User name,configuration etc.
Reply


Messages In This Thread
Change of Enviroment - by NancyNancy - 02-05-2011, 09:52 PM
RE: Change of Enviroment - by ksrikanth2k9 - 02-10-2011, 12:34 PM
RE: Change of Enviroment - by supputuri - 02-11-2011, 08:34 AM
RE: Change of Enviroment - by jsknight1969 - 02-16-2011, 12:59 AM
RE: Change of Enviroment - by tdevick - 02-17-2011, 10:01 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How do you Change Run mode mid script? Caleytown 6 6,565 03-25-2021, 08:27 AM
Last Post: RB26578
  [UFT] Change property of object (WpfButton) robertosalemi 2 2,503 11-22-2016, 12:43 PM
Last Post: Ankur
  Dynamic change of name for Webtables prakashreddy 1 2,285 10-25-2014, 09:53 PM
Last Post: supputuri
  How can I change my test folders, globally? atester 0 1,889 10-03-2014, 04:37 PM
Last Post: atester
  JavaDialog change every time i run my test Pkapoor 3 2,788 06-28-2013, 09:27 PM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 1 Guest(s)