Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Incrementing
#1
Not Solved
I need help with incrementing shipment number every time I run script.
Shipment number must be 32 characters exact. Can someone suggest what would work in my case? Thanks.
____________________________________________________________
Code:
Browser("Clinical LIMS v1.4").Page("Shipment List").WebButton("New Shipment").Click
for pr0_u_airbillnumber = JB00000000000000000000000000000010 to JB111111111111111111111111111110 step 1 'old shipment number
Browser("Clinical LIMS v1.4").Page("Add Shipment_2").Frame("maint_iframe").WebEdit("pr0_u_airbillnumber")Set pr0_u_airbillnumber
Browser("Clinical LIMS v1.4").Page("Add Shipment_2").Frame("maint_iframe").WebEdit("pr0_u_airbillnumber").Click
Browser("Clinical LIMS v1.4").Page("Add Shipment_2").WebButton("Save").Click
Browser("Clinical LIMS v1.4").Page("Edit Shipment SH000000000601").Frame("maint_iframe").WebButton("Add").Click
Browser("Clinical LIMS v1.4").Page("Edit Shipment SH000000000601").Frame("maint_iframe").WebEdit("WebEdit").Click
Browser("Clinical LIMS v1.4").Page("Edit Shipment SH000000000601").Frame("maint_iframe").WebEdit("WebEdit").Set DataTable("TRID", dtGlobalSheet)
Browser("Clinical LIMS v1.4").Page("Edit Shipment SH000000000601").WebButton("Save").Click
Reply


Messages In This Thread
Incrementing - by jbelkin@gmail.com - 09-20-2011, 10:03 PM
RE: Incrementing - by payal - 09-22-2011, 11:59 AM
RE: Incrementing - by susangeet02 - 09-30-2011, 12:48 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Frames Auto-Incrementing In The Repository zunebuggy 0 1,206 11-15-2017, 10:18 PM
Last Post: zunebuggy
  incrementing a value during runtime jlane 1 2,225 06-08-2010, 08:08 PM
Last Post: Jackomcnabb

Forum Jump:


Users browsing this thread: 1 Guest(s)