Micro Focus QTP (UFT) Forums
Input to Link - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Input to Link (/Thread-Input-to-Link)



Input to Link - topnil - 10-28-2009

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


RE: Input to Link - manabh - 10-28-2009

Hi,
What exactly you want? You are saying about Brow().Page().Frame().WebEdit().Set Datatable("Param1", dtLocalSheet) , or about setting it directly in OR?


RE: Input to Link - topnil - 10-28-2009

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


RE: Input to Link - venkatbatchu - 10-28-2009

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