Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to capture/parameterize ID's created on the server side that QTP does not capture
#1
Not Solved
Hello,

Here is the scenario:

Recording of the script:

1. I create an object. Example: (Library).
2. Library on the server side has an artifactID. 12345.
3. Later on in the script i select a set of books from a list and ADD to the Library Object.

End Recording.

Issue:
Before the replaying the script (i am deleting the existing LIBRARY object so the script can create if for me. So the the scirpt create the LIBRARY object, now it has a new artifactID 99999.

When i proceed to the next step to add books to the library, the script is still pointing to add books to artifactID 12345.

Any ideas on how i can have the script to recognize and capture the new create object and its artifactid?

thanks in advance for your patience.
rd
Reply
#2
Not Solved
Sounds to me like the '12345' might be in the object respository. you will probably have to us DP to identify the new object or use regular expressions to set the object to be more "generic" and allow a change in the id.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to capture value of Webelement which is changing dynamically sheetal 9 16,352 02-16-2018, 11:01 AM
Last Post: janki_kakadia
  How To Capture Array Value into Excel Worksheet? Studymode 0 1,453 01-09-2018, 08:37 AM
Last Post: Studymode
  How to identify an error page occurring in server in between the qtp run. aswini 1 1,808 05-04-2017, 03:52 PM
Last Post: Ankur
Wink IE11 Crashes when User tires to capture an Object or Record a Screen in UFT 12.01 Baalaaji 1 2,930 06-11-2015, 06:41 PM
Last Post: venkatesh9032
  How to capture objects of Event Viewer ? Vishnu Narayan 1 2,666 06-11-2015, 06:29 PM
Last Post: venkatesh9032

Forum Jump:


Users browsing this thread: 1 Guest(s)