Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Making input data unique
#1
Not Solved
Hey guys,

Ive currently automated a siebel application. Everything is working ok, except for one issue. The system takes in data and stores that data. The problem occurs because the developers have created a "no duplicates" policy (cant create duplicate data in the system)....therefore my excel sheet that im reading my input data from needs to be updated everytime i run the scripts (to keep the input data unique each time)

To make the data unique each run ive looked at putting a timestamp appended to the end of each input variable, ie read in the value "brian" from the excel sheet, but append "17.45 100908" to the end of it making it "brian 17.45 100908". This solution i have implemented but i was hoping for a better solution.

Does anyone know if it would be possible to call a sequence file or something where i could call the value in the sequence file once everytime i ran the script...without that number resetting when the script stopped. ie first time i run the script, call the sequence file which returns number "1", so i append this number to all data that gets read into my script. the next day i want to run the script again and when i call the sequence file it returns a "2" which i then append to all the data being read into my script. this solution would be alot cleaner and better.

Any help on this matter would greatly be appreciated

Regards,
Brian
Reply


Messages In This Thread
Making input data unique - by Brian - 09-10-2008, 01:27 PM
RE: Making input data unique - by swarnavure - 09-16-2008, 02:34 PM
RE: Making input data unique - by tapandalal - 10-22-2008, 10:31 PM
RE: Making input data unique - by swarnavure - 10-03-2008, 05:05 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need to input Japanese Character through UFT Alaguraja 0 782 07-01-2020, 11:32 AM
Last Post: Alaguraja
  How to get input from the user in QTP? shanthiK 10 18,047 08-07-2017, 11:34 PM
Last Post: zunebuggy
  Web Object Unique ID Number zunebuggy 0 1,448 07-10-2017, 05:37 PM
Last Post: zunebuggy
Rolleyes QTP Unique Identification of object minug 11 12,271 02-26-2014, 12:39 PM
Last Post: supputuri
  Problem in Input from keyboard:sendkeys Rachna 1 4,770 10-14-2013, 06:07 PM
Last Post: anil2u

Forum Jump:


Users browsing this thread: 1 Guest(s)