Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to create the QTP Scripts as Platform independent?
#1
Solved: 10 Years, 9 Months ago
Hi,
I have 2 different platform that is filled with various service... b1 and b2.
b1 has-QA,Staging and production
b2 has-Staging and Production
I alrady created .vbs file and QTPScript for b2 and it is working fine with Staging and production environment.Now I asked to change my scripts as platform indepentent.[I need to make sure that it is working for b1 and b2 environment -b1 and b2 both are using Windows XP]
The b1 and b2 Staging and production environment properties are same
for ex
Code:
b1 Staging-browser("name:=Staging...).Page(title:=Staging...).Link("innerhtml")
b2 Staging-browser("name:=Staging...).Page(title:=Staging...).Link("innerhtml")

How can I set the differnt property value or How can I make the Platform Indepentant Script?
Any Help?
Thank you
Uma
Reply
#2
Solved: 10 Years, 9 Months ago
Problem solved by getting the platformname as a inputvalue and according to the input value QTP is selecting the links..
More ideas are welcome.

Thank you.
Uma
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  cannot create java virtual machine on QTP 12.02 version richa5685 0 1,852 02-23-2016, 11:18 AM
Last Post: richa5685
  QTP 11 - CreateFolder fails to create folder in shared network drive from Windows 7 Pallavi 3 3,399 02-25-2014, 02:04 PM
Last Post: guin.anirban
  Need Excel template for mapping manual scripts to Automation scripts. ACCBAJPA 0 2,833 09-19-2013, 03:02 PM
Last Post: ACCBAJPA
  How to create a script in QTP to get all the processes in a system NeemaNamia 5 4,340 01-08-2013, 05:25 PM
Last Post: Rashmi Vishwanath
  create drop Down list or menu in qtp abansal 0 2,995 09-07-2012, 05:31 PM
Last Post: abansal

Forum Jump:


Users browsing this thread: 1 Guest(s)