Posts: 8
Threads: 5
Joined: Oct 2009
Reputation:
0
10-28-2009, 12:54 PM
Hi All ,
As i know QTP can give xl sheet inputs to properties like WebEdit , WebList ,
as same , i want to know how can we give xl sheet inputs to a Link property ?
Thanks
Posts: 61
Threads: 1
Joined: Jul 2009
Reputation:
0
10-28-2009, 01:27 PM
Hi,
What exactly you want? You are saying about Brow().Page().Frame().WebEdit().Set Datatable("Param1", dtLocalSheet) , or about setting it directly in OR?
Posts: 8
Threads: 5
Joined: Oct 2009
Reputation:
0
10-28-2009, 02:21 PM
Hi
i want like "Brow().Page().Frame().WebEdit().Set Datatable("Param1", dtLocalSheet)" situation , in my site i have 4 links like this
Link A
Link B
Link C
Link D
recoding time i recoded to Click 'Link A' , now i want to run that test 4 iterations to click all the links, what should i do ?
if i can give this link's names from input xl sheet it may works isn't it?
Thanks
Posts: 240
Threads: 38
Joined: Jun 2009
Reputation:
0
10-28-2009, 02:29 PM
Hi,
You can perform those actions by using child objects , follow as like this
1.First find the number of links (this you already given it is 4)
2.Using the child objects and your navigation (Browser(xx).page(xxx)....
3.Use the for loop with number of child objects (i.e, no of links) and perform the click
4.Finally your problem will sove