Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
control on the environment
#1
Solved: 11 Years, 4 Months ago
Hi,
I'm a beginner in QTP.
I'm currently working on a web application which should be tested in differents environment before the production one (development, recette, homologation...).
The value of an particular object in one en. is different from others.

Is it possible to do the following control without using visual basic (because, I don't know VB)?
If the env. is developement
Then X = 'a'


I hope i'm clear enough.
Thank you for your help, in advance.
Reply
#2
Solved: 11 Years, 4 Months ago
It's MUST to have knowledge of VB Script. Though QTP offers keyword view for non programmers but I would say that's not an efficient way to write scripts.

Now to your question, yes this can be done easily.

Please refer QTP blog for VB Script using QTP.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Not able to get the list of items in Delphi Combobox Environment Object Raj Aryan Singh 3 2,295 02-04-2020, 12:32 AM
Last Post: Raj Aryan Singh
  how to get relative path by using testdir environment variable Sathyaprasad 1 1,951 11-30-2017, 02:21 AM
Last Post: supputuri
  environment variable path for qc automation2012 0 2,873 01-18-2015, 08:18 AM
Last Post: automation2012
  Select does not work together with Environment.Value qtped 7 4,062 02-14-2014, 12:46 PM
Last Post: supputuri
  Array as an environment variable..... rachna_nags 7 13,345 11-07-2013, 08:25 PM
Last Post: ssvali

Forum Jump:


Users browsing this thread: 1 Guest(s)