Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Changing automation setting on the fly
#1
Solved: 10 Years, 9 Months ago
Hi,
I want to run a windows application qtp script and get results in a datasheet and then in the same scipt start up a browser and get results and compare them.
I have 2 separate scripts currently which I run one after the other and have to go to Automation->Record and Run Settings and choose the correct setting.
Does anyone know if this can be achieved in a single script?
Let me know soon. thanks.
Reply
#2
Solved: 10 Years, 9 Months ago
why not ? Try,

SystemUtil.Run "Iexplore.exe", urlpath
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply
#3
Solved: 10 Years, 9 Months ago
Thanks, that works when i run the test from QTP. But when I tried it from Quality Center it ran the window application test, but flex script failed. I found out that it had disabled the activex and flex plugin while running the windows test.
When i run it as 2 separate tests one after the other in QC, it runs fine.
is there a way to enable plugins on the fly? I guess, that is asking for too much Smile...
Reply
#4
Solved: 10 Years, 9 Months ago
Pranjal -
Please open a new thread for any new issues.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Page element keep changing chong67 4 4,271 11-08-2016, 09:17 PM
Last Post: Paul Rammone
  How to write a script for fly out menus (Parent - Child - Sub Child) rajkumarsm 3 4,443 09-02-2014, 10:01 AM
Last Post: vinod123
  Setting value in a WinObject Ansh123 0 4,173 03-20-2014, 09:44 PM
Last Post: Ansh123
  Setting values in Tabstrip TonyBarker 0 1,750 01-25-2013, 03:32 PM
Last Post: TonyBarker
  Changing QTP Class praveendasika 1 2,798 07-13-2012, 07:35 AM
Last Post: ravi.gajul

Forum Jump:


Users browsing this thread: 1 Guest(s)