Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Launch multiple links via Excel by exec QTP
#1
Solved: 10 Years, 9 Months, 2 Weeks ago
Hi All,

I am new to this forum and so far I enjoy it.
Thanks for sharing all great info in this forum.

I have a question and struggling with a scenario that need your help.
I have an Excel spreadsheet with multiple links in multiple rows.
I want to launch those link by using QTP to open link in a browser, copy the data and write it back to excel spreadsheet.

Setup Excel spreadsheet:
CAR Price
1 link#1 $1.00
2 link#2 $0.00
3 link#3 $10.00
4 link#4 $2.00

Steps:
1) Open QTP
2) Run QTP script
3) QTP_Script open Excel spreadsheet locate in C:/Temp/Test.xls
4) QTP_Script locate a hyperlink in row1/col1 and mouse_click
5) A browser should open and display data table
6) QTP_Script locate a value from data table
7) Copy value
8) Paste the value to excel spreadsheet row1/col2
9) QTP_Script continue run till the last row in excel spreadsheet.
10) QTP_Script stop and exit.

Hope y'all can help me with this case on how to record or write a vbscript.

Thanks for your helps.
Reply


Messages In This Thread
Launch multiple links via Excel by exec QTP - by wbsn2000@yahoo.com - 08-21-2009, 09:36 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Import multiple values from excel into QTP Shaik Ahmed 2 3,264 03-09-2014, 09:17 PM
Last Post: Shaik Ahmed
  "qtp.launch" throwing "class not registered" error auto_tester 0 3,031 08-13-2013, 10:52 PM
Last Post: auto_tester
  Installing QTP -Freeware on Multiple Machine sangi 1 2,653 06-11-2013, 06:13 PM
Last Post: Ankur
  How to make multiple dependent list in excel? pradeep singh 1 2,186 09-20-2012, 10:57 AM
Last Post: sshukla12
  Remote QTP launch tester_rahul 3 10,174 07-26-2012, 12:19 PM
Last Post: supputuri

Forum Jump:


Users browsing this thread: 1 Guest(s)