Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Updating Existing Script When App Changes
#1
Not Solved
I'm new to QTP, but have worked with Winrunner for years, so I'll explain an issue and how I handled it with Winrunner:

I would build a winrunner script and, when the app it was testing would change, I would have to update the winrunner script. Sometimes I would be unaware of the change until the winrunner script happened to fail when processing an updated object or window.

Simple enough. From the error, record the newly desired update, comment out any unnecessary code, AND SET THE WINRUNNER INSTRUCTION POINTER TO THE APPROPRIATE LINE OF CODE TO RESUME EXECUTION.

Working with QTP, I don't see how I might start recording from the middle of a script to build the new code, nor do I see how to change my instruction pointer during execution. How do I do these things? Surely we don't have to start recording a new script from the beginning when we encounter a change.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  UFT unable to identify Java app objects consistently lester 1 2,067 07-12-2018, 08:28 PM
Last Post: Ankur
  Updating Shared repository vinod_3466 3 4,552 06-29-2016, 02:16 PM
Last Post: Ankesh
  qtp script for updating values in xml file automation2012 3 11,567 11-30-2015, 11:07 AM
Last Post: Lavanya N
  How to automate android app Naresh 2 2,983 06-11-2015, 06:37 PM
Last Post: venkatesh9032
  Updating the web table Ananth1982 0 1,918 03-04-2015, 02:31 AM
Last Post: Ananth1982

Forum Jump:


Users browsing this thread: 1 Guest(s)