Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Transfer of unique data from one script to another
#2
Not Solved
Sure, all what you have described above can be achieved.

Run time Capture - If you intend to use the id no in the same run session you can go for Environment variables/OutPut Values/ or simply capture it into the run time data table.
If you intend to use the id no generated in one session into another run session then you may go for capturing the value into a txt file. The txt file creation, opening, reading, writing can all be achieved by FSO (FileSystemObject Model)

is it possible to dynamically find a URL in a page containing the above ID and then click it - Yes. Use child objects and using a looping structure, try to find the required value using instr function. Once found you can click on it.

is it possible to always select the last link displayed in a table on the web page? -
Find the no of rows in the webtable at run time using object.RowCount
Using ChildItems method, click on the required link

Hope it helps!
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Messages In This Thread
RE: Transfer of unique data from one script to another - by Ankur - 11-27-2009, 07:31 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Web Object Unique ID Number zunebuggy 0 1,560 07-10-2017, 05:37 PM
Last Post: zunebuggy
  On Saving Script in QTP 11 my Global Data Sheet data is removed M Adnan Iftikhar 0 2,177 06-02-2015, 09:19 PM
Last Post: M Adnan Iftikhar
Rolleyes QTP Unique Identification of object minug 11 12,940 02-26-2014, 12:39 PM
Last Post: supputuri
  getting data from global data sheet and using it in the same script jbelkin@gmail.com 1 16,002 07-31-2012, 11:59 AM
Last Post: Ankesh
  Data Table Cells Locked in QTP 11 when script is saved to QC anil2u 1 3,393 05-18-2012, 06:25 PM
Last Post: Shridevi.Salagare

Forum Jump:


Users browsing this thread: 3 Guest(s)