Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Input to Link
#1
Solved: 11 Years, 4 Months, 4 Weeks ago
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
Reply
#2
Solved: 11 Years, 4 Months, 4 Weeks ago
Hi,
What exactly you want? You are saying about Brow().Page().Frame().WebEdit().Set Datatable("Param1", dtLocalSheet) , or about setting it directly in OR?
Reply
#3
Solved: 11 Years, 4 Months, 4 Weeks ago
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
Reply
#4
Solved: 11 Years, 4 Months, 4 Weeks ago
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Need to input Japanese Character through UFT Alaguraja 0 932 07-01-2020, 11:32 AM
Last Post: Alaguraja
  How to get input from the user in QTP? shanthiK 10 18,630 08-07-2017, 11:34 PM
Last Post: zunebuggy
  Problem in Input from keyboard:sendkeys Rachna 1 5,010 10-14-2013, 06:07 PM
Last Post: anil2u
  How to Pass Output value as input from one IE windoe to another IE window newqtp 0 2,423 01-24-2013, 08:36 AM
Last Post: newqtp
  HTML input element names flexdev 1 3,184 05-25-2012, 06:51 PM
Last Post: falvi

Forum Jump:


Users browsing this thread: 2 Guest(s)