Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to use same script for multiple URLs
#21
Solved: 11 Years, 3 Months, 4 Weeks ago
PLEASE SEE ATTACHMENT. I THINK THAT'S THE PROBLEM. PLEASE CONFIRM ONCE PROBLEM SOLVED SO THERE USER CAN USER CAN UNDERSTAND EASILY.

Code:
DataTable.Import("C:\nis.xls")

For i =1 to DataTable.GetSheetCount
DataTable.SetCurrentRow i

Print DataTable("Username",dtGlobalSheet)
Print DataTable("password",dtGlobalSheet)

Print"id"& DataTable.Value("Username")
Print DataTable.Value("password")

Next


Above code is working and tested. please see


Attached Files Image(s)
   
Reply


Messages In This Thread
RE: How to use same script for multiple URLs - by QTPScript - 08-30-2012, 10:43 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to run same script for different URLs when loading time is different mansis 5 4,980 09-21-2012, 12:42 PM
Last Post: mansis
  Multiple users executing QTP script using Excel Input vinodindia 0 3,216 07-05-2012, 11:41 PM
Last Post: vinodindia
  Switching between URLs sqadri 1 2,742 02-01-2012, 07:36 AM
Last Post: rajpes
  Multiple input values from a reusable action call from main script knightofdawn 0 3,342 08-30-2010, 01:23 PM
Last Post: knightofdawn
Exclamation How to access multiple SAP sessions by script? Osprey 1 7,906 06-24-2010, 04:11 PM
Last Post: Osprey

Forum Jump:


Users browsing this thread: 1 Guest(s)